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