-
Notifications
You must be signed in to change notification settings - Fork 296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yanglint print tree of augment-module does NOT work #24
Comments
Augments should be correct in the internal structures, but I see some issues with the tree printer:
|
prefix of the module is not unique, so in the tree output, use module names instead the module prefix. Relates to #24
prefix of the module is not unique, so in the tree output, use module names instead the module prefix. Relates to #24
hi I found the fixed version still uses module name as the prefix not using defined prefix. |
That's correct. The defined prefixes are not necessarily unique (in contrast to module names), so, as I wrote, we want to use module names as prefixes in tree output - they are longer, but it is much more clear from which module data comes. Unfortunatelly, this differs libyang's tree output from pyang, but it is intended. |
Ok, I see. :) |
prefix of the module is not unique, so in the tree output, use module names instead the module prefix. Relates to #24
I added some modules and found the model tree of augment module can not be printed out. Is this normal? I am afraid that the augment models are not added successfully.
The models.tar was uploaded in #22
Following are the log of my steps.
ietf-interfaces
&ericsson-contexts-ipos
are main models, andericsson-context-ipos
&ericsson-interfaces-ext-ipos
are augment models.The text was updated successfully, but these errors were encountered: