CiscoDevNet / ydk-gen

Generate model-driven APIs from YANG models
http://ciscodevnet.github.io/ydk-gen/
Apache License 2.0
135 stars 74 forks source link

Upgrade generator dependencies and provide argument to ignore selected errors #1030

Closed 111pontes closed 2 years ago

111pontes commented 3 years ago

SDK generator relies on a rather old version (1.6) of pyang for model validation. There are valid YANG models that that version can't validate and therefore, the generator is unable to process the models successfully. The generator dependencies should be updated and access to --ignore-error argument in pyang should be provided, so generation can proceed for errors that can be safely ignored.

ygorelik commented 2 years ago

Addressed the issue in YDK-0.8.6 with switching to pyang version 2.5.