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/eid9330/ -------------------------------------- Type: Technical Reported by: Yan Chen <[email protected]> Section 4.2.5 says: Original Text ------------- augment "/rt:routing/rt:control-plane-protocols/" + "rt:control-plane-protocol/ospf:ospf/" + "ospf:areas/ospf:area/ospf:interfaces/ospf:interface" { when "derived-from(/rt:routing/rt:control-plane-protocols/" + "rt:control-plane-protocol/rt:type, 'ospf:ospfv2') or " + "derived-from(/rt:routing/rt:control-plane-protocols/" + "rt:control-plane-protocol/rt:type, 'ospf:ospfv3')" { description "This augments the OSPF interfaces."; } Corrected Text -------------- augment "/rt:routing/rt:control-plane-protocols/" + "rt:control-plane-protocol/ospf:ospf/" + "ospf:areas/ospf:area/ospf:interfaces/ospf:interface" { when "derived-from-or-self(../../../../../rt:type, " + "'ospf:ospfv2') or " + "derived-from-or-self(../../../../../rt:type, " + "'ospf:ospfv3')" { description "This augments the OSPF interfaces."; } Notes ----- Erratum EID 9289 (Verified) corrected the "must" statement of leaf advertise-unreachable-link in Section 4.2.5. The enclosing interface augment's "when" statement has two further XPath defects that cause standards-compliant YANG 1.1 validators (RFC 7950) to reject advertise-unreachable-link on every valid OSPF configuration: 1. Per RFC 7950 Section 10.4.1, derived-from() returns true only if the first argument is strictly derived from, and NOT equal to, the identity in the second argument. In standard configurations rt:type is set to the identity "ietf-ospf:ospfv2" or "ietf-ospf:ospfv3" itself (RFC 9129), so both derived-from() calls evaluate to false and the augmented leaf can never be instantiated. The area-level augment in the same module (Section 4.2.5) already uses derived-from-or-self(../../../rt:type, 'ospf:ospfv2') or derived-from-or-self(../../../rt:type, 'ospf:ospfv3'), as does RFC 9129. 2. The absolute path /rt:routing/rt:control-plane-protocols/rt:control-plane-protocol/rt:type has no predicate binding it to the enclosing control-plane-protocol instance. The relative path ../../../../../rt:type (ospf:interface -> ospf:interfaces -> ospf:area -> ospf:areas -> ospf:ospf -> rt:control-plane-protocol) scopes the check to the augmented protocol instance, consistent with the area-level augment. Verified with the yangson YANG 1.1 datastore validator: with EID 9289 applied, a configuration setting advertise-unreachable-link = true on an interface of an area with unreachable-link-advertisement/enabled = true is rejected ("member-not-allowed") for both rt:type = ietf-ospf:ospfv2 and ospfv3; with the corrected text both are accepted, the "must" constraint still rejects enabled = false, and pyang --ietf reports no errors. 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]
