[email protected] (Dale R. Worley) wrote:
> One thing that threw me the first time I saw it is marking lists with
> "*". That doesn't match the generic use of "*", which is to mark the
> thing that is repeated.
Hmm, "*" was choosen b/c people are used to read it as
"zero or more". So for example:
+---c server* [name]
+--c name string
...
means zero or more "server" elements. Each indexed by "name".
> (Compare using "?" to mark an optional thing,
> which does match the generic usage.) But in the context of Yang, you
> don't want to flag the items in the list with "*", that would make the
> tree harder to read.
What is an "item in the list"?
/martin
_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod