04-29-2022 01:57 AM
Hello guys,
I am trying to implement the :
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 )
but i got this error :
ncs-make-package: error: failed to copy YANG file(s)
Try ncs-make-package --help to get usage text
Could anyone help, please?
Solved! Go to Solution.
04-29-2022 03:48 AM
You have to pre-provide the yang model when making the ned.
It looks like you just ran the
ncs-make-package --netconf-ned . host
which searches the current dir for yang files, can't find any and then complain.
You should visit NSO install dir and find 'doc' dir in which a pdf guide called nso_developement is. Most of the stuff is explained there.
Also, if you want to build netconf neds directly from netconf devices this might be an interesting thing to look into:
https://github.com/NSO-developer/pioneer
04-29-2022 03:48 AM
You have to pre-provide the yang model when making the ned.
It looks like you just ran the
ncs-make-package --netconf-ned . host
which searches the current dir for yang files, can't find any and then complain.
You should visit NSO install dir and find 'doc' dir in which a pdf guide called nso_developement is. Most of the stuff is explained there.
Also, if you want to build netconf neds directly from netconf devices this might be an interesting thing to look into:
https://github.com/NSO-developer/pioneer
04-29-2022 05:00 AM
Depending on the NSO version, you can also use the netconf-ned-builder
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide