Closed hyberdk closed 7 months ago
It seems this is a duplicate of https://github.com/robshakir/pyangbind/issues/258.
With the fix in https://github.com/robshakir/pyangbind/pull/340, the binding is generated.
It is a very large Python binding. Splitting it into directories, it takes 1.6 GB and took ~ 20 minutes to bind.
But at least, it does not break with Exception.
Im trying to convert the Cisco-IOS-XE-native.yang models into python libs, but I am getting this error:
TypeError: unhandled keyword with children case at Cisco-IOS-XE-native.yang:2458 (at Cisco-IOS-XE-ip.yang:506)
Im not sure exactly what the problem is, so I was hoping that some of you would know.. It might be related the the changes made recently in pyang 2.6.0 where there were several fixes for handling imports/include statements in Yang 1.1 See this: mbj4668/pyang@dc9755382194d59484f439b557b6110b138a3bd0
This fix was needed to make the Cisco models (that are using yang 1.1) pass validation.. Note the models that are using Yang 1.0 still fails due to RFC incompliance. Anywho... Im using the latest 17.12.1 model from YangModels..
here is the repo steps..
remember you must use pyang 2.6.0 for the models to pass :-)
Anyone have any recommendations?
Esben