/root/ydk-gen/gen-api/.cache/models/test@0.1.0/example-dev.yang:13: the "config" property does not exist in node "example::someleaf"
Error(s) occurred in YdkGenerator()!
Error occured: "/root/ydk-gen/gen-api/.cache/models/test@0.1.0/example-dev.yang:13: the "config" property does not exist in node "example::someleaf"
".
The models supplied to the YDK generator are invalid. Please make sure the models are valid by compiling the models together using pyang. Please run "pyang *.yang" in the models directory, make sure there are no errors and then try running the generator again. If there are model errors, please fix the errors by editing the model, contacting the model owner or deleting the model from the list of models to generate the YDK bindings for.
This is the same problem with this issue. It's solved with this commit.
Expected Behavior
Current Behavior
Fails with error:
the "config" property does not exist in node "example::someleaf"
If I change
deviate replace
on example-dev.yang:13 todeviate add
then it fails with error:the "config" property already exists in node "example::someleaf"
Steps to Reproduce
Your Script
Logs
Enable logging and post the logs below
System Information
ydksolutions/ydk-gen:0.8.6.4 docker image