How to make NSO discover devices using CDP or LLDP
I want to make NSO discover the architecture of the network (Mapping between differents nodes) is there any way to do this using LLDP/CDP or any other alternative.
Currently I am using a static mapping that specify the connection between the interfaces of the devices but this method is not good because I can't detect changes when a connection between two devices is changed.
The discovery package is not present in the 5.3 version of NSO and I'm looking for a way to discover devices and not services. That's mean how are the devices connected to each other (For exemple device1 interface Gig0/0 is connected to device2 Gig1/2).
You're welcome @AlaeddineJebnoun90723 . I did notice that what I was offering was about services instead of devices. I thought there was a chance it might help you. Luckily, the reply below seems to be very promising!
The discovery package was/is about discoverying nodes in the management network to onboard them in NSO. I believe the ask here is how to use NSO to get CDP/LLDP neighboring relationship. I did write a small package for that using NSO live-status capabilities. Moreover, depenending on the device vendor, this may be available already in the NED. For Cisco IOS try:
"admin@ncs# show devices device test live-status cdp neighbors"
That should give you the list of neighbors for that device. You can then use an action in python to create the logic that you wish.
SW upgrade or migration is something you never can escape from so it's better to make it part of your process. The remaining challenge is to determine when to give up what has been working to secure your future needs. Martin and the NSO team will guide y...
There is not a single golden tool that fits all purposes simply because development processes and needs are different. Instead, pick the tooling you need from the Smörgåsbord and build your environment to suit your needs. Shashidhar will guide you throug...
How Verizon Streamlined NSO Development with Continuous Integration
This is a customer success story of how Verizon ITNUC builds a CI chain to streamline the NSO development process. The containerized NSO makes testing several NSO packages in para...
It is best practice to avoid storing your secrets (e.g., passwords and shared keys) in plain text, either on NSO or on the device. In NSO, we support multiple encrypted data types that are encrypted using a local key. Similarly, many devices such as Cisco...