- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2019 03:16 AM
Hello all,
I am trying to connect NSO to VPP. I created a NED for a netconf device with all (i.e., ietf-interfaces, ietf-ip, ietf-yang-types, iana-if-type) yang models. But when I start to connect I receive an Error in which Interface type is not valid. I have a device with ianaift:ethernetCsmacd type. Any help is appreciated?
Thanks,
Kind Regards,
Solved! Go to Solution.
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2019 09:47 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2019 03:12 PM
Can you provide a bit more data? Are you trying to execute a sync-from?
-Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2019 02:27 AM - edited 03-29-2019 06:30 AM
Firstly, thanks for your reply. Actually, I have a host which is running a VPP. I connect VPP to sysrepo, then to netopeer2-server (NETCONF server). I have an interface in VPP which is called host-eth0. I created a NED for this machine with these yang models (ietf-interfaces, ietf-ip, ietf-yang-types, iana-if-type). Then, I connect to this device which is successfully done. Now, my goal is to turn up/down an interface or assign an IP to it. But in the first step as you said when I sync-from(). I receive this error.
I hope I clarified the problem.
Kind Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2019 08:06 AM
Where did you get the yang modules that you created the NED from? Directly from the VPP instance you are trying to connect to or from somewhere else?
Does the iana-if-type.yang file that you've included in your yang NED have interface type ianaift:ethernetCsmacd specified?
You can view the file contents to see or you can attempt to manually configure the interface with this type from the NSO command line.
-Larry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2019 09:13 AM
I just received it from github yang models. It is version 2014, I see inside there is an identity for ethernetCsmacd. I think the yang model should be fine because from netopeer2-cli I can connect to the device. Do you think the problem is the model?
Thanks,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2019 09:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2019 11:42 AM
Yes, I'd be suspicious that a model from 2014 is still valid on a VPP instance running now - 5 years later...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2019 01:14 PM
Hi,
The best way to help you is if you provide the raw NED traces and the YANG modules that you used. Do you know how to get them?
Regards,
Roque
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2019 01:06 AM
Since I was using sysrepo as the yang datastore. I made a NED with all of the yang modules in sysrepo, then I just removed those which does not needed one by one. In this way, it worked for me.
Thank you all for your support.
