02-28-2023 08:51 PM
root@lab:/home/ncs-run/packages/l3vpn/src#make
The node 'route-policy' from module 'tailf-ned-cisco-ios-xr' (in mode 'config' from 'tailf-ncs') is not found
The node 'interface' from module 'tailf-ned-cisco-ios-xr' (in mode 'config' from 'tailf-ncs') is not found
Make: *** [Makefile:26 ../load-dir/l3vpn.fxs] Error 1
====
I tried all following YANGPATH one by one but get same error.
YANGPATH += /home/ncs-run/packages/cisco-iosxr-cli-7.38/src/ncsc-out/modules/yang
YANGPATH += /home/nso-5.7.1/packages/neds/cisco-iosxr-cli-7.38/src/ncsc-out/modules/yang
YANGPATH += ../../cisco-iosxr-cli-7.38/src/ncsc-out/modules/yang
=====
1- Can anyone help how to fix this error please...i tried my best based on my limited knowledge and information from other similar forums but it could not work..., i am running it in lab environment on NSO 5.7.1
2- /home/ncs-run/packages/cisco-iosxr-cli-7.38/src/ncsc-out/modules/yang folder was empty by default and there were no tailf-ned-cisco-ios-xr.yang file so i copied from outside directory to fix some previous errors. Should it has these files by default or we should manually copy it?
03-01-2023 12:16 PM
I wonder if you ran below command to set NCS environment before attempting 'make all'?
source /home/nso-5.7.1/ncsrc
Also, the YANG modules are located under path:
./packages/<your-package>/src/yang
03-03-2023 10:09 AM
@ygorelik Thank you for your reply. Yes i had executed
source /home/nso-5.7.1/ncsrc
and i just did it again n tried make clean all after it. Error is same.
Any help will be appreciated. Thanks.
03-06-2023 02:25 AM
Hello,
Can you share your package or at least the Yang model & the Makefile ?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide