-
Notifications
You must be signed in to change notification settings - Fork 39
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
Add yin plugin #41
base: master
Are you sure you want to change the base?
Add yin plugin #41
Conversation
This commit adds the yin plugin which generates yin from the input YANG model, along with tests to compare the Pyang YIN plugin. Two different options are available for the plugin: - pretty strings, will print strings on multiple lines - canonical, prints elements in canonical order
Evening Lisa, great to see yin-support coming to yanger! I attempted a quick fix:
And this produces valid xml-files where the prefixes are correctly used as namespace. Kind regards, and thanks for this great plugin! |
Sorry for the late response... @fnchooft perhaps you can do a new PR from your branch, with this fix? |
Hi @mbj4668 - I have added a patch-request with the fixes for the yin-plugin. Apologies for the delay - but vacation was needed after 2021! :) |
I believe this patch entered into main-branch after applied fixes. |
Hi @fnchooft, thank you for adding patch to the yin-plugin! I will rebase the xml-skeleton. |
This commit adds the yin plugin which generates YIN from the input YANG
model, along with tests to compare the Pyang YIN plugin.
Two different options are available for the plugin: