03-05-2019 12:49 AM
Hello all,
I am newbie to NSO. I am trying to connect NSO to my PC which has a sysrepo daemon running with a netopeer2-server. I do the following steps:
devices authgroups group authest default-map remote-name root remote-password 123
devices device test address 127.0.0.1 port 830 authgroup authest device-type netconf
state admin-state unlocked
commit
ssh fetch-host-keys
sync-from
Finally, I receive the following ERR:
result false
info Device test does not advertise any known YANG modules
I appreciate it if you let me know how can I solve this problem?
Kind Regards,
Solved! Go to Solution.
03-05-2019 01:38 PM
You need to first create a 'netconf-ned' for the server you are trying to connect to. You can either do it manually, using ncs-make-package with the yang files (this should be described in the documentation) or try using pioneer https://github.com/NSO-developer/pioneer.
I have never used netopeer2, so I am not entirely sure which capabilities it has for discovering yang modules.
03-05-2019 01:38 PM
You need to first create a 'netconf-ned' for the server you are trying to connect to. You can either do it manually, using ncs-make-package with the yang files (this should be described in the documentation) or try using pioneer https://github.com/NSO-developer/pioneer.
I have never used netopeer2, so I am not entirely sure which capabilities it has for discovering yang modules.
03-06-2019 12:29 AM
Thanks for your reply. I tried to follow the approach in documentation but when I try to run the ncs I receive the following ERR
The prefix ncs is defined in both urn:ietf:params:xml:ns:yang:ietf-netconf-server and http://tail-f.com/ns/ncs.
Daemon died status=21
Do you have any idea of this ERR?
Thanks,
03-06-2019 01:16 AM
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the NSO Developer community: