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

Fix RFC compliance of identityref value types #117

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

gcampbell512
Copy link
Contributor

The current code is not compliant to Netconf RFC - RFC6020 https://datatracker.ietf.org/doc/html/rfc6020#section-9.10.5 Also restconf is not compliant to a similar RFC - RFC7951 https://datatracker.ietf.org/doc/html/rfc7951#section-6.8

This change fixes the XML generation tool pyang-apteryx-xml.py to generate enough information so that Netconf and Restconf can set identyref type values with the correct reference information.

A basic model test.xml, was modified to set the new the XML properties on a basic type.

The current code is not compliant to Netconf RFC - RFC6020
https://datatracker.ietf.org/doc/html/rfc6020#section-9.10.5
Also restconf is not compliant to a similar RFC - RFC7951
https://datatracker.ietf.org/doc/html/rfc7951#section-6.8

This change fixes the XML generation tool pyang-apteryx-xml.py to
generate enough information so that Netconf and Restconf can
set identyref type values with the correct reference information.

A basic model test.xml, was modified to set the new the XML
properties on a basic type.
@carlgsmith carlgsmith merged commit 3ace1d0 into alliedtelesis:master Jul 16, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

3 participants