On 2019-03-22 14:45, Ladislav Lhotka wrote:
Martin Bjorklund <[email protected]> writes:
IMO it doesn't violate the spirit of the rule. So the question is; is
this allowed?
It seems to me that it would make sense to apply the same logic as
for "remote" augments to this rule - from RFC 7950:
If the augmentation adds mandatory nodes (see Section 3) that
represent configuration to a target node in another module, the
augmentation MUST be made conditional with a "when" statement. Care
must be taken when defining the "when" expression [...]
I.e. the answer to your (original) question would in that case be
"yes" (at least for YANG 1.1 modules...).
--Per Hedeland
_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod