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

tom petch <ietfc@btconnect.com> Fri, 29 July 2022 11:32 UTC

Return-Path: <ietfc@btconnect.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 DCF4EC157B57 for <mpls@ietfa.amsl.com>; Fri, 29 Jul 2022 04:32:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.911
X-Spam-Level:
X-Spam-Status: No, score=-1.911 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=btconnect.onmicrosoft.com
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 W-gyk9eJPZTl for <mpls@ietfa.amsl.com>; Fri, 29 Jul 2022 04:32:40 -0700 (PDT)
Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2137.outbound.protection.outlook.com [40.107.22.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7E526C1594AD for <mpls@ietf.org>; Fri, 29 Jul 2022 04:32:40 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RG8Y8JR23CuQqfQ4uDAv48fFhKFOncSp0beyGwMfrreaIHH98JXd/pK+ev95e2YdTxCwyFhPaGFY9P/Bj3ptvblTxO+qDAlIcsBoMBGaNf6cPpptbLegu121f0P/ZCQRqn3RloMvtKOAOacd+2KGv5Wrr2kPrSr0OYhkBftGo+y4f9U4zr51HKp4RryJenCZT+c/WORHKp6A7gh4Hwd5eX1PuNnuc2gJiIvt2Sb08UDWmBsokQhsr3ExcnhchrptWvVAPSGZ5rc9VdsjSbOvA9+K69whbCE4UJbLbCWb3Ii00FEP5FxJxMNEgtuDwv80cluhRWhn6aVvm1/n3olxwg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=lhEpu7ViWCZ/dGCZE3WrXz0zJasDZ9Y2bUjHC0gq3gI=; b=NfKjKEKtDMdnQA5Fxns6kOujwF8awixpL3Q9KTG8B9q5jCJrgjvJbNHGJn9G5ulN9sxWnkseWelKRC6RNXfB9sGTqfv8VhXvZ1S/TG58xW6/mil7YtN9H/p5cPww+mDHFyJeMtzHnqYgJRZLJ6SdtWO4sZpvvdMfX6FL9GJiTpLwBGotI2yhvKLGJGZhWyjlnRyKTo4N02yVcYKrneZDAvwfytMU+ECV6w1wLWJgAFOMY+w0wvarSCxvlgz91cfSPDoZPSqlr2x5OVXnFbejwj3rIXVf0FdiWZc7qmtjP5iw0sUnShWmHq6Shpx1sVB3m+AUjz1pAqykR7EdIQp7Jw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=btconnect.com; dmarc=pass action=none header.from=btconnect.com; dkim=pass header.d=btconnect.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector2-btconnect-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lhEpu7ViWCZ/dGCZE3WrXz0zJasDZ9Y2bUjHC0gq3gI=; b=m8kHDG4P3cOAxlXrQk+iG05iafX8QrDvKjdMtQhlI7ArpdWwiEQVXlGR9mxUW1kqLdtZTTs0VvJfbU4awwz0/2QDqVD/DPCxzsl7GsRNH9ISIMKITlIO9noJhpRNIdBVDzu/ro7KOugDAyjV6SUQ4JBGgAdJP58sc2iYZy6+sV0=
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com (2603:10a6:20b:134::11) by AM6PR07MB5206.eurprd07.prod.outlook.com (2603:10a6:20b:61::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5482.12; Fri, 29 Jul 2022 11:32:35 +0000
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::9005:7594:94ee:30a9]) by AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::9005:7594:94ee:30a9%9]) with mapi id 15.20.5482.001; Fri, 29 Jul 2022 11:32:35 +0000
From: tom petch <ietfc@btconnect.com>
To: RFC Errata System <rfc-editor@rfc-editor.org>, "tsaad@juniper.net" <tsaad@juniper.net>, "skraza@cisco.com" <skraza@cisco.com>, "rgandhi@cisco.com" <rgandhi@cisco.com>, "xufeng.liu.ietf@gmail.com" <xufeng.liu.ietf@gmail.com>, "vbeeram@juniper.net" <vbeeram@juniper.net>, "aretana.ietf@gmail.com" <aretana.ietf@gmail.com>, "jgs@juniper.net" <jgs@juniper.net>, "andrew-ietf@liquid.tech" <andrew-ietf@liquid.tech>, "loa@pi.nu" <loa@pi.nu>, "n.leymann@telekom.de" <n.leymann@telekom.de>, "tsaad.net@gmail.com" <tsaad.net@gmail.com>
CC: "jlindbla@cisco.com" <jlindbla@cisco.com>, "mpls@ietf.org" <mpls@ietf.org>
Thread-Topic: [mpls] [Technical Errata Reported] RFC8960 (7059)
Thread-Index: AQHYoz2DAiRH7ZVcGkOj3IfOYvsyX62VNflQ
Date: Fri, 29 Jul 2022 11:32:35 +0000
Message-ID: <AM7PR07MB6248E186845F71CFA7A0324EA0999@AM7PR07MB6248.eurprd07.prod.outlook.com>
References: <20220729112223.B2AED4C29E@rfcpa.amsl.com>
In-Reply-To: <20220729112223.B2AED4C29E@rfcpa.amsl.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=btconnect.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: cf17703e-fd4b-4354-2f43-08da715608a2
x-ms-traffictypediagnostic: AM6PR07MB5206:EE_
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: jXcLBGjKqPd9gn4SHzhyeRnr+8gkBCOJt3oXqcRK5aH9GaRCQTiIAORw1AyyIzUhQ8jcTgwRj2ElYhveYAPI3c6z95vlfLtQlbDfGBO4BpYZVuFS0Gu3PAOjaEJTdnm9YtjMK2kf7xuuiuLJ+huM7fc348YkUO1m5MFguipgqwx3fxstbalAwqgk/faZTmoupn/0YGW5EnTIvtvQtLo7WeaCqGKdHTgGLlGtEkhWSR8laADzle7lE/ujoajJh5/JxkDtI1VV75f8gMT7U+BR9uxBTSx6Gc8I/6sNzCkXuRBocjorveO2z5bHCqlpJc17SFVC1cGtb4+vk1VKkybcV3nX4JQpEqXOA7KwqeEyglHbfa0lkHZO6asjKQ+PzeRBWknTjHuAEfw/9+KNKcutoqozv/vOMwGlNy4k/aE3MsWoNrMkrYqJKcmwjcb15jXBc7JdaBaMsl+0kM2RXxx1wjIKz/w8Fbf9uZPw25DGoeO/OQefZM25/Kliq3I0W9ECQPWBsemNcTazEZl+SBMkZ2VQCRSZRNg7p2cb51hZW8j80Nss2Iafb7ZRrglpYYOgteYSlOqASM8FUvsSNBU4MBNkRpPO8rU5fxxDnqrLplB8vvoutI88Vwwb2n2hmi3mLBfnqg64sfk5xAV8Sw7eK7NOExhcsVCO9KdDXVJfbl+wlFUscPlTu7fcjH66iKe0e1ybw7Df5sBcEBlbfHNFU5wVz6/OA/UjArQsXmURucMtlq09uEVgMpJrB4lTEZTJ1gPTnHbiFvtkf0HIFTl9edudXtII7XNZUvD5U8+HPgjOoH3t8vMuh+Du5WU89ZmFKyWZS/zME2Zq7nGpmcaS6g==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM7PR07MB6248.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(366004)(396003)(346002)(376002)(136003)(39860400002)(122000001)(38100700002)(41300700001)(5660300002)(82960400001)(52536014)(38070700005)(921005)(7416002)(8936002)(966005)(71200400001)(478600001)(83380400001)(66946007)(66476007)(66446008)(64756008)(8676002)(4326008)(66556008)(76116006)(316002)(91956017)(186003)(7696005)(6506007)(54906003)(110136005)(9686003)(26005)(55016003)(2906002)(86362001)(33656002); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: tXrygTH3+EhUzgSngfsu4sF0rmBGGHg1DNNvWhajvYh6ViUf9shZG3U8YuagZFAEZq8yNfxhOSjhqM7ykuCKeDw54eU++eY/RqbpRkCNxQH1T7Hp+Y9QVlAVwyZgu1SkCoV8qa99ibrqbZasi/uh+eDotPpOzpowlhJhtcoXUWOjGIWsD39ibr3JxrpVgRRgylq1SPyhVFh0ff6N0VBRrlcUnXBYitzyZ5A6awpxFVnb+tMw+NMQB+dAKqKzAnE7LF48CKHES+gxn5SuvEWTzPvXfTbeXO9XryTbF3hdt6AXZ4OorjfRSNlZGzhCNSaDP2s/AWOjlj4Bhflea45SsfwmcgE1ab6rofdKjii83YDDpxZLo0EP1EPTdGYS1qO0sh5K3ppMLzjHHJ1yRbozK1NsqsrB706FBq1s125QaoSqObPcTiKJl8yZTSLwJsUPDTLWJ9opA3ulIeudKByAnFNdQaQNCY3fHeFpnLvblVHA9KiiGmsZk/QCrGSpTIB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transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM7PR07MB6248.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: cf17703e-fd4b-4354-2f43-08da715608a2
X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jul 2022 11:32:35.1850 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: NQH696Ea5ddDzr5ClUH+5DX6H/ZrLuT9Hgkvynal8Wlf8Eh9NLb0MBQETAfWWBySgrlaX2DpiGXeDQCbHpBldg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR07MB5206
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/4Ohl3_vSTOao3CCEcA0yA19avH8>
Subject: Re: [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:32:44 -0000

From: mpls <mpls-bounces@ietf.org> on behalf of RFC Errata System <rfc-editor@rfc-editor.org>
Sent: 29 July 2022 12:22

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>

<tp>

I think that Jan is right in the sense that

- the author did not understand the YANG that they specified (or at least the XML part) 
- it renders the when clause more or less meaningless

It is also very widespread across WG and I-D/RFC which makes fixing it a challenge (a bit like having or not having zone in an ip-address type).

It is also a technical change to what the WG endorsed at the time.

Challenging.

Tom Petch

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

_______________________________________________
mpls mailing list
mpls@ietf.org
https://www.ietf.org/mailman/listinfo/mpls