Skip to content
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

DSDL plugin supports only YANG version 1 #901

Open
kannanwst opened this issue Apr 16, 2024 · 2 comments
Open

DSDL plugin supports only YANG version 1 #901

kannanwst opened this issue Apr 16, 2024 · 2 comments

Comments

@kannanwst
Copy link

When I tried to create the DSDL schema, I was trying to follow the Yang Version 1.1 but I got the following error:

DSDL plugin supports only YANG version 1

I am referring the below link #426
some limitations are mentioned in this ticket #426
--dsdl-lax-yang-version
Try to translate modules with unsupported YANG
versions (use at own risk)
This will work for many 1.1 modules, but there are some constructs that it will not handle properly.

Query

Query#1 - Please confirm whether the above limitation is still valid or not
Query#2 - if the answer is yes, then this Query#2 is applicable.
Could you please share the list of "constructs" which is not handled when "--dsdl-lax-yang-version" is used?

@kannanwst
Copy link
Author

Hi,

  could you please respond to the above queries?

Thanks
kannan R

@llhotka
Copy link
Collaborator

llhotka commented Apr 22, 2024

Yes, the limitation still applies. As far as I remember, there are two types of incompatibilities:

  • new XPath functions introduced in YANG 1.1 aren't supported
  • leafref appearing in a grouping may not work correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants