On 21/12/2017 10:43, Juergen Schoenwaelder wrote:
On Thu, Dec 21, 2017 at 11:39:47AM +0100, Martin Bjorklund wrote:

But this is in the YANG source; I think Ian asked about the tree
diagram syntax.  Maybe the corresponding syntax in the tree diagram
could be simply:

augment /nat:nat/nat:instances/nat:instance
         /nat:mapping-table/nat:mapping-entry:
Works for me.
This is a trivial thing, but I would probably outdent or indent the second and subsequent lines to help it seem like one string rather than a list of strings.

E.g. perhaps:

augment /nat:nat/nat:instances/nat:instance
          /nat:mapping-table/nat:mapping-entry:

Or

augment /nat:nat/nat:instances/nat:instance
    /nat:mapping-table/nat:mapping-entry:

Thanks,
Rob


Or even simpler, maybe we can say that any string in the tree diagram
syntax can follow the YANG string rules.
The YANG string rules are for machines to get the parsing right. Since
the tree diagrams are for humans, the less noise the better.

/js


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

Reply via email to