cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
430
Views
0
Helpful
1
Replies

Compatibility of YANG 1.1 models with ydk-gen

sashmish
Cisco Employee
Cisco Employee

Hi Team,

 

Currently, ydk-gen is with pyang 1.6, which is compatible with YANG 1.0. But we have some models developed with yang 1.1.

When I try to compile them using pyang, I get the following errors:

cnbng-cp.yang:3: error: bad value "1.1" (should be version)
cnbng-cp.yang:221: error: unexpected keyword "base"
cnbng-cp.yang:226: error: unexpected keyword "base"
cnbng-cp.yang:231: error: unexpected keyword "base"
cnbng-cp.yang:236: error: unexpected keyword "base"
cnbng-cp.yang:240: error: XPath function "derived-from-or-self" is not defined in the XPath context
cnbng-cp.yang:261: error: XPath function "derived-from-or-self" is not defined in the XPath context
tailf-mobile-infra.yang:2: error: bad value "1.1" (should be version)
tailf-mobile-infra.yang:56: error: unexpected keyword "base"

 

Is there any way to solve these errors?

 

Also, is there any plan to upgrade ydk-gen to support YANG 1.1?

 

Thanks,

Sashank

1 Reply 1

yangorelik
Spotlight
Spotlight

That issue is becoming more and more critical everyday. But so far none of the teams or organizations, which employ YDK in their applications, are willing to allocate resources for it resolution. I am definitely is in the best position to develop this feature and open for any logistics discussions.

Yan Gorelik
YDK Solutions