tom petch <[email protected]> wrote:
> given
> rpc tunnels
>   input
>     container tunnel
>       choice filter
>          mandatory true

This means that some node from some case must be present.

>          case all
>            leaf all
>            mandatory true

I assume that this mandatory is inside "leaf all".  This means that if
this case is selected (i.e., at least some node from the case is
present), then this leaf must be present as well.

>           case one
>               leaf justone
> what does mandatory do?  I could understand one mandatory or three
> mandatory but struggle to see the point of two.

You need to look at complete model for the choice to see if it makes
sense or not.

>
> Something like this is in draft-ietf-teas-yang-te


/martin

_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to