You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to augment a notification container with a grouping having a mandatory leaf in it.
From the spec in rfc7950#section-7.17 I understand that it is valid if the container is not a configuration container but I am having an error out of pyang:
I am trying to augment a notification container with a grouping having a mandatory leaf in it.
From the spec in rfc7950#section-7.17 I understand that it is valid if the container is not a configuration container but I am having an error out of pyang:
I also checked with NETMOD WG that mandatory leaves were allowed in augmented YANG modules unless they are config containers :
https://mailarchive.ietf.org/arch/msg/netmod/kH-zwf7rA5pLcMA3mLLsobM1ZfU/
Therefore I understand that this is a bug on augmented notification containers.
Here the two YANGs I used:
And the second YANG module
Validating:
$ pyang issue-yang2.yang -f tree -p .
The text was updated successfully, but these errors were encountered: