Martin Bjorklund
Martin Bjorklund
can you include the three modules you use, and the command that gives the error?
Did you try to simplify this with a shorter example? If not, are you sure that the modules are correct and that there's a bug in pyang?
it works fine for me. `pyang huawei-pic.yang` doesn't give any errors.
can you send me the pyang command that fails with an error?
ok, so the command is `pyang *.yang`. This wil give: `huawei-pic.yang:55: error: node huawei-devm::lpu-boards is not found`. This is as expected, since huawei-devm-deviations-NE8000M8M14.yang deviates-away `lpu-boards`. If you instead apply the...
well, you are writing the compiler, you can ensure that the module are added to the context in the correct order. this is not a bug in pyang.
Hi, Yes, we really need documentation for plugin writers! It would be great if someone that learns how it works writes some documentation at the same time!
As for format, I an open to suggestions, but I would go for a simple structure on the wiki. As for contents, I think all of you that have written...
this is being done in a separate branch. checkout feature/yang-structure to try it out. you need to do -f tree --tree-print-structure as well. it lacks some documentation, test cases and...
Hmm. What do you think is the expected output from this module: ``` module example-model { namespace "urn:xml:ns:test"; prefix ex; grouping group-with-ref { leaf grouped-ref { type leafref { path...