Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
New pyang version produces a warning if when statements are checking operational data (config false)... "is config false and is not part of the accessible tree"https://github.com/mbj4668/pyang/issues/918
I have a setup with:config false and tailf:cdb...
Actions do not allow when statements inside them, so the way I did it is to create a grouping with only the actions defined inside it.Then in the uses statement where I bring the grouping in I can place the when expression there.
Hence compiler proba...
All that is controlled by the when statement is actions.Enclosing it inside a container wouldn't change much since we want to control it related to a specific value/state in a oper leaf.It would give us the option to create/delete that container as w...
Ok, good to know the reasoning behind it and as such we shouldn't have a generic ignore of such warnings.
In this case it would probably be fine since I'm using the when expression to show/hide a grouping of actions that are only relevant during some...