In module openconfig-mpls-sr and coupleotherplaces, there are when statements which refer to the tunnel-type leaf, which is defined inside a sibling container or is a sibling node.
The relevant section of the pyang tree of this model looks like below:
This issue is stale because it has been open 180 days with no activity. If you wish to keep this issue active, please remove the stale label or add a comment, otherwise will be closed in 14 days.
In module openconfig-mpls-sr and couple other places, there are
when
statements which refer to thetunnel-type
leaf, which is defined inside a sibling container or is a sibling node.The relevant section of the pyang tree of this model looks like below:
Currently, the when expressions in the above linked yang modules looks like below, which does not seem to make sense given the above tree:
Should it be something like
when "../tunnel-type
inopenconfig-ldp.yang
andwhen "../config/tunnel-type
inopenconfig-sr.yang
?