cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
549
Views
0
Helpful
0
Replies
brfoster
Cisco Employee

Numerous Errors when Building NSO Netconf NED for IOS-XR 6.3.1

Hi,

I'm getting a *lot* of errors when attempting to build a Netconf NED for NSO.  I'm using the XR 6.3.1 YANG schema downloaded from Github.

Here is a sample of the errors...

[gibson@nso1 631]$ ncs-make-package --netconf-ned . iosxr-netconf-ned-631-full

[gibson@nso1 631]$ ( cd iosxr-netconf-ned-631-full/src && make )

mkdir -p ncsc-out

mkdir -p ../load-dir

mkdir -p ../shared-jar

mkdir -p ../private-jar

/home/gibson/nso-4.5.3/bin/ncsc --ncs-compile-bundle yang                        \

                 --ncs-device-dir ncsc-out   \

                 --ncs-device-type netconf            \

                  &&                          \

        cp ncsc-out/modules/fxs/*.fxs ../load-dir;

yang/openconfig-mpls-ldp.yang:97: error: the node 'tunnel-type' from module 'openconfig-mpls' (in node 'p2p-lsp' from 'openconfig-mpls') is not found

yang/openconfig-mpls-ldp.yang:97: warning: The when expression refers to descendant node 'tunnel-type', will probably not work as intended.

yang/openconfig-mpls-ldp.yang:114: error: the node 'tunnel-type' from module 'openconfig-mpls' (in node 'p2mp-lsp' from 'openconfig-mpls') is not found

yang/openconfig-mpls-ldp.yang:114: warning: The when expression refers to descendant node 'tunnel-type', will probably not work as intended.

yang/openconfig-mpls-ldp.yang:128: error: the node 'tunnel-type' from module 'openconfig-mpls' (in node 'mp2mp-lsp' from 'openconfig-mpls') is not found

yang/openconfig-mpls-ldp.yang:128: warning: The when expression refers to descendant node 'tunnel-type', will probably not work as intended.

yang/openconfig-mpls-rsvp.yang:521: error: restriction 'require-instance' is not valid for the base type in YANG version 1

yang/openconfig-mpls-sr.yang:335: error: the node 'tunnel-type' from module 'openconfig-mpls' (in node 'p2p-lsp' from 'openconfig-mpls') is not found

yang/openconfig-mpls-sr.yang:335: warning: The when expression refers to descendant node 'tunnel-type', will probably not work as intended.

yang/openconfig-mpls-te.yang:549: error: restriction 'require-instance' is not valid for the base type in YANG version 1

yang/openconfig-mpls-te.yang:587: error: restriction 'require-instance' is not valid for the base type in YANG version 1

yang/openconfig-mpls-te.yang:771: error: restriction 'require-instance' is not valid for the base type in YANG version 1

yang/openconfig-mpls-te.yang:1064: error: restriction 'require-instance' is not valid for the base type in YANG version 1

yang/openconfig-mpls-te.yang:1149: error: restriction 'require-instance' is not valid for the base type in YANG version 1

yang/openconfig-mpls-te.yang:1183: error: restriction 'require-instance' is not valid for the base type in YANG version 1

yang/openconfig-mpls-te.yang:1192: error: restriction 'require-instance' is not valid for the base type in YANG version 1

yang/openconfig-mpls.yang:354: error: restriction 'require-instance' is not valid for the base type in YANG version 1

yang/openconfig-mpls.yang:485: error: restriction 'require-instance' is not valid for the base type in YANG version 1

make: *** [ncsc-out/.done] Error 1

The only way to get the NED build to complete is to remove all the openconfig YANG files from the directory.

Is this expected?  Is this going to be fixed?

Thanks,

Brent

0 REPLIES 0