Inline [ms] From: Dhruv Dhody <dhruv.ietf@xxxxxxxxx>
Hi Michael, On Tue, Nov 12, 2024 at 10:00 PM Michael Scharf via Datatracker <noreply@xxxxxxxx> wrote:
Dhruv: It is a practice that is quite common as it helps track the references as they move from draft to RFCs. It also helps avoid the idnits warning one would get saying
that the reference is not used as idnits does not consider the use in the YANG. [ms] That sounds reasonable as long as the document is an I-D. My comment was about whether Section 3.3 is really needed in the final RFC.
Dhruv: I understand how this could be non-obvious. You are right some of it is based on the standard such as keep alive and dead timer are 8 bits fields in the Open Object.
Some are done to keep alignment with the choice made in the PCEP-MIB RFC 7420 which had Unsigned32 (1..65535) for all the uint16 leaves. For the stats, the YANG counter32 maps to MIB as well. It wraps around and thus it should be okay!
Thank you for checking. [ms] Regarding uint16: OK, thanks for that context. I now understand that design choice a bit better. Yet, to me, it still seems a bit strange to refer to the
same timer with an uint16 and uint32 leaf. The solution in the MIB (i.e., uint32 with a range limit) looks quite reasonable to me. But, well, probably one can argue either way. Maybe that detail is somewhat a matter of taste, and I don’t ask for any change. [ms] Regarding counter wrap: In a similar case (TCP MIB) the community feedback was that the YANG model does not have to be fully backward compatible to an old
MIB. Potential counter wrap around was a reason to change some counters from counter32 to counter64. Of course, at the end of the day the PCEP experts have to make the call whether counter wrap around would be an operational issue, or not, and how relevant
full type compatibility with the MIB is. Michael
|
-- last-call mailing list -- last-call@xxxxxxxx To unsubscribe send an email to last-call-leave@xxxxxxxx