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
See the following yang model (minimized as far as possible from a use case at our side): example.zip
This gives the following warning in pyang 2.3.0 (also in 2.2.1, but not in 1.7.5):
example.yang:42: warning: node "example::type" is config false and is not part of the accessible tree
which is wrong, because the leafs that are augmented are also config false, and it is allowed in a when condition on config false leafs to refer to other config false leafs, see https://tools.ietf.org/html/rfc7950#section-6.4.1
If the augments are ordered differently, the warning does not occur. It also does not occur if the second augment is eliminated and the performance container added directly in the interface list.
The text was updated successfully, but these errors were encountered:
See the following yang model (minimized as far as possible from a use case at our side):
example.zip
This gives the following warning in pyang 2.3.0 (also in 2.2.1, but not in 1.7.5):
example.yang:42: warning: node "example::type" is config false and is not part of the accessible tree
which is wrong, because the leafs that are augmented are also config false, and it is allowed in a when condition on config false leafs to refer to other config false leafs, see https://tools.ietf.org/html/rfc7950#section-6.4.1
If the augments are ordered differently, the warning does not occur. It also does not occur if the second augment is eliminated and the performance container added directly in the interface list.
The text was updated successfully, but these errors were encountered: