cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
857
Views
5
Helpful
1
Replies

make error : NSO-developer[vrf-oob-reconcile]

ZAhmad04890
Level 1
Level 1

Hi ,

I am trying to make an example code located at https://github.com/NSO-developer/vrf-oob-reconcile

my NSO version is 5.3 and OS is ubuntu 18.04. the error comes when issuing command "make clean all" , I have followed the instructions and copied the IOS-XR NED in the packages folder , but it gives error saying "Must provide an --ncs-ned-id ",Not sure where in the make file this is required or is it something else. any help in this regards is welcome.Thanks.

 

ahmad@ahmad:~/ncs-run/vrf-oob-reconcile-master$ make clean all

for i in device-nodes/nso-1 device-nodes/nso-2 service-node; do \ make -C ${i} clean || exit 1; \ done make[1]: Entering directory '/home/ahmad/ncs-run/vrf-oob-reconcile-master/device-nodes/nso-1'

make[1]: Leaving directory '/home/ahmad/ncs-run/vrf-oob-reconcile-master/device-nodes/nso-1'

make[1]: Entering directory '/home/ahmad/ncs-run/vrf-oob-reconcile-master/device-nodes/nso-2'

make[1]: Leaving directory '/home/ahmad/ncs-run/vrf-oob-reconcile-master/device-nodes/nso-2'

make[1]: Entering directory '/home/ahmad/ncs-run/vrf-oob-reconcile-master/service-node' ncs --stop >/dev/null 2>&1; true

make[1]: Leaving directory '/home/ahmad/ncs-run/vrf-oob-reconcile-master/service-node' for i in vrf ; do \ make -C device-nodes/packages/${i}/src clean || exit 1; \ done

make[1]: Entering directory '/home/ahmad/ncs-run/vrf-oob-reconcile-master/device-nodes/packages/vrf/src' rm -rf ../load-dir java/src//

make[1]: Leaving directory '/home/ahmad/ncs-run/vrf-oob-reconcile-master/device-nodes/packages/vrf/src' for p in vrf-service vrf-ned; do \ make -C service-node/packages/$p/src clean; \ done

make[1]: Entering directory '/home/ahmad/ncs-run/vrf-oob-reconcile-master/service-node/packages/vrf-service/src' rm -rf ../load-dir ncsc-out java/src//

make[1]: Leaving directory '/home/ahmad/ncs-run/vrf-oob-reconcile-master/service-node/packages/vrf-service/src'

make[1]: Entering directory '/home/ahmad/ncs-run/vrf-oob-reconcile-master/service-node/packages/vrf-ned/src' rm -rf ncsc-out/* ncsc-out/.done ../fxs/* ../load-dir/*

make[1]: Leaving directory '/home/ahmad/ncs-run/vrf-oob-reconcile-master/service-node/packages/vrf-ned/src' rm -rf netsim rm -rf device-nodes/nso-1/logs; \ rm -rf device-nodes/nso-2/logs; \ rm -rf device-nodes/nso-1/ncs-cdb; \ rm -rf device-nodes/nso-2/ncs-cdb; \ rm -rf device-nodes/nso-1/state; \ rm -rf device-nodes/nso-2/state; \ rm -rf service-node/ncs-cdb; \ rm -rf service-node/state; \ rm -rf service-node/logs; for i in vrf ; do \ make -C device-nodes/packages/${i}/src clean || exit 1; \ done

make[1]: Entering directory '/home/ahmad/ncs-run/vrf-oob-reconcile-master/device-nodes/packages/vrf/src' rm -rf ../load-dir java/src//

make[1]: Leaving directory '/home/ahmad/ncs-run/vrf-oob-reconcile-master/device-nodes/packages/vrf/src' for i in vrf ; do \ make -C device-nodes/packages/${i}/src all || exit 1; \ done

make[1]: Entering directory '/home/ahmad/ncs-run/vrf-oob-reconcile-master/device-nodes/packages/vrf/src' mkdir -p ../load-dir mkdir -p java/src// /home/ahmad/nso-5.3/bin/ncsc `ls vrf-ann.yang > /dev/null 2>&1 && echo "-a vrf-ann.yang"` \ -c -o ../load-dir/vrf.fxs yang/vrf.yang

make[1]: Leaving directory '/home/ahmad/ncs-run/vrf-oob-reconcile-master/device-nodes/packages/vrf/src' for p in vrf-service vrf-ned; do\ make -C service-node/packages/$p/src all; \ done

make[1]: Entering directory '/home/ahmad/ncs-run/vrf-oob-reconcile-master/service-node/packages/vrf-service/src' mkdir -p ../load-dir mkdir -p ncsc-out mkdir -p java/src// /home/ahmad/nso-5.3/bin/ncsc `ls svrf-ann.yang > /dev/null 2>&1 && echo "-a svrf-ann.yang"` \ -c -o ../load-dir/svrf.fxs yang/svrf.yang

make[1]: Leaving directory '/home/ahmad/ncs-run/vrf-oob-reconcile-master/service-node/packages/vrf-service/src'

make[1]: Entering directory '/home/ahmad/ncs-run/vrf-oob-reconcile-master/service-node/packages/vrf-ned/src' /home/ahmad/nso-5.3/bin/ncsc --ncs-compile-bundle yang \ --ncs-device-dir ncsc-out \ --ncs-device-type netconf \ --yangpath yang --yangpath ../../sharedpackage/src/yang/ \ --ncs-skip-template --ncs-skip-statistics && \ cp ncsc-out/modules/fxs/*.fxs ../load-dir; ncsc: Must provide an --ncs-ned-id Makefile:18: recipe for target 'ncsc-out/.done' failed

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

make[1]: Leaving directory '/home/ahmad/ncs-run/vrf-oob-reconcile-master/service-node/packages/vrf-ned/src' Makefile:14: recipe for target 'app-all' failed make: *** [app-all] Error 2

ahmad@ahmad:~/ncs-run/vrf-oob-reconcile-master$

1 Accepted Solution

Accepted Solutions

vleijon
Cisco Employee
Cisco Employee
I think that the vrf-oob-reconcile project is too old and only supports NSO 4.x, there has been an important change in NSO 5 for how NEDs are compiled.

View solution in original post

1 Reply 1

vleijon
Cisco Employee
Cisco Employee
I think that the vrf-oob-reconcile project is too old and only supports NSO 4.x, there has been an important change in NSO 5 for how NEDs are compiled.