All,
BBF has a question about how to announce capabilities. This is illustrated by a
specific example but it’s a general question. There is some overlap with past
“Broadband Forum questions on RFC 6087bis
<https://mailarchive.ietf.org/arch/msg/netmod/T72fHGcPOj4H7zLDvR3yj9iKWB0>” and
“Restricting interface name maximum length and character set
<https://mailarchive.ietf.org/arch/msg/netmod/8cHqqp8r4RJR1uSpJ_x2T-XkTOQ>”
threads.
Here’s the example. We have a list of profiles and we want the server to be
able to indicate the maximum number of supported profiles. The two ways that we
have considered doing this are:
Add a leaf that indicates the maximum number of supported profiles.
Use a deviation to indicate max-elements on the profile list.
We have got the impression from the RFCs and past discussion (cited above) that
NETMOD’s preferred approach is the first one, and you would not approve of the
second one. Is that correct? Any other thoughts?
Note that use of deviations in this way is not contravening RFC 6020bis’s
“deviations MUST never be part of a published standard” because our published
YANG will not include deviations. We would be using them only in the sense that
they would be the recommended way for an implementation to announce its
capabilities. Strictly (in the example given above) this is a deviation from
the standard because an unspecified max-elements statement defaults to
“unbounded”.
Thanks,
William Lupton
_______________________________________________
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod