cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
363
Views
0
Helpful
1
Replies

Issue with multiple Netconf NEDs

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).

 

1 Reply 1

cohult
Cisco Employee
Cisco Employee

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.