cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
329
Views
0
Helpful
1
Replies
khgrant
Cisco Employee

Basic l2vpn model issue

 

Hello all,

 

 

When running pyang to check my model, I’m getting the following errors and honestly not sure what it means.  Is my xpath wrong?

 

 

cisco@server-1:/var/opt/ncs/packages/l2vpn/src$ pyang yang/l2vpn.yang

 

yang/l2vpn.yang:9: error: module "tailf-ned-cisco-ios" not found in search path

 

yang/l2vpn.yang:10: error: module "tailf-ned-cisco-ios-xr" not found in search path

 

1 ACCEPTED SOLUTION

Accepted Solutions
khgrant
Cisco Employee

 

You need to use the -p option ( -p PATH, --path=PATH  :-separated search path for yin and yang modules) to point out where pyang can find the YANG modules for IOS/XR.

 

View solution in original post

1 REPLY 1
khgrant
Cisco Employee

 

You need to use the -p option ( -p PATH, --path=PATH  :-separated search path for yin and yang modules) to point out where pyang can find the YANG modules for IOS/XR.

 

View solution in original post

Create
Recognize Your Peers
Content for Community-Ad