cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
259
Views
0
Helpful
2
Replies

resource-manager - java warn reload packages - ("idalloc","id-pool")

ben_piret
Level 1
Level 1

Hi all,

I am running NSO 6.1 and resource-manager 4.2.4

I have a warning message in the java.log when I reload the packages :

<WARN> 15-Jul-2024::09:52:39.613 NavuContainer (resource-manager:Reactive fastmap id allocation)-init-35: - The node 'resource-pools' contains augumented children, i.e. nodes from other namespaces.
The child node 'idalloc:id-pool' is for the moment unique,
but it is a strong recommendation to use the method list("idalloc","id-pool")
to avoid future conflicts if new yang modules are augumented to the same node.

I guess that it comes from my python code :

INTERFACE_LIST_RESOURCE_MANAGER = [x.id for x in root.ralloc__resource_pools.idalloc__id_pool[pe_device_name].allocation]
 
Could you help me identifying the correct syntax to be future proof as recommended ?
 
Kind regards.
 
Benoit
1 Accepted Solution

Accepted Solutions

snovello
Cisco Employee
Cisco Employee
Hi,
this warning is caused by java code within the resource manager package. The code you shared is fine.

As long as you don't augment the resource manager models with nodes that have the same names as the names being used by the resource manager package itself you are safe.

Stefano

View solution in original post

2 Replies 2

snovello
Cisco Employee
Cisco Employee
Hi,
this warning is caused by java code within the resource manager package. The code you shared is fine.

As long as you don't augment the resource manager models with nodes that have the same names as the names being used by the resource manager package itself you are safe.

Stefano

ben_piret
Level 1
Level 1

ok thx - I will ignore these warnings then.

Benoit