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: