Hi,

The ABNF for "default" is wrong in the deviate-*-stmt (add, replace, delete)
Is says [default-stmt] but it should be *default-stmt

Is it intentional that the ABNF for deviate-delete-stmt leaves out
config, mandatory, max-elements, and min-elements?
I understand why "type" cannot be removed.

IMO the rest of the statements should be removable.
Sec. 7.20.3.2 does not mention the restrictions indicated in the ABNF.
This section should make it clear a leaf has only 1 default
and the 0..n refers to leaf-list only.

It should also be clear that the "deviate add default" for a leaf-list
is YANG statement order-dependent.

Not as obvious -- a config=false leaf-list can have duplicate default
values.
The deviate-stmt has no way to specify which 1 to delete or replace
if there are duplicates.


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

Reply via email to