cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
598
Views
0
Helpful
3
Replies

'route-policy' from module 'tailf-ned-cisco-ios-xr' (in mode 'config'

Fayyazii
Level 1
Level 1

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?

 

 

 

3 Replies 3

ygorelik
Cisco Employee
Cisco Employee

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 

 

Fayyazii
Level 1
Level 1

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

Nabsch
Spotlight
Spotlight

Hello,

 

Can you share your package or at least the Yang model & the Makefile ?