NSO has had support for Junos devices pretty much since day one. The classical Junos NED is NETCONF based, but Juniper did not originally provide any YANG files, so the Tail-f team built a complex machinery to translate Juniper’s XML Schema Description (XSD) files into YANGs for the Juniper-Junos NED.
Some time ago, Juniper started to provide native YANG files for Junos, and a few NSO users experimented with using them instead. Unfortunately, the Junos NETCONF hello message didn’t match the Junos YANG files, so things did not work out.
In NSO 5.3, after a thorough discussion with Juniper engineering about how Junos devices behave, new device manager code in NSO works around the hello issue. Finally, the native Junos YANG files can be used directly in NSO.
This article describes how to make an existing NSO application work against a native Junos NETCONF NED. For application, I took the NSO mpls-vpn example from the NSO examples collection. Here are the high level steps:
1. Make the MPLS example run on a real Junos device with a classic NED
2. Build a Junos native NETCONF NED and configure NSO to use it
3. Update the service package to also work with the new NED
4. Reconcile service instances using new service
Much of this article may also be relevant if you’re thinking about how to port a service package from using one NED to another.
Sounds interesting? Just follow along. Both hands-on and high level readers are welcome. In order to get reasonable formatting, I wrote the actual article in word. Have a look at the attached pdf file.
Hi team, i m trying to write a device template so i can edit ACLs on all my ASR1K devices safely knowing that even if the ACL numbering is not exactly the same across all devices, i can insert the rules before the deny any statement at the end of a standa...
i'm facing an issue with NSO version 5.5.
While i'm trying to playing with policies i found i cannot configure any error message for expression that matches True/False values.For example, if i create an error for any attempt to enable...
Does the commite queue use 1 worker or many worker processes as well as if any benchmarks have been done on load testing? Given # of CPUs and Memory, can the commit queue scale? 100 concurrent I/O threads or maybe even 1000 - 5000 concurrent requests...
I am writing a program in Java that subscribes to changes in CDB. I want to subscribe to all the changes but for starter any particular path will also work.Following is the code snippet I have written following the practices defined for tailf CDB API in N...