Re: [netmod] [mpls] [Technical Errata Reported] RFC8349 (6251)

"Acee Lindem (acee)" <acee@cisco.com> Fri, 14 August 2020 16:29 UTC

Return-Path: <acee@cisco.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5DB943A1027; Fri, 14 Aug 2020 09:29:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.598
X-Spam-Level:
X-Spam-Status: No, score=-9.598 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=PgHVw71M; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=M9fmKNUC
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lhEa__MihPlc; Fri, 14 Aug 2020 09:29:01 -0700 (PDT)
Received: from rcdn-iport-6.cisco.com (rcdn-iport-6.cisco.com [173.37.86.77]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A32953A1023; Fri, 14 Aug 2020 09:29:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=21976; q=dns/txt; s=iport; t=1597422541; x=1598632141; h=from:to:cc:subject:date:message-id:content-id: content-transfer-encoding:mime-version; bh=9M14UYZp8OgGxTNUBLmeo4NiD414H1YxRmKFi3cJgsI=; b=PgHVw71MHRoRGH3DHPDwhgEOLe3MEiLmJ9ERzClWKfI3EaAjoSV2QvOm 8bH/nAGvkEjHRQ51zGLigP5wyFSxUfUNJ5/sYXG5FvdwWXjP0IEuc9mVk WwhvsNR198zde7SCl9wqUMpEDrOF57XPORk4nWA8xJob4Z2mKVDDyPbZr U=;
IronPort-PHdr: =?us-ascii?q?9a23=3AzAGz+Raj+S4aygBRVnXr4M7/LSx94ef9IxIV55?= =?us-ascii?q?w7irlHbqWk+dH4MVfC4el21QWVD4ne4uhPzevbr66mXnYPst6Ns3EHJZpLUR?= =?us-ascii?q?JNycAbhBcpD8PND0rnZOXrYCo3EIUnNhdl8ni3PFITFJP4YFvf8XG35CQZXB?= =?us-ascii?q?TyKQQzIf76Scbeis2t3LW0/JveKwxDmDu6Z+Z0KxO75QXcv8Ubm81sMKE0nx?= =?us-ascii?q?DIuXBPPe9RwDBl?=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0DVCQCiujZf/5BdJa1fHgEBCxIMQIE?= =?us-ascii?q?/C4FSIwYoB3BYLywKhC2DRgONLyWYZ4EuFIERA1ULAQEBDAEBGAYPAgQBAYQ?= =?us-ascii?q?IRAIXgjACJDYHDgIDAQELAQEFAQEBAgEGBG2FXAyFcQEBAQQBARAREQwBASw?= =?us-ascii?q?LAQsGAQgRBAEBAwImAgQlCxUICgQBDQUbB4MEAYJLAy4BDqdyAoE5iGF2gTK?= =?us-ascii?q?DAQEBBYUyGIIOAwaBDiqCcYNggj6EDhqCAIERJwwQgk0+gQSBWAEBAoEoAQw?= =?us-ascii?q?GAQeDMTOCLY9oEBeCdIcHgnmIC5EkCoJiiGORPAMegn+JW4gsixmSOIFsiFa?= =?us-ascii?q?QToQsAgQCBAUCDgEBBYFaDSZncHAVGiEqAYI+UBcCDY4fDAwLgQIBAQmCQYU?= =?us-ascii?q?UhQkBNwF0AjUCBgEJAQEDCXyNYYE0AYEQAQE?=
X-IronPort-AV: E=Sophos;i="5.76,312,1592870400"; d="scan'208";a="813838396"
Received: from rcdn-core-8.cisco.com ([173.37.93.144]) by rcdn-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 14 Aug 2020 16:29:00 +0000
Received: from XCH-RCD-005.cisco.com (xch-rcd-005.cisco.com [173.37.102.15]) by rcdn-core-8.cisco.com (8.15.2/8.15.2) with ESMTPS id 07EGT0EU018664 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 14 Aug 2020 16:29:00 GMT
Received: from xhs-rtp-003.cisco.com (64.101.210.230) by XCH-RCD-005.cisco.com (173.37.102.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 14 Aug 2020 11:28:59 -0500
Received: from xhs-aln-002.cisco.com (173.37.135.119) by xhs-rtp-003.cisco.com (64.101.210.230) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 14 Aug 2020 12:28:59 -0400
Received: from NAM02-BL2-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Fri, 14 Aug 2020 11:28:59 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YKk3mCXc2CD/JWDTI/xX7QLjiZtPMSmB2gRxs129v/f/UdL6sjxjMenJOo/0SDjnij3Ge6cJaGJs6hi6kMLwAzyzkqyph5Z0JhjC4Vcz+g4TUgUBNRXcSshiOxj/1mWog53YBgs38GJ4/bT+yVJDTzmYNoNXNT992jNkM5w/x2Oqoj6igqDR5fujUaPv08IOLzIHZPgjcZyzaDIX3/uJZ7PpBSx/BkQUVO/aGtEm9ugPciSRArOwVV5eBEUI0xXvqL0AosM2/j7Qbt1vVlZdpSDl92FLEHeFH1OgTzBCUCXucTgFUOpYxa6v9ALxE87PVdhpKnxr6f5dWE7NMMw1lA==
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-SenderADCheck; bh=9M14UYZp8OgGxTNUBLmeo4NiD414H1YxRmKFi3cJgsI=; b=hPFZ0sbGdhGMC7ibmtiZdRcmg5ALhgzzllzApN9Ytx2lIJfOVEr8iLFJ3mYJUGnIhjtUypDbAAarYRYetVkKL+r9MYwA2vDoEgRlBJ/lXBVnNEU0pVnmyRyO0vhjzRF6OQueROAfOOhgwhJkDv6lifPso6hKwgYfn9uUe+y2kGoR0N9c2PuTpF8X9cK68WCjgIW693jx1qRKTs9ITAP6b2oSXtDYPVLoJ3e3N8975vY6RBKta99RSkJ45SLFpWwnI0lojp2JcryzKUA4TBSalJ/JRhsi20bAxKC8V8Kf+VLrBgEtAjqU6lb8/Xe9CAv21DBVkmeWtjSnfNUcYgcBEA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9M14UYZp8OgGxTNUBLmeo4NiD414H1YxRmKFi3cJgsI=; b=M9fmKNUC1nMRf94hpSr6kUK3C0v1YmzBep8FtSFeFq22zkgBXfKPXjedPnJgWawiwc9o8V4gaehga8Kr6pubHcnqFmp4aU08nfXCYI5Wr8xk133Fs/uU4wAEHRVQCQ1LLX9AKZtNCAIbyvz+wj7papNTK2swRcJo0VnK8djaP1o=
Received: from BYAPR11MB2887.namprd11.prod.outlook.com (2603:10b6:a03:89::27) by BYAPR11MB2855.namprd11.prod.outlook.com (2603:10b6:a02:ca::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3283.22; Fri, 14 Aug 2020 16:28:58 +0000
Received: from BYAPR11MB2887.namprd11.prod.outlook.com ([fe80::2421:a08b:312a:7757]) by BYAPR11MB2887.namprd11.prod.outlook.com ([fe80::2421:a08b:312a:7757%5]) with mapi id 15.20.3283.015; Fri, 14 Aug 2020 16:28:58 +0000
From: "Acee Lindem (acee)" <acee@cisco.com>
To: "Acee Lindem (acee)" <acee=40cisco.com@dmarc.ietf.org>, Tarek Saad <tsaad@juniper.net>, tom petch <ietfc@btconnect.com>, "Rob Wilton (rwilton)" <rwilton@cisco.com>, RFC Errata System <rfc-editor@rfc-editor.org>, "lhotka@nic.cz" <lhotka@nic.cz>, "yingzhen.qu@huawei.com" <yingzhen.qu@huawei.com>, "warren@kumari.net" <warren@kumari.net>
CC: "mpls@ietf.org" <mpls@ietf.org>, "netconf-chairs@ietf.org" <netconf-chairs@ietf.org>, "netmod@ietf.org" <netmod@ietf.org>, "draft-ietf-mpls-base-yang@ietf.org" <draft-ietf-mpls-base-yang@ietf.org>
Thread-Topic: [mpls] [netmod] [Technical Errata Reported] RFC8349 (6251)
Thread-Index: AQHWclgCPYxsuyrUxEGu5AtxD3hO8g==
Date: Fri, 14 Aug 2020 16:28:57 +0000
Message-ID: <AABAB849-3792-41AE-928B-3D72F843DBF6@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Enabled=true; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_ContentBits=0; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SiteId=bea78b3c-4cdb-4130-854a-1d193232e5f4; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_ActionId=42648655-a83a-47dd-85df-00007a4a57df; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SetDate=2020-08-10T20:01:11Z; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Method=Standard; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Name=Juniper Business Use Only;MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Enabled=true;
user-agent: Microsoft-MacOutlook/16.39.20071300
authentication-results: dmarc.ietf.org; dkim=none (message not signed) header.d=none;dmarc.ietf.org; dmarc=none action=none header.from=cisco.com;
x-originating-ip: [136.56.133.70]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 6c61bf3d-648f-46d7-acb8-08d8406f2519
x-ms-traffictypediagnostic: BYAPR11MB2855:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <BYAPR11MB2855FA4233CF3FECE5F1CCD9C2400@BYAPR11MB2855.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: EoSua8DDFYDd7c5QCoq6WofUPYKky4gn7B84tfqqFvbW8mHIFH1bblNlZbBrmBRd3XrdFAthJUxO1XR7xlcmPQg6VmzTM0UiKFFxER/uAsrB1yHetxU/0ThoOcXcR72ZC6gnriSuFoRssp1LdG/B+jQnxBI04YRzuZhX4uo8MZKoj8R2g6YyLWN6X+3fK5IXMukf7gKppZMNuT6gyRKwMo2b0TYij4FjedIcwRxLhoygX3cl5iOmzkpTVlUyATFMUAfZ6sKM4B7F5q7lof36FpNENW4dzOE0h9RBeECPSv/ciwJrtM5Jk7S6TlHn6MRmccUj5LJSB/AAm5YsnlNkCsugjgUQSGzKE4ONCAjLD6Labt5fSFk2vybiYFdJfIDWQLfkzXK0+VJSsxunQ75pSg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB2887.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(396003)(39860400002)(346002)(136003)(366004)(54906003)(7416002)(4326008)(64756008)(8676002)(8936002)(2616005)(66946007)(83380400001)(186003)(2906002)(30864003)(66556008)(66446008)(76116006)(66476007)(5660300002)(26005)(53546011)(6506007)(966005)(71200400001)(478600001)(33656002)(6512007)(36756003)(110136005)(86362001)(6486002)(316002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: U/NWE8Adik1v2tQLA55BILHsGqu0TDMJvWnSNDK0l9cwmpxNDtGb6lvCoPihrBa3Cpe/e1oCsOButiw8lJMCzHS94JVwRGtDldWIfmVOFKugAWexD1qqnf8sxuo/Hxb4e1vcVPVzZd+8d43iTtu4fJixGYC6wB7dgYaq/UTu5wGA3BwTLodFblMquqDoH18mkTS26SXy0LWMsWdKWqiLNYgVB7CTN3NH2PiURU0DFm7lyCv0tWSnEPHWopzIAMSxTqfV1lXAZEtpbg2IO5QQL9JoitQ9D9ou5h+s0lnjhSOQUWuCcZxQsMDaGnT/+og0A01bQjU8ippZsc0d5E1z3CgBiSkZT7OQk4uDiLCvdMeiUjWSx+dHu0rlHbuKJsPhzy77fMEnEelh8jF3UsitTBB37PWOS4mXCJY1/dO6npJ+7Pa2B0GGdpXU/Nb8CnT+D5vNj2FRI4rwGXidE3AVzWXdbRAZn9qxKsM1a+aRC3pYMv3m03shsE0lbTuM/htStVDClhNnMEr1Ib9g/oI9qRbSw/NEFLxBrc1EMooWdkNqIe3ctvYDIkPKpTIURgQxGVzY/Ms8BChCGnkp94gQtko0ucJ7uWLKtnaQtPt2wEz0MhUT+q8v/yWmFQiFtWlpyI8LCYt191agaUMsJUBQLg==
Content-Type: text/plain; charset="utf-8"
Content-ID: <D6D4D99C666D7D4DAF2FD1030F1622A2@namprd11.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB2887.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 6c61bf3d-648f-46d7-acb8-08d8406f2519
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Aug 2020 16:28:57.9822 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: nUW+u84fl0UKS+6eKgiTQInlQ+o/7Gy2vch0wzTa7NfiIxWcIk6616rAe/ePgo1F
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB2855
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.15, xch-rcd-005.cisco.com
X-Outbound-Node: rcdn-core-8.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/GnEFXwnsu8f3O9GdiTgpqsrg7Z0>
X-Mailman-Approved-At: Mon, 17 Aug 2020 08:30:45 -0700
Subject: Re: [netmod] [mpls] [Technical Errata Reported] RFC8349 (6251)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Aug 2020 16:29:05 -0000

Hi Tarek,
Can you also add the description of the native MPLS RIB to the text? 
Thanks,
Acee

On 8/14/20, 12:27 PM, "mpls on behalf of Acee Lindem (acee)" <mpls-bounces@ietf.org on behalf of acee=40cisco.com@dmarc.ietf.org> wrote:

    Hi Tarek,
    This works for me. 
    Thanks,
    Acee

    On 8/14/20, 12:25 PM, "Tarek Saad" <tsaad@juniper.net> wrote:

        Hi Acee and Tom,

        The authors of ID: draft-ietf-mpls-base-yang met and we discussed the points below.
        We understand that RFC8349 defines an AF-agnostic model for RIBs. RFC8349 defined only two types of RIBs (IPv4 and IPv6 RIBs), but we envision other types of RIBs too (e.g. L2 RIB, MCAST RIB, etc.), in addition to MPLS RIB -- and we hope all such RIBs indeed leverage the generic RIB model introduced in RFC8349.

        We revisited Acee's suggestion and made a small modification (on top of it) that makes IP routes, MPLS routes (and possibly L2 or MCAST routes in future) - all have similar MPLS augmentation (in terms of local-label) while still adhering with RFC8349 to augment with leaf destination-prefix.

        augment "/rt:routing/rt:ribs/rt:rib/rt:routes/rt:route" {
          when "derived-from-or-self(../../rt:address-family, "
             + "'mpls:mpls')" {
            description
              "This augment is valid only for native MPLS routes.";
          }
          description
            "This leaf augments a native MPLS route.";
          leaf destination-prefix {
            type leafref {
              path "../local-label";
            }
            description
              "MPLS destination prefix.";
          }
        }

        We follow same approach for the active route RPC and continue to use a leaf "destination-address" as input (that points to a local-label leaf).
        If this is acceptable, we believe the errata 6251 can be rejected and we'll proceed with the change in the MPLS RIB model.

        Regards,
        Tarek (for authors)

        On 8/11/20, 9:08 AM, "Acee Lindem (acee)" <acee@cisco.com> wrote:

            [External Email. Be cautious of content]


            Hi Tom, Draft Authors,

            The draft could easily be fixed. You just need to:

              1. Expand on the single sentence in section 2.1 on the need for non-IP MPLS routes. Given that the draft wasn't modeled correctly, this wasn't apparent to most of the reviewers.
              2. Add an MPLS AF only augmentation (enforced via a when statement) to each route for the MPLS AF specific destination-prefix or destination-address.
              3. Limit the current local-label augmentation to non-MPLS AFs.
              4. Limit the active-route augmentation to AF MPLS and change the input to destination-address.

            Thanks,
            Acee

            On 8/11/20, 6:10 AM, "tom petch" <ietfc@btconnect.com> wrote:

                From: Acee Lindem (acee) <acee@cisco.com>
                Sent: 11 August 2020 10:47

                Hi Tom,
                I fully understood your original comment. There are other problems with this model. See inline.

                On 8/11/20, 4:59 AM, "tom petch" <ietfc@btconnect.com> wrote:

                    Tarek

                    Picking up on an earlier point,

                    ________________________________________
                    From: Tarek Saad <tsaad@juniper.net>
                    Sent: 10 August 2020 21:23

                    Hi Acee,

                    The existing RPC is used to query (defined AFIs=IPv4/IPv6) RIB to return the matching active route identified by a "destination address".
                    The MPLS module is trying to reuse this RPC so to query the MPLS RIB to return the matching active route identified by a "local label".
                    The RPC defined in RFC 8349 readily accepts MPLS AFI in it (/rt:routing/rt:ribs/rt:rib/rt:active-route) - unless we augment and suppress it with a "when check".
                    IMO, it is reusable as-is but the text below is limiting the leaf name that identifies an entry in RIB to "destination-address" only - in MPLS RIB the entry leaf name that identifies an entry is "local-label".

                It is not reusable as is since the augmentation RPC augmentation must have a when statement restricting it to AF MPLS. Also, local-label is a leaf which is applicable to all address families. It cannot be the AF MPLS destination-prefix. This augmentation is missing.

                <tp>
                I am probably getting out of my depth here,  On 1may20 I raised the issue of why the 'MUST' in the description in RFC8349 was not enforced in the YANG and 5may20 Martin explained that there is a rule in the YANG ABNF of input-stmt that makes the obvious impossible:-(  You are raising more profound issues about the RIB that I had not perceived when I reviewed mpls-base-yang for which I, and I hope everyone else, will be grateful.

                If this mpls I-D is to proceed in the immediate future, it looks like the action may have to be deferred for future study.

                More generally, I think that the interaction of forward by address and forward by label is challenging.  When first I looked at the MPLS I-D I was surprised at the way RFC8349 was augmented.  I had not seen MPLS as an alternative to IPv4 or IPv6 or ... in the way in which the RFC is used although the RFC does state that it can be; rather, to me, labels are a different animal, but I assumed that everyone knew what they were doing.

                Tom Petch


                Thanks,
                Acee


                    <tp>
                    There should be a 'when' check to enforce the 'MUST' but the rules of YANG do not allow it in this structure.  I raised this on the NETMOD list at the time of WGLC and Martin pointed me to a rule in the ABNF which prohibits such a check.  He also said that the rule was not needed and would be a candidate to remove when YANG is revised.

                    Hence I have always thought of this MUST in the documentation as a constraint that must be enforced in the YANG

                    Tom Petch
                            >            action active-route {
                            >              description
                            >                "Return the active RIB route that is used for the
                            >                 destination address.
                            >
                            >                 Address-family-specific modules MUST augment input
                            >                 parameters with a leaf named 'destination-address'.";

                    Regards,
                    Tarek

                    On 8/10/20, 3:27 PM, "Acee Lindem (acee)" <acee@cisco.com> wrote:

                        [External Email. Be cautious of content]


                        All (Speaking as an author of RFC 8349),
                        I just looked at this in more detail and I don't think the ietf-mpls.yang model should be augmenting the /rt:routing/rt:ribs/rt:rib/rt:active-route RPC. The intent of the RPC is to return the address-family specific active-route corresponding to the destination-address. This model attempts to overload this RPC with a different action all together - returning a route that has the local-label as an optional attribute. I'd reject the Errata and believe the augmentation should be removed from ietf-mpl.yang. Whether it is replaced with a different one is up to the co-authors of ietf-mpls.yang.
                        Thanks,
                        Acee

                        On 8/10/20, 2:29 PM, "Rob Wilton (rwilton)" <rwilton@cisco.com> wrote:

                            [Resend to hopefully pass recipient limit filter]

                            Hi Tom,

                            I would be interested to hear from the original authors.

                            My impression is that this is a technically reasonable change, but I don't think that an erratum can create a new revision of a YANG module.

                            If this erratum was processed as "Hold for document update" then would that be sufficient to do the right thing in the MPLS YANG module?

                            Regards,
                            Rob


                            > -----Original Message-----
                            > From: tom petch <ietfc@btconnect.com>
                            > Sent: 10 August 2020 17:32
                            > To: RFC Errata System <rfc-editor@rfc-editor.org>rg>; lhotka@nic.cz; Acee
                            > Lindem (acee) <acee@cisco.com>om>; yingzhen.qu@huawei.com; warren@kumari.net;
                            > Rob Wilton (rwilton) <rwilton@cisco.com>om>; joelja@bogus.com;
                            > kent+ietf@watsen.net; lberger@labn.net
                            > Cc: tsaad@juniper.net; netmod@ietf.org
                            > Subject: Re: [netmod] [Technical Errata Reported] RFC8349 (6251)
                            >
                            > From: netmod <netmod-bounces@ietf.org> on behalf of RFC Errata System
                            > <rfc-editor@rfc-editor.org>
                            > Sent: 07 August 2020 16:45
                            >
                            > <tp>
                            > This is the erratum of whose arrival I speculated on this list on June
                            > 16th.
                            >
                            > There is a degree of urgency about it.  The I-D in question is mpls-base-
                            > yang, currently in IETF Last Call, which is a Normative dependency of bfd-
                            > yang which is a Normative dependency for a small mountain of I-D which
                            > have been waiting a year or so (e.g.  ospf-yang).
                            >
                            > I suspect that the technically perfect solution would involve a YANG
                            > union, choice or some such structure but as I said in my Last Call comment
                            > I can live with a label that contains such as 'address' encompassing such
                            > as 'label' in the context of forwarding.  I take labels to mean what
                            > labels mean rather than what I might find in a work of reference.
                            >
                            > Tom Petch
                            >
                            > The following errata report has been submitted for RFC8349,
                            > "A YANG Data Model for Routing Management (NMDA Version)".
                            >
                            > --------------------------------------
                            > You may review the report below and at:
                            > https://urldefense.com/v3/__https://www.rfc-editor.org/errata/eid6251__;!!NEt6yMaO-gk!URK5WVsqD5g7WpzCU1VuzKJA0AUiawXBFLB_gENlsYMrpiMqDtyFoxw8DnSr2A$
                            >
                            > --------------------------------------
                            > Type: Technical
                            > Reported by: Tarek Saad <tsaad@juniper.net>
                            >
                            > Section: 7
                            >
                            > Original Text
                            > -------------
                            > The RPC "active-route" is used to retrieve the active route in a RIB.
                            > RFC8349 defined two AFIs (v4/v6).
                            >
                            > draft-ietf-mpls-base-yang is defining a new RIB AFI for MPLS as per
                            > section 3 in RFC8349.
                            >
                            > The RPC has a "MUST" statement that all RIBs must augment input
                            > parameters with a leaf named 'destination-address'.
                            >
                            > For MPLS RIB, it makes sense to augment with leaf named 'local-label'
                            > since MPLS routes are identified by MPLS label.
                            >
                            > We ask to make the following change:
                            >
                            > OLD:
                            >            action active-route {
                            >              description
                            >                "Return the active RIB route that is used for the
                            >                 destination address.
                            >
                            >                 Address-family-specific modules MUST augment input
                            >                 parameters with a leaf named 'destination-address'.";
                            >
                            >
                            > Corrected Text
                            > --------------
                            > NEW:
                            >            action active-route {
                            >              description
                            >                "Return the active RIB route that is used for the
                            >                 destination address.
                            >
                            >                 Address-family-specific modules MUST augment input
                            >                 parameters with a suitable leaf that identifies the
                            > route.";
                            >
                            >
                            > Notes
                            > -----
                            >
                            >
                            > 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.
                            >
                            > --------------------------------------
                            > RFC8349 (draft-ietf-netmod-rfc8022bis-11)
                            > --------------------------------------
                            > Title               : A YANG Data Model for Routing Management (NMDA
                            > Version)
                            > Publication Date    : March 2018
                            > Author(s)           : L. Lhotka, A. Lindem, Y. Qu
                            > Category            : PROPOSED STANDARD
                            > Source              : Network Modeling
                            > Area                : Operations and Management
                            > Stream              : IETF
                            > Verifying Party     : IESG
                            >
                            > _______________________________________________
                            > netmod mailing list
                            > netmod@ietf.org
                            > https://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/netmod__;!!NEt6yMaO-gk!URK5WVsqD5g7WpzCU1VuzKJA0AUiawXBFLB_gENlsYMrpiMqDtyFoxxyc2_LZA$



                    Juniper Business Use Only



            Juniper Business Use Only


        Juniper Business Use Only

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