Skip to content

Conversation

@hansthienpondt
Copy link

@hansthienpondt hansthienpondt commented Aug 2, 2024

Hi @wenovus and @robshakir

Adding must substatement support on the RPC and/or Action's input/output substatements as per http://tools.ietf.org/html/rfc7950#section-7.14.2 and http://tools.ietf.org/html/rfc7950#section-7.14.3
and updated RFC references in code.

Considering there were earlier yang1.1 substatements already present in the struct, I've added the only missing one.
I did not find any specific test cases of combinations in this specific yang path, as I did not find any similar test cases on the RPC statement. Happy to define some if you think this would be necessary.

@hansthienpondt hansthienpondt marked this pull request as ready for review August 2, 2024 09:40
@hansthienpondt hansthienpondt changed the title adding must substatements to RPC input/output substatements -- rfc7950 adding must substatements to RPC/Action input/output substatements -- rfc7950 Aug 8, 2024
Copy link
Member

@robshakir robshakir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this, and apologies for the delay replying.

Please could you add a test for this new code?

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.

2 participants