[CONTROLLER-597] New netconf plugin configuration only supports n or n-1 devices where max-thread-count set to n. Created: 03/Jul/14  Updated: 25/Jul/23  Resolved: 18/Jul/14

Status: Resolved
Project: controller
Component/s: netconf
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Giles Heron Assignee: Maros Marsalek
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Mac OS
Platform: PC


Attachments: Zip Archive opendaylight-inventory_nodes.xml.zip    
External issue ID: 1291

 Description   

the new netconf plugin configuration in 01-netconf.xml only support n or n-1 devices where the max-thread-count is set to n.

with a 16 node setup, and the default max-thread-count of 4, only 3 or 4 nodes are mounted correctly in /restconf/operational/opendaylight-inventory:nodes (it seems to be variable as to how many - I was getting 3 yesterday and am seeing 4 today). However 5 are connected to using NETCONF and the additional node(s) appear in the inventory but with no attributes at all.

If I increase the max-thread-count to 16 then one of the nodes fails to mount correctly, but if I increase it to 17 or more then all nodes are mounted correctly.



 Comments   
Comment by Giles Heron [ 03/Jul/14 ]

Attachment opendaylight-inventory_nodes.xml.zip has been added with description: restconf node inventory

Comment by Maros Marsalek [ 16/Jul/14 ]

https://git.opendaylight.org/gerrit/#/c/9049/

The executor now works as expected for netconf-connector, tested 3 devices with only 1 thread in executor.

All devices were initiated correctly one at a time.

Now when using multiple devices with same schemas and setting max-thread-count of the executor to 1, the schemas will be downloaded only once(by the first scheduled device) and reused by all other devices.

Generated at Wed Feb 07 19:53:25 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.