On 16/01/2018 15:08, Vladimir Vassilev wrote:
On 01/16/2018 11:56 AM, Martin Bjorklund wrote:
Vladimir Vassilev <[email protected]> wrote:
<snipped>
4. This bit I found confusing. I propose this change to unambiguously
describe the current pyang format.
OLD:
* for a leaf-list or list
[<keys>] for a list's keys
NEW:
* for a leaf-list or list without keys
* [<keys>] for a list with keys
Hmm, wouldn't it be better to use [] for a list w/o keys?
Yes I also agree this improves readability at the cost of slight
redundancy increase and modification to format of diagrams already
used in RFCs. Your call.
I like the idea of using [] for a list without keys, to cleanly
differentiate list vs leaf-list.
I presume that they don't turn up that much in practice, so presumably
not many RFC's would be impacted.
Thanks,
Rob
_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod