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

Tarek Saad <tsaad@juniper.net> Wed, 26 February 2020 19:34 UTC

Return-Path: <tsaad@juniper.net>
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 E667C3A12D3; Wed, 26 Feb 2020 11:34:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net header.b=Qw8uJ26N; dkim=pass (1024-bit key) header.d=juniper.net header.b=QmB7lANd
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 W1UnjyPz6BLs; Wed, 26 Feb 2020 11:34:13 -0800 (PST)
Received: from mx0a-00273201.pphosted.com (mx0a-00273201.pphosted.com [208.84.65.16]) (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 EB4FC3A12BB; Wed, 26 Feb 2020 11:34:12 -0800 (PST)
Received: from pps.filterd (m0108159.ppops.net [127.0.0.1]) by mx0a-00273201.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 01QJHqv3029236; Wed, 26 Feb 2020 11:34:09 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=PPS1017; bh=ebvas5WVa4oJi8hf+gzJtTQDaTl99fI1VZowBTD4Lvg=; b=Qw8uJ26N3ucGE3BlyDpciPDc7ffHJzcxXHxVDusohpzqU42p2bHE5llPvexuFRebfHqC WmhCLW41F/HZo5AlhyEkrSPgctLQVICpGhTJ0/+AMpik5ddNtiVPiO3cvYYgCv4wiPNw omXIgVO1NKKcyDgY4J1SoRdH4VSJx6BSg8BvMVnHnVYbWGqGCEh67MINXRVE70lqyZzt rgASlt/7PGqiCGo4e5w3UAr4P6zbI0voG1sapkSRGr6XHOAyqIv8NjpBTy2ZVcOFCu6r rlWjOQn+Dm/1C3fSN+kmlcOcuLLMp2wI9HSb9ZuRRo/Cq0XZygwOVw5hnGynHWIrU7js Ww==
Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2046.outbound.protection.outlook.com [104.47.66.46]) by mx0a-00273201.pphosted.com with ESMTP id 2ydcpwsxf9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 26 Feb 2020 11:34:09 -0800
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aWIpgTvDAfHE3DfsVeS6OmkiFCuFj9HNeDa8o6eRtaxmCAlSJVBzZUOzngvJ0pXkYKw1UcZCHRZya7Mz7PC+pxc0ITMxWGSX6virg66geKSiiiAIWbIMmfCHglV3M3MyjZcxltN3nW7ajMO09aKPK0EnDveBtJb+IdLjQgufDgInaXICBDho9IS7hUhuEpmV5hU/5m6MDr4WHdZyeq4iMLrOkJKR2FgAtQ/WAleVW590I5kLPNPqYyjBPr6CbJUc5KUw51ow9WcqMxzN6LoSzPjY0ok1EXU3t1+QhzlXCRFwWJKQwQZE4xFW7I27rXNsymUCuVJF6GddK45KHBgRCA==
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=ebvas5WVa4oJi8hf+gzJtTQDaTl99fI1VZowBTD4Lvg=; b=nZChs7mgLxR8r4OJV3r0A1QXuOY8TUMXW9zImJ+j7zDWv+8RYKVSbxtZ2fRIHtqC50kXYsaa2BEI21FEbl/TNFAXUZaVQed4lhCG9yzpC2ZHKDvVn76a34oPx85SV9IdPJcXL3ADe6y42T0tIkofV/tI/XpXl4X/arMmZlQKsGJLl75JH8IFMapGJmfOoICD6+K6Vy1vwXSwq5M6DqjULaolj1uwLzUJ+DwNOxclKQRaOaVF4Y39CTxmivAFB9oeflOc0McgvSqhVxhm3CnI0LLJDdLXbug/EFziV6t9dfWKGMQmLiy8IG7n2s0pGbmA+VxbUB4SQr2n5T8vVhy4dw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=juniper.net; dmarc=pass action=none header.from=juniper.net; dkim=pass header.d=juniper.net; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ebvas5WVa4oJi8hf+gzJtTQDaTl99fI1VZowBTD4Lvg=; b=QmB7lANdEp/jgwJ/HSApj48No3pvIzzQX8KY0m3uzWFyhCG32sCkXV1qKb/mEK1/4c7MXwrgc5hUeLlnki1fdJXVKC8wesnQzuqBaLtPwWQFX5RXjYJRGEjfQe4Uci9/9BqFQPygt+OUVlAmDizt6B2hpnoGW/JIPOxjwTHTcg4=
Received: from BL0PR05MB5027.namprd05.prod.outlook.com (2603:10b6:208:81::16) by BL0PR05MB6738.namprd05.prod.outlook.com (2603:10b6:208:64::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2772.11; Wed, 26 Feb 2020 19:34:06 +0000
Received: from BL0PR05MB5027.namprd05.prod.outlook.com ([fe80::715e:dfde:cf1:f90f]) by BL0PR05MB5027.namprd05.prod.outlook.com ([fe80::715e:dfde:cf1:f90f%3]) with mapi id 15.20.2772.012; Wed, 26 Feb 2020 19:34:05 +0000
From: Tarek Saad <tsaad@juniper.net>
To: tom petch <ietfc@btconnect.com>, 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: AQHVtlY60U96AZZm7ESA2/7A6IS706fr8FqAgAlSWgCALNBwgIAEKI+AgAe7NYA=
Date: Wed, 26 Feb 2020 19:34:05 +0000
Message-ID: <06CEB2BB-716E-4401-9669-E458A1B11CFA@juniper.net>
References: <2e2ce194-ed62-d225-ca7e-97e373c9c5c9@pi.nu> <DB7PR07MB565756000718666B19277A81A0370@DB7PR07MB5657.eurprd07.prod.outlook.com> <DB7PR07MB5657487FF5F4DB2E0F2006FCA00D0@DB7PR07MB5657.eurprd07.prod.outlook.com> <080939AD-4BE0-4138-AAF6-34141CD36385@juniper.net> <DB7PR07MB56577E28162DFB1CC17028FAA0120@DB7PR07MB5657.eurprd07.prod.outlook.com>
In-Reply-To: <DB7PR07MB56577E28162DFB1CC17028FAA0120@DB7PR07MB5657.eurprd07.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_9784d817-3396-4a4f-b60c-3ef6b345fe55_Enabled=true; MSIP_Label_9784d817-3396-4a4f-b60c-3ef6b345fe55_Name=Juniper Business Use Only; MSIP_Label_9784d817-3396-4a4f-b60c-3ef6b345fe55_Enabled=true; MSIP_Label_9784d817-3396-4a4f-b60c-3ef6b345fe55_SiteId=bea78b3c-4cdb-4130-854a-1d193232e5f4; MSIP_Label_9784d817-3396-4a4f-b60c-3ef6b345fe55_ContentBits=0; MSIP_Label_9784d817-3396-4a4f-b60c-3ef6b345fe55_Method=Standard; MSIP_Label_9784d817-3396-4a4f-b60c-3ef6b345fe55_ActionId=5c7ae61b-4200-4976-b63d-00007479d7aa; MSIP_Label_9784d817-3396-4a4f-b60c-3ef6b345fe55_SetDate=2020-02-19T05:55:45Z;
user-agent: Microsoft-MacOutlook/10.22.0.200209
x-originating-ip: [66.129.239.14]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: c51b0730-6302-4789-3e0a-08d7baf2d7af
x-ms-traffictypediagnostic: BL0PR05MB6738:
x-microsoft-antispam-prvs: <BL0PR05MB67389ADF17A86BBE803B8664B7EA0@BL0PR05MB6738.namprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:1284;
x-forefront-prvs: 0325F6C77B
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(396003)(366004)(39860400002)(136003)(346002)(376002)(199004)(189003)(478600001)(81166006)(81156014)(2616005)(66446008)(54906003)(8676002)(2906002)(66946007)(86362001)(66556008)(5660300002)(966005)(53546011)(6506007)(64756008)(76116006)(110136005)(8936002)(66476007)(296002)(316002)(71200400001)(33656002)(26005)(186003)(6512007)(36756003)(6486002)(4326008); DIR:OUT; SFP:1102; SCL:1; SRVR:BL0PR05MB6738; H:BL0PR05MB5027.namprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: ys+M4yC2qdwL2uiJP3WSvTXhC8ujhhh1wAh9isC8AREd/VCn9cxZXZsuTR0WU6Tgzm6RCOPmjr+X7CseNNcn6V3H/t/50mBy1GJ+jffXFLndONjXPl/d9zpdegxO1IiQEtzEssQKmEtnMQ81Krtb/Vh4DWDjhS4e41dyVeuPb9U47+83Aw2gaFNGZuk8meOdQEOEHw1eIifIdCbaUw0efBC4fmbZ+F6Zj68ZV47zttdkvfdD/j5vDT2+xoT5QFgwJR/rb/2kycf4srT7GLXsrA/OELb1zaBGQNklLImX2Gyo5o++1iW2UZ96lazThyXaAvg3pmJ1Dd9c4xtzorS9bV+kurGKqgYEUnD6XZBZ+703PvI2LRj8XUUNz6orZQngqLr41lVZQKbBw1E+NQzoul1P/+GFJe9sM7GqUcjsKMnr3FqXT/yNJWi9CtwGquzZoeagP1GzETtRYNAtSmww7PFKThJ95INJT8JSxNb/v3ep0AyfyXOo58L6Ua81UASWYfVddEE3EpwyCE0z83vgLQ==
x-ms-exchange-antispam-messagedata: 2DhnnNFhcPRPxFGR2tHeP+zRJ+f/6BDyhtOXzsOhRIdgHPDKyRyGLFJzc2mxc2rY+DSNjjw5OiV5STAzRsOoV9flnAn5MXCscxVd29Kzdi7EfzZJgNF2Fd7bZ6mGea9LtKJWdltopUFAANHlfy7q0A==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <FE2422863D09574298767441B2DB1E55@namprd05.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: c51b0730-6302-4789-3e0a-08d7baf2d7af
X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Feb 2020 19:34:05.8683 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: gRBADIalB002M5CeBg40DSR5ud1V8SySzPasrv0q1LmeP6y9589hO4ZCvQ7EfqiuIFUL5Y7r7ACG3d8oCnHAUw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR05MB6738
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.572 definitions=2020-02-26_07:2020-02-26, 2020-02-26 signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 mlxscore=0 malwarescore=0 suspectscore=0 spamscore=0 phishscore=0 bulkscore=0 clxscore=1015 lowpriorityscore=0 mlxlogscore=999 priorityscore=1501 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2002260119
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/05d5EL8FPGzJGS3RTuwWGtzcNBE>
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: Wed, 26 Feb 2020 19:34:21 -0000

Hi Tom,

Thanks again. Please see inline for more responses. We will upload a new rev once you ack ok for below.

On 2/21/20, 11:30 AM, "tom petch" <ietfc@btconnect.com> wrote:

    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://urldefense.com/v3/__https://tools.ietf.org/html/draft-ietf-mpls-base-yang-12__;!!NEt6yMaO-gk!RFlhNE079NN1bKO-FktmwgK2FeDnE2z--K8tf-tk57WePssEoox0hX_EJhhQwA$  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://urldefense.com/v3/__https://www.rfc-editor.org/materials/abbrev.expansion.txt__;!!NEt6yMaO-gk!RFlhNE079NN1bKO-FktmwgK2FeDnE2z--K8tf-tk57WePssEoox0hX9YKDyWLw$ 
    
    <tp> as Acee points out, it lacks the asterisk that says that no expansion is needed :-(
[TS]: yes, admittedly I was ignorant about that.
    
            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]: Yes, that would be RFC8349 section 3:
"
   o  The data model should be suitable for the common address families
      -- in particular, IPv4 and IPv6 -- and for unicast and multicast
      routing, as well as Multiprotocol Label Switching (MPLS).
"
    
    
    [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.
[TS]: I've across yet another reference that tackles optimizing distribution of traffic on ECMP/LAG -- rfc7424 (e.g. sec 5.4). Let me know if you are OK with this and we can refer to it.
    
    
              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?
[TS]: thanks for spotting this. We will correct this typo.

    
                    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
[TS]: the section we referenced (RFC3032 section 3.2) has:

"
3.2. Maximum Initially Labeled IP Datagram Size

   Every LSR which is capable of

      a) receiving an unlabeled IP datagram,
      b) adding a label stack to the datagram, and
      c) forwarding the resulting labeled packet,

   SHOULD support a configuration parameter known as the "Maximum
   Initially Labeled IP Datagram Size", which can be set to a non-
   negative value.
"

Would renaming the leaf to maximum-labeled-packet-size help in any way?

Regards,
Tarek


    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