Hi,
My colleagues and I are looking for clarification of the last point in Section
10 of YANG 1.0:
' In statements that have any data definition statements as
substatements, those data definition substatements MUST NOT be
reordered.'
We understand that existing statements must not be reordered in a new revision
of a YANG module, but we're not clear if new statements may be inserted between
existing statements, or must always come at the 'end' of a list or container
definition. A specific example we're concerned with is where a grouping is
used, and then later that grouping has an extra element added, but the new node
could also be added directly. Eg:
Container foo {
Leaf A
Uses grouping B;
Leaf C
Leaf D
}
Is it valid in a new revision of the module to do the following, or must the
order be A, B, C, D, E? What if grouping B has gained a new statement?
Container foo {
Leaf A
Uses grouping B;
Leaf C
Leaf E < ---- ADDED
Leaf D
}
Thanks,
William
_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod