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

Does NSO use separate ssh sessions for events from southbound?

JennyW
Level 1
Level 1

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?

2 Replies 2

u.avsec
Spotlight
Spotlight

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.

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