cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3123
Views
5
Helpful
4
Replies

NETCONF NED Generation

crench92
Spotlight
Spotlight

I hope I'm not missing something but how do we go about generating the necessary NED if we have new Cisco NETCONF devices (IOS-XE 16.11)?  The NSO_NED documentation seems to focus on the SNMP and CLI NEDs.

1 Accepted Solution

Accepted Solutions

richsun
Cisco Employee
Cisco Employee

examples.ncs/getting-started/using-ncs/4-netconf-device/README

First create a package called 'host' from the YANG file we have
  $ ncs-make-package --netconf-ned . host
We now need to build the YANG file in the package
  $ ( cd host/src && make )

View solution in original post

4 Replies 4

richsun
Cisco Employee
Cisco Employee

examples.ncs/getting-started/using-ncs/4-netconf-device/README

First create a package called 'host' from the YANG file we have
  $ ncs-make-package --netconf-ned . host
We now need to build the YANG file in the package
  $ ( cd host/src && make )

I also found this tool which seems to simplify this for new devices:
https://community.cisco.com/t5/nso-developer-hub-videos/pioneer-ned-builder/ba-p/3843263

where shall I create a package called 'host', in which dir?

 

richsun
Cisco Employee
Cisco Employee

Put the example file host.yang in your packages folder like all other packages. After make , do packages reload