Issue with multiple Netconf NEDs

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2022 02:30 AM
Hi,
I'm having an issue with reloading packages for a service when using two different versions of a Netconf NED (built with netconf-ned-builder tool).
The Netconf NEDs are built from IOS-XR versions 6.3 and 7.3 and my service definition have dependencies to the Cisco-IOS-XR-ifmgr-cfg YANG module.
When I add the two NEDs to the Makefile of the service, compilation goes well but the subsequent package reload in NSO gives the following error:
Error: '_XR-nc-6.3:XR-nc-6.3#http://cisco.com/ns/yang/Cisco-IOS-XR-ifmgr-cfg': Missing namespace (referenced by 'http://example.com/bng')
What am I missing? (It works when using the 7.3 NED alone).
- Labels:
-
Other NSO Topics
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2022 03:16 AM
What dependencies/references does the service have to the ifmgr-cfg YANG model?
Assuming you used the "--yangpath" flag to add the two versions of the ifmgr-cfg YANG model to import it from the service YANG model, only one version will be imported, the one pointed to by the last "--yangpath" flag.
