Re: [mpls] MPLS wglc draft-ietf-mpls-base-yang

tom petch <ietfc@btconnect.com> Tue, 25 February 2020 12:31 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 D7C443A0B86; Tue, 25 Feb 2020 04:31:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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 2_plEtX9nvZn; Tue, 25 Feb 2020 04:31:02 -0800 (PST)
Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70120.outbound.protection.outlook.com [40.107.7.120]) (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 B9FE23A0B89; Tue, 25 Feb 2020 04:30:58 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RNZMjB3eu/XTOx4floOzeDTCCrUae0Hl+lYFDJldOgWhDFfCK6qztcTnw5nwWI150fYdqaGBZo1jcXtgf0iJnF+cBFw56K3XnoW1IPygDLz01T0kzQ/0/V2T7wdzLm5M2fok7MB4NXFYKi3EOUytj2KWJg4246mVivl6/w0Vz8BmNYFaXbahvtGo/eI2ZC+2Cn/C4l8GdYWLgMFnR0+Clo3l1DX7vvkGYGmabeq7MjyeicLoAQE4ccQkHqGuzAG5q9yKKH2sPM8fckRM1QJlI53msl4Hl68Wq/+QyT/sHv5MzuFiNWV0nDJVuR8Q4Q8TEqHr6Z7EpBD1OJB5yFiqhQ==
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=7mGW67oZKYSOgCbkn6E7yDRdQ7GDYO+bcEHtIBcF/qg=; b=AXHb8wWBCUKP7t6tzr4xlh658eQynWfWppCn08uWnK3tLaMbDPBw8VDE8XBVEMzG0e533fyqwZFsxrXRzOG6dwgM9yXJeDpwMKy43Qe/uvYkpIei/8mERPZsMeUrleY/YuGgBMsbnJH3wjET6vJ3myVWAE36C4IWDh1rHajTBcTYbL+DoTY6HbUClpg8jE+dEfcxDkeh8W6SET55t3lbVmwQtplSjQdExEOYMPq4A7INEySHa7dae4/9qCTk6yNO4AtjE4uPnswYaFORor+Mmcoc3GoQxOU4EZjiczsUe78hpYrdcLUWT8RGuypdmsa1LMR501i68H1plGpBm0aAwQ==
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=7mGW67oZKYSOgCbkn6E7yDRdQ7GDYO+bcEHtIBcF/qg=; b=Qv1ZgvY+6YI86p4A8DVq1whjuYjizi0TR9/CHlMxspo2j8ptVhdAL5zhTv0uyUl84QuCfFFMcmsCDPoCSbIcI6WtUp3NafYBXh0uEzpru4ejsJKzfV8Gjy2nBRAxk7hjqAHNo+GH64PA7lQaz5iK9WS8b7kB8VJPGhJx3UH8vps=
Received: from DB7PR07MB5657.eurprd07.prod.outlook.com (20.178.85.222) by DB7PR07MB4715.eurprd07.prod.outlook.com (52.135.137.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2772.7; Tue, 25 Feb 2020 12:30:56 +0000
Received: from DB7PR07MB5657.eurprd07.prod.outlook.com ([fe80::450e:a4e2:e88e:dbcb]) by DB7PR07MB5657.eurprd07.prod.outlook.com ([fe80::450e:a4e2:e88e:dbcb%6]) with mapi id 15.20.2772.012; Tue, 25 Feb 2020 12:30:56 +0000
From: tom petch <ietfc@btconnect.com>
To: Tarek Saad <tsaad@juniper.net>, Loa Andersson <loa@pi.nu>, "mpls@ietf.org" <mpls@ietf.org>
CC: "mpls-chairs@ietf.org" <mpls-chairs@ietf.org>, "draft-ietf-mpls-base-yang@ietf.org" <draft-ietf-mpls-base-yang@ietf.org>
Thread-Topic: [mpls] MPLS wglc draft-ietf-mpls-base-yang
Thread-Index: AQHV69dt21K/7aZbOE2WVFTW1Nlf8g==
Date: Tue, 25 Feb 2020 12:30:55 +0000
Message-ID: <DB7PR07MB5657A0BC6BA671CB6D3B9029A0ED0@DB7PR07MB5657.eurprd07.prod.outlook.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=ietfc@btconnect.com;
x-originating-ip: [81.131.229.19]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 4ade0bfc-8b4f-4e59-0709-08d7b9ee8fbd
x-ms-traffictypediagnostic: DB7PR07MB4715:
x-microsoft-antispam-prvs: <DB7PR07MB471585420D4538663B1C9DA3A0ED0@DB7PR07MB4715.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:3631;
x-forefront-prvs: 0324C2C0E2
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(366004)(136003)(376002)(346002)(39860400002)(199004)(189003)(8936002)(81166006)(81156014)(966005)(8676002)(52536014)(478600001)(64756008)(66556008)(66476007)(66446008)(86362001)(66946007)(26005)(5660300002)(76116006)(91956017)(186003)(9686003)(316002)(4326008)(71200400001)(110136005)(55016002)(6506007)(7696005)(53546011)(54906003)(2906002)(33656002)(586874002); DIR:OUT; SFP:1102; SCL:1; SRVR:DB7PR07MB4715; H:DB7PR07MB5657.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:0; MX:1;
received-spf: None (protection.outlook.com: btconnect.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Gt8+eyQ5jTXjfPkSW5IEXrtluRYsas0qLcQUJOO4ynXeTXwKliizjyNhdcCnJSgwh6DaApV8Je5qgYrDxqjnnKl3NJ2f0zJxH39N0xMw90yoZ2JgcjMthXB+u1AcSwMC6FhtICgx1w2nNIyaUCEYl7SgiPdErbKbKQQezDmUWYEvlbvMoQYF7qNeDUjz4TuA1Nt1ayAY4XL1smmp5spfWGqCVlc4MxInokz3yprzAH+AF2ac+Z2O3yImo2qGoIjfQMxRcasWQFvLxEk3VKPshXwdpP7PfjIeZkKuh+878PUI8UA6ZCYyzKsSc0JIpQE/HS05lcnsE+w92DHNH6negBYr1Nnl3hhMV2J6JI9ruVV8RHw8sI/rzp2lvd3bexaaym+GKs37bufyiLd7Dvt/Pi8uKQK7QJlwKFnQV0yPMvpdylPWnXp8vhbcs80aBJSLcwniKIhtsptJgGAh1TlQ8J21IRoirSsLCH/l86kdxCgrfzdKoKgG/tYLimTpElCqnLLcA68F0WektBLSpICpUtu+vKxzZYA5Q//rj+4Mm+HO7PyMiFvvEzFTUhFeITS3
x-ms-exchange-antispam-messagedata: smAWz83RtvMgtD9ERA/8InAw5VYxnLCvfbys2XO4V5+n25e4naBTw4uFcZ9rGGZrQAFYY9uJe1F1siYcHiD5Yjzj+jwSuVFAPuswFJRUqwN/GwzS9GVCk1uCceBNulDN178CwwGc7Nz2wbnUpibrqg==
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-Network-Message-Id: 4ade0bfc-8b4f-4e59-0709-08d7b9ee8fbd
X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Feb 2020 12:30:55.9580 (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: P6C82HG06bb3NzHAXa+fnAOmurrAlUJVzgQSYvOqcS+g6pJpwdV0jw7CPdf4vRzbpdaH3oT5YXCO6Zr0UtBqgw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR07MB4715
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/icQ4OBM-Lcc7CsN3yDYIspeNjsg>
Subject: Re: [mpls] MPLS wglc draft-ietf-mpls-base-yang
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 25 Feb 2020 12:31:06 -0000


________________________________________
From: mpls <mpls-bounces@ietf.org> on behalf of tom petch <ietfc@btconnect.com>
Sent: 21 February 2020 16:30
To: Tarek Saad; Loa Andersson; mpls@ietf.org
Cc: mpls-chairs@ietf.org; draft-ietf-mpls-base-yang@ietf.org
Subject: Re: [mpls] MPLS wglc draft-ietf-mpls-base-yang

Tarek

progressing ... <tp> inline

________________________________________
From: Tarek Saad <tsaad@juniper.net>
Sent: 19 February 2020 06:00

Thanks much for your review and useful comments. We have posted a new revision -12 at https://tools.ietf.org/html/draft-ietf-mpls-base-yang-12 that addresses those. Let us know if you have further comments.
Also, see inline for responses on closure.

On 1/21/20, 7:38 AM, "tom petch" <ietfc@btconnect.com> wrote:

Some more technical thoughts on this I-D

        Abstract

        LSP is not in the RFC Editor list of 'so well known ...'
[TS]: it is listed at https://www.rfc-editor.org/materials/abbrev.expansion.txt

<tp> as Acee points out, it lacks the asterisk that says that no expansion is needed :-(

        s.2.1
           The other MPLS route(s) that are non-IP prefix routes are modelled by
           introducing a new "mpls" address-family RIB as per recommendation .

        Where is that?

<tp> I was looking for a reference for the recommendation - is this the routing RFC, RFC8349 s.5.2?


[TS]: Please refer to identity below defined in the model which has rt:address-family as base.
  identity mpls {
        base rt:address-family;
        description
          "This identity represents the MPLS address family.";
  }
        s.2.2
           interfaces-mpls:
                  A YANG grouping that describes the list of MPLS enabled interfaces
                  on a device.

           label-blocks:
                  A YANG grouping that describes the list of MPLS enabled interfaces
                  on a device.

        um?
[TS]: we corrected the description. See below:
NEW:
A YANG grouping that describes the list of assigned MPLS label blocks and its properties.


        YANG Module
                 Copyright (c) 2018 IETF Trust

                leaf loadshare {
        I  would  value a reference for this.
[TS]: rfc3031 section 3.11 and  3.12.

<TP>  well sort of; those sections talk about sharing across equal cost paths which seems somewhat simpler - I understand the YANG DESCRIPTION but would expect it to be described in an RFC somewhere.


          grouping interface-mpls-properties {
        ...
                  type boolean;
                  description
                   "'true' if mpls encapsulation is enabled on the interface.
                   'false' if mpls encapsulation is enabled  on the interface.";

<tp> so true means enabled and false means ..  enabled ; clear but logical?


                leaf mtu {  type uint32; description
                        "MPLS Maximum Transmission Unit (MTU) in bytes";

        um what is included in MTU here  c.f.draft-ietf-netmod-intf-ext-yang-07
        which  includes L2 header but not FCS in Layer 2 MTU;
        a reference might help
[TS]: includes L2 MTU + maximum MPLS label stack size. rfc3032 section 3.2.

<tp> well no; MTU does not appear in RFC3032 s.3.1; other terminology does and I want to map the terminology of this I-D - MTU- to the terminology of s.3.1

That is all

Tom Petch
</tp>

          grouping interfaces-mpls {    description "List of MPLS interfaces";
                list interface {   key "name";  description "List of MPLS
        interfaces";
                  leaf name {   type if:interface-ref;
                        description   "The name of a configured MPLS interface";

        no conditional so every RIP or dial up X.25 e.g.is going to get this:-( probably ok

          augment "/rt:routing" {
        ditto, although probably less significant
[TS]: added feature mpls, and added if-feature check under the augmentations.

          augment "/rt:routing/rt:ribs/rt:rib/rt:routes/rt:route/"
                        + "rt:next-hop/rt:next-hop-options/rt:simple-next-hop" {
                description
                  "Augment 'simple-next-hop' case in IP unicast routes.";

        other I-D augment control plane/protocols/static-routes
[TS]: the MPLS Static model is a separate model that is described in draft-ietf-mpls-static-yang.

Regards,
Tarek

        Tom Petch

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