This means relative paths should be used in most cases. We need to keep this in mind. Fortunately for both OSPF and ISIS, we don't have many use cases with multiple instances.
Thanks, Yingzhen On Tue, Nov 10, 2026 at 8:28 AM Acee Lindem <[email protected]> wrote: > Hi Gunter, > > I researched this and the errata is, in fact, correct. If you use an > absolute path in a YANG "must" clause, it applies to all instances in the > schema and not the one containing the YANG node instance with the "must". > Relative paths should be used. > > This is actually something that I wasn't aware of and something also to > watch out for in future YANG models. I even think the NETMOD WG could > benefit from an informational draft on YANG constraints as it isn't obvious > from RFC 7950 (although it may be gleaned). > > Thanks, > Acee > > > On Nov 10, 2026, at 9:37 AM, Gunter Van De Velde < > [email protected]> wrote: > > > > Hi Authors, LSR WG, > > > > I had a look at this errata and get the impression this is correct and > want to mark it technical and verified. > > > > Any concerns? > > > > G/ > > > > Sent from my iPad > > > >> On 5 Nov 2026, at 17:54, [email protected] wrote: > >> > >> The following errata report has been submitted for RFC10041, > >> "Advertising Unreachable Links in OSPF" > >> > >> -------------------------------------- > >> You may review the report below and at: > >> https://errata.rfc-editor.org/eid9289/ > >> > >> -------------------------------------- > >> Type: Technical > >> Reported by: Paul Aitken <[email protected]> > >> > >> Section 4.2.5 says: > >> > >> Original Text > >> ------------- > >> must "not(../advertise-unreachable-link = 'true' and " > >> + "/rt:routing/rt:control-plane-protocols/" > >> + "rt:control-plane-protocol/ospf:ospf/ospf:areas/" > >> + "ospf:area/" > >> + "ospf-unreach-link:unreachable-link-advertisement/" > >> + "ospf-unreach-link:enabled = 'false')" { > >> > >> Corrected Text > >> -------------- > >> must "not(../advertise-unreachable-link = 'true' and " > >> + "../../../ospf-unreach-link:unreachable-link-advertisement/" > >> + "ospf-unreach-link:enabled = 'false')" { > >> > >> Notes > >> ----- > >> The second operand is an absolute path to the enabled leaf of all > areas, with no predicate binding to the interface's own area. Since XPath > node-set = 'false' is existential, the constraint is violated whenever the > interface flag is true and any area anywhere has enabled = 'false' . > The description states the intent is the interface's "OSPF area level > capability," which argues for a relative path up to the containing area. > >> > >> So correct > /rt:routing/rt:control-plane-protocols/rt:control-plane-protocol/ospf:ospf/ospf:areas/ospf:area/ > to ../../../ > >> > >> Instructions: > >> ------------- > >> This erratum is currently posted as "Reported". Please > >> use "Reply All" to discuss whether it should be verified or > >> rejected. When a decision is reached, the verifying party > >> will log in to change the status and edit the report, if necessary. > >> > >> -------------------------------------- > >> RFC10041 (draft-ietf-lsr-ospf-ls-link-infinity) > >> -------------------------------------- > >> Title : Advertising Unreachable Links in OSPF > >> Publication Date : September 2026 > >> Author(s) : L. Gong, W. Cheng, C. Lin, A. Lindem, R. Chen > >> Category : Proposed Standard > >> Source : lsr (rtg) > >> Stream : IETF > >> Verifying Party : IESG > >
_______________________________________________ Lsr mailing list -- [email protected] To unsubscribe send an email to [email protected]
