CESNET / netopeer2

NETCONF toolset
BSD 3-Clause "New" or "Revised" License
299 stars 188 forks source link

Managing different netconf servers(devices) with different yang versions from a single netconf controller(like management system) #1370

Closed som-1981 closed 1 year ago

som-1981 commented 1 year ago

We have a use case for supporting multiple netconf servers(devices) from a single netconf controller (like management system). Currently it looks like the controller loads the same yang version for all the netconf servers which it manages. Let's say there is netconf controller A which wants to manage devices (netconf server) D1, D2 and D3. But the yang version supported by these devices are different.

Just wanted to know your thoughts on this.

michalvasko commented 1 year ago

The network controller acts as a NETCONF client and nothing prevents you from having 3 NETCONF sessions, one to each server, with a different YANG context (set of modules), even libnetconf2 should support such an architecture. I am just not sure what would you want to do then, it would be a challenge to somehow manage several devices together that do not use the same YANG modules but that is a problem for you to solve.

som-1981 commented 1 year ago

Thanks for the input.