The following errata report has been submitted for RFC9983,
"OSPFv2 Anycast Property Advertisement"

--------------------------------------
You may review the report below and at:
https://errata.rfc-editor.org/eid9311/

--------------------------------------
Type: Technical
Reported by: Yan Chen <[email protected]>

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').

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.

--------------------------------------
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
Verifying Party     : IESG
_______________________________________________
Lsr mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to