On Thu, Apr 10, 2025 at 3:29 PM Michael Richardson <m...@sandelman.ca> wrote:

> Per Andersson <per.i...@ionio.se> wrote:
>     > In my recent YANG Doctors review of
> draft-ietf-netmod-sub-intf-vlan-model
>     > I stated that it is a recommendation to not use the "-grouping"
> suffix for
>     > grouping identifiers.
>
> That seems reasonable... yet I think that it gets done because otherwise
> the
> name "foo" becomes unusable otherwise?
>
>
Quite usable to the YANG compiler, but maybe not user-friendly enough.

This 'bad' practice (foo-grouping) has been used in RFCs as recently as RFC
9640.
In general, avoiding redundancy is a good idea, but naming conventions for
different
types of identifiers are quite common.



>     > I suggest we add the following text to rfc8407bis Section 4.3.1:
>
>     > Identifiers SHOULD NOT be prefixed or suffixed with their type.
>     > For instance creating a grouping with the suffix "-grouping"
>     > SHOULD be avoided.
>
>
>     > --
>     > Per
>
>
Andy


>     > _______________________________________________
>     > netmod mailing list -- netmod@ietf.org
>     > To unsubscribe send an email to netmod-le...@ietf.org
>
> _______________________________________________
> netmod mailing list -- netmod@ietf.org
> To unsubscribe send an email to netmod-le...@ietf.org
>
_______________________________________________
netmod mailing list -- netmod@ietf.org
To unsubscribe send an email to netmod-le...@ietf.org

Reply via email to