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

tom petch <ietfc@btconnect.com> Tue, 11 August 2020 10:09 UTC

Return-Path: <ietfc@btconnect.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 EDE3F3A0F54; Tue, 11 Aug 2020 03:09:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h2Te6vE05z9E; Tue, 11 Aug 2020 03:09:55 -0700 (PDT)
Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20123.outbound.protection.outlook.com [40.107.2.123]) (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 0FDF73A0F53; Tue, 11 Aug 2020 03:09:54 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DpasiZ+5GVo+ypamB+cl0cz9l+CayYyY+SlDgwt1TSqM+FcYAjyL/cc7/U9JP9oX2HQ0xot6qCdYiQFjdjcg45kF7FTIcLYev37o0IZsi8zyaU9mejiWCGFIfIQ4VaiLUIirIuADLVSswQ8pXHD5vrVvSGXmhNMM/rmAGZIvFQvk9tPEEVhyR7Yx+50PEVSsMtW+br4hdcA+icARJ6f7VKKccFSB6fnxYGsKAeN09+Dv665i2f0tMGN8g12fhLtOI5tO7MPajX+QsvziLPPEhaKvENv9VV+wudI7I8hxww4G56/VDZCJpndpHEGjB9uraUCO/wvYx3f7jQYQ7uaPqw==
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=DQ/vKeipvnkrJLsaO3wVwhM5fIDPRxdHgN5o8fwOIoU=; b=Zbwnbj2W+ppV4PB5Ur+VF061FROwpkDjR9nhP0BjdgwgoeabfgXmDk0otMzjQVUqHyJItzNNEEtk2h5NPRw1eBMnqtpmesE0oCnwXqYaiII7ogW9VH+SsaU4nnOV62dit6mBXOoKvrVytDCx4Jfg6rEo3qnBbCBcx4ULlu3CqNIDXzepYUkMwCdlZSDch4/fcuOE1i8SVNDdQx+8h7WnxOLOTTYAlF8aBAr57Yt77kn/9hDhMAFSN/NuJNSv9VdgpObwW8RW+VZO7G+7kh4OsoHt22sLoivRGF7wxWH6Cbj+3IfKXZ8UM0dxQVorPWWmtZ9B3ld6Uu9JJBpvB4foww==
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=DQ/vKeipvnkrJLsaO3wVwhM5fIDPRxdHgN5o8fwOIoU=; b=FaHdjpUl/qFevPZruvJNZpt/y3d7PsWf8uSWrOfQ+uMfXp9wnyMjIOgMx6j2Aey4ynbcJrlZnEb/kzXae3njIIprvX7mnceaB/MwbU7XeKQoqrC2lW6YNCERe4AdRBKwEzCCKDgn/GVrgyj1nPtediHtu6B67XqHuXVub/JSM/g=
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com (2603:10a6:20b:134::11) by AM6PR0702MB3830.eurprd07.prod.outlook.com (2603:10a6:209:d::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3283.11; Tue, 11 Aug 2020 10:09:52 +0000
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::b570:437a:db46:400a]) by AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::b570:437a:db46:400a%9]) with mapi id 15.20.3283.014; Tue, 11 Aug 2020 10:09:52 +0000
From: tom petch <ietfc@btconnect.com>
To: "Acee Lindem (acee)" <acee@cisco.com>, Tarek Saad <tsaad@juniper.net>, "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: "netmod@ietf.org" <netmod@ietf.org>, "netconf-chairs@ietf.org" <netconf-chairs@ietf.org>
Thread-Topic: [netmod] [Technical Errata Reported] RFC8349 (6251)
Thread-Index: AQHWbzHSqdMkE6HM9EyxkyvyiFxhiKkxhqvjgAAjZ4CAAA/wAIAAD+gAgADRdRKAAA8gAIAAAvc3
Date: Tue, 11 Aug 2020 10:09:51 +0000
Message-ID: <AM7PR07MB624856FF14ED726D2B86E8DEA0450@AM7PR07MB6248.eurprd07.prod.outlook.com>
References: <20200807154534.98486F4074B@rfc-editor.org> <AM7PR07MB62480F112A28FA0B0F068D91A0440@AM7PR07MB6248.eurprd07.prod.outlook.com> <MN2PR11MB43664780B4844ABA07C84D0AB5440@MN2PR11MB4366.namprd11.prod.outlook.com> <3073B02B-7413-4C00-ACF1-CA2679C0C949@cisco.com> <57AAC8FB-65D7-40D9-BFE7-B16A7F680C0E@juniper.net> <AM7PR07MB6248984045BBA46199BE751CA0450@AM7PR07MB6248.eurprd07.prod.outlook.com>, <24CD45FE-939A-4B51-9149-BE8487D5E026@cisco.com>
In-Reply-To: <24CD45FE-939A-4B51-9149-BE8487D5E026@cisco.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
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;
authentication-results: cisco.com; dkim=none (message not signed) header.d=none;cisco.com; dmarc=none action=none header.from=btconnect.com;
x-originating-ip: [81.131.229.35]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: ed8ab2b0-5c6b-4c37-6686-08d83ddeb028
x-ms-traffictypediagnostic: AM6PR0702MB3830:
x-microsoft-antispam-prvs: <AM6PR0702MB3830096E15E1D7B1228D71B8A0450@AM6PR0702MB3830.eurprd07.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: naxzvuHeEnkTV2O3XB5/JesU9ba/OrEf44JT5wayJcIHk2Afn0Cxwmjjvmwwe6EfoY7xwRgHHwdbm+QSd63IQ3tPOLT84rnXB5gk8/kOA4HV7OxxCXo4wtFh0r36B5RLgCkYUqIcOHcuISgiM5O3AyXa8a5mFKe3mWqRnxhWdCiswa1A4ic350bjiLNSZO/YtoWtR/zdK+rHDdxQaja0XbSF/4A8C/TbWIt2NH2nmkcxiK1lbjKJ2BUPFC/Frck79GfUbW5ikqAqsby6rp0kuU8r5m0XQ8oOK3/Qal/LujbPn0ZuX3e5QVxpJO6Cz1XiAuRgICDdQ6r2KW/JVeCR7ggT+Kyxnxn3kAKHOFG0IvVb7llrKmzeongHAEAgCsClgHJbrE11MtL/XeJFxnh8WA==
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:(136003)(366004)(39860400002)(376002)(396003)(346002)(86362001)(9686003)(71200400001)(55016002)(478600001)(83380400001)(26005)(110136005)(8936002)(316002)(76116006)(5660300002)(91956017)(52536014)(33656002)(54906003)(2906002)(7696005)(53546011)(64756008)(66446008)(66946007)(8676002)(4326008)(966005)(186003)(66476007)(6506007)(66556008); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: xIeKPvXg3Ctgh4GFIhPrzssFuP7uNkxSwtSRhrxibOmdc7yqvwFjTr9OuewJdkzpCDdY/pWsC1VFVODTKW1nbpaxcZKIive/tDasdv54HYhghsBq/27mcI/mZhfAOgPAr9Yv0jcRtCbAviSfVDKEmeTY2CxJ/8OoOhMEG2VclZA9ogAqkPg86mQiv0r4wfi6gYBWtC+WB6Dkw3NiQodNmH70FiSwc8VdAxpLNUL7e7QvnL4hsy+hj5KGFCrxTUhQW9s2Lad6GeP1q2QDk8yx6DtH6fZ1a9mNwTdzVTeJUlANbPmTuCLf+JX4L2w1mUTnUHjI1PDuiXnT8wOA9wAAs2ymE5J0dSel9D0xlp9d6E2wK66fEp205jN/SGKcjJbTnZJ2JKYKfD4aUl7fZMpCcYJMHGzUsHyWa2+p2UrW1l/Qqe0p41IY2HPQWEdlWmMOT6XEahFRwpXc+WbaoCsSZP2Nlo8NtanYvkCdcX5nUKUTKMzTghzk3QqDDW4ZAE6C0rpCRknhC1k3nYah0nYCf0QAyFARvHDYBYYqNIcgMnav3Z0QznhEMD4iyHma9VE+7OwOhb8dBRw19rin07vsSvhL9Ghb+HJ/HRVACLQH/cKMe/7HFNs9mxe6IJ50D+quh+MDCwKIsa6imoUatxp/JQ==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
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: ed8ab2b0-5c6b-4c37-6686-08d83ddeb028
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Aug 2020 10:09:51.9719 (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: U+ZKjSH7IhsVpiNn6Vfg8EN+kQbLPnPWxn+MAlYIdK8PTnFkTYRTYi733U1t+d7GInZ0nv9GRhdYDsPdt11gGg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0702MB3830
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/_glJvtCp0bLi7nv3jklwjGZiCzA>
Subject: Re: [netmod] [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: Tue, 11 Aug 2020 10:09:58 -0000

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