cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
934
Views
0
Helpful
3
Replies

NSO netopeer2-server

mhemmatp
Cisco Employee
Cisco Employee

 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,

1 Accepted Solution

Accepted Solutions

vleijon
Cisco Employee
Cisco Employee

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.

View solution in original post

3 Replies 3

vleijon
Cisco Employee
Cisco Employee

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.

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,

Problem resolved by your solution thanks.
Getting Started

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: