The following errata report has been verified for RFC9983, "OSPFv2 Anycast Property Advertisement"
-------------------------------------- You may review the report below and at: https://errata.rfc-editor.org/eid9311/ -------------------------------------- Status: Verified Type: Technical Reported by: Yan Chen <[email protected]> Date Reported: Nov. 14, 2026, 2:20 p.m. Verified by: Gunter Van de Velde (IESG) Section 4.2 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')" { description "This augments the OSPFv2 interface."; } description "This augments OSPFv2 interface with anycast property advertisement."; leaf anycast-flag { type boolean; must "not(../anycast-flag = 'true' and " + "/rt:routing/rt:control-plane-protocols/" + "rt:control-plane-protocol/ospf:ospf/" + "ospf:areas/ospf:area/ospf:interfaces/" + "ospf:interface/ospf:node-flag = 'true')" { error-message "The anycast-flag and the node-flag MUST " + "NOT both be set to 1 (true)."; description "Ensures architectural consistency by preventing a prefix from being marked as both anycast and node-specific."; } 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')" { description "This augments the OSPFv2 interface."; } description "This augments OSPFv2 interface with anycast property advertisement."; leaf anycast-flag { type boolean; must "not(../anycast-flag = 'true' and " + "../ospf:node-flag = 'true')" { error-message "The anycast-flag and the node-flag MUST " + "NOT both be set to 1 (true)."; description "Ensures architectural consistency by preventing a prefix from being marked as both anycast and node-specific."; } Notes ----- The YANG module ietf-ospf-anycast-flag@2026-05-19 in Section 4.2 contains two XPath defects that cause standards-compliant YANG 1.1 validators (RFC 7950) to reject valid OSPFv2 configurations: 1. In the augment's "when" statement: (a) Per RFC 9129, identity "ospf:ospfv2" (base "ospf:ospf-protocol") has no derived identities in standard OSPF configurations where rt:type is set to "ietf-ospf:ospfv2". 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 second argument, so derived-from(..., 'ospf:ospfv2') evaluates to false for rt:type = 'ietf-ospf:ospfv2' and makes anycast-flag invalid to configure. RFC 9129 itself uses derived-from-or-self(..., 'ospf:ospfv2'). (b) 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; relative path ../../../../../rt:type scopes the check to the augmented protocol instance (from ospf:interface -> ospf:interfaces -> ospf:area -> ospf:areas -> ospf:ospf -> rt:control-plane-protocol). 2. In leaf anycast-flag's "must" statement: The second operand (/rt:routing/rt:control-plane-protocols/rt:control-plane-protocol/ospf:ospf/ospf:areas/ospf:area/ospf:interfaces/ospf:interface/ospf:node-flag = 'true') is an unbound absolute XPath across all OSPF interfaces on the router. Because XPath "=" over a node-set is existential, setting node-flag = 'true' on any single interface (e.g., loopback lo0) causes configuring anycast-flag = 'true' on a different interface (e.g., anycast loopback lo1) to fail validation. Per Section 2 ("Both the AC-Flag and the N-Flag MUST NOT be set to 1 for the same prefix"), the constraint applies to the same interface (../ospf:node-flag = 'true'). -------------------------------------- RFC9983 (draft-ietf-lsr-anycast-flag) -------------------------------------- Title : OSPFv2 Anycast Property Advertisement Publication Date : May 2026 Author(s) : R. Chen, D. Zhao, P. Psenak, K. Talaulikar, C. Lin Category : Proposed Standard Source : lsr (rtg) Stream : IETF _______________________________________________ Lsr mailing list -- [email protected] To unsubscribe send an email to [email protected]
