[mpls] [Technical Errata Reported] RFC8960 (7059)

RFC Errata System <rfc-editor@rfc-editor.org> Fri, 29 July 2022 11:22 UTC

Return-Path: <wwwrun@rfcpa.amsl.com>
X-Original-To: mpls@ietfa.amsl.com
Delivered-To: mpls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D2E6DC1C9528 for <mpls@ietfa.amsl.com>; Fri, 29 Jul 2022 04:22:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.962
X-Spam-Level:
X-Spam-Status: No, score=-3.962 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.248, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Uul_7n3NmsvT for <mpls@ietfa.amsl.com>; Fri, 29 Jul 2022 04:22:24 -0700 (PDT)
Received: from rfcpa.amsl.com (rfc-editor.org [50.223.129.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0CC87C1C9FC4 for <mpls@ietf.org>; Fri, 29 Jul 2022 04:22:23 -0700 (PDT)
Received: by rfcpa.amsl.com (Postfix, from userid 499) id B2AED4C29E; Fri, 29 Jul 2022 04:22:23 -0700 (PDT)
To: tsaad@juniper.net, skraza@cisco.com, rgandhi@cisco.com, xufeng.liu.ietf@gmail.com, vbeeram@juniper.net, aretana.ietf@gmail.com, jgs@juniper.net, andrew-ietf@liquid.tech, loa@pi.nu, n.leymann@telekom.de, tsaad.net@gmail.com
From: RFC Errata System <rfc-editor@rfc-editor.org>
Cc: jlindbla@cisco.com, mpls@ietf.org, rfc-editor@rfc-editor.org
Content-Type: text/plain; charset="UTF-8"
Message-Id: <20220729112223.B2AED4C29E@rfcpa.amsl.com>
Date: Fri, 29 Jul 2022 04:22:23 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/YZJxNjD3PRLJ9SooH34coeY0vzs>
Subject: [mpls] [Technical Errata Reported] RFC8960 (7059)
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mpls>, <mailto:mpls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mpls/>
List-Post: <mailto:mpls@ietf.org>
List-Help: <mailto:mpls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mpls>, <mailto:mpls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Jul 2022 11:22:27 -0000

The following errata report has been submitted for RFC8960,
"A YANG Data Model for MPLS Base".

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

--------------------------------------
Type: Technical
Reported by: Jan Lindblad <jlindbla@cisco.com>

Section: 2.5

Original Text
-------------
        augment "/rt:routing/rt:ribs/rt:rib/rt:routes/rt:route/"
              + "rt:next-hop/rt:next-hop-options/rt:simple-next-hop" {
          description
            "Augments the 'simple-next-hop' case in IP unicast routes.";
          uses nhlfe-single-contents {
            when "/rt:routing/rt:ribs/rt:rib/rt:routes/rt:route"
               + "/mpls:mpls-enabled = 'true'";
          }
        }


Corrected Text
--------------
        augment "/rt:routing/rt:ribs/rt:rib/rt:routes/rt:route/"
              + "rt:next-hop/rt:next-hop-options/rt:simple-next-hop" {
          description
            "Augments the 'simple-next-hop' case in IP unicast routes.";
          uses nhlfe-single-contents {
            when "../../../mpls:mpls-enabled = 'true'";
          }
        }


Notes
-----
The original YANG statements make the "uses" statement apply to all rt:rib and all rt:route instances as soon as there is at least one instance that has mpls:mpls-enabled set to true. I suspect this is not the author's intent.

The corrected YANG statements make the "uses" statement only apply to the specific route instances that have mpls:mpls-enabled set to true. There are also other ways to fix this issue.

Instructions:
-------------
This erratum is currently posted as "Reported". If necessary, please
use "Reply All" to discuss whether it should be verified or
rejected. When a decision is reached, the verifying party  
can log in to change the status and edit the report, if necessary. 

--------------------------------------
RFC8960 (draft-ietf-mpls-base-yang-17)
--------------------------------------
Title               : A YANG Data Model for MPLS Base
Publication Date    : December 2020
Author(s)           : T. Saad, K. Raza, R. Gandhi, X. Liu, V. Beeram
Category            : PROPOSED STANDARD
Source              : Multiprotocol Label Switching
Area                : Routing
Stream              : IETF
Verifying Party     : IESG