cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
645
Views
0
Helpful
1
Replies

Netconf NED build differences between v4.7 and 5.2

HI all,

Documentation related to NED has changed between versions 4.7 and 5.2.
I think I well understand how to build a NED in 5.2 in the case where the NETCONF physical device supports uploading the YANG modules to NSO when fetch-module-list in invoked. However my device doesn't support that feature unfortunately. Instead, I have the YANG model (a bunch of YANG files) stored in a directory somewhere.
What is the "best" receipe for building a NED from that YANG model please ? Should I still use "pionner" in 5.2 ?
Can you point me to a specific section in the 5.2 documentation ?
Many thanks.
David.

1 Reply 1

ramkraja
Cisco Employee
Cisco Employee

What is the "best" receipe for building a NED from that YANG model please ? Should I still use "pionner" in 5.2 ?


The easiest way is to use the "ncs-make-package" script that is part of every NSO release.

$ ncs-make-package --netconf-ned --build /path/to/yangfiles my_netconf_ned

In addition to ned packages, you can make skeletons of java/python packages, template based packages etc.

See "ncs-make-package --help" for all the possible options.

/Ram