05-06-2022 01:18 PM
I'm looking at CLI Neds and it seems to me that NSO doesn't use Ned to receive events/alarms. Is Ned only used to send requests to the managed devices? If so, does NSO create multiple sessions for events and alarms?
05-06-2022 02:00 PM
Hey,
NEDs will mostly be on demand configuration manipulators. That being said, NEDs do read some operational data from devices that is needed to manipulate config (commit timestamps, platform information etc.).
Some CLI neds do allow issuing any kind of commands towards the device, like show routing table and such oper data. But that is on demand again.
By default NSO will not monitor devices through NEDs, apart perhaps (SSH) reachability. NSO can subscribe to NETCONF notification streams though.
05-06-2022 02:28 PM - edited 05-06-2022 02:43 PM
Thank you for your reply. I guess my question is more on transport layer, do event streams use same socket as show/commit callbacks in NED? If so, then who creates the sessions for these streams? I don't see how NetConnectionBase can access Connection object in NED which caused my confusion on how multiple sessions can be created over same ssh connection
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide