Re: [mpls] I-D Action: draft-ietf-mpls-static-yang-05.txt

tom petch <ietfc@btconnect.com> Sat, 10 November 2018 13:07 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 E3267131161; Sat, 10 Nov 2018 05:07:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.197
X-Spam-Level: ***
X-Spam-Status: No, score=3.197 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RATWARE_MS_HASH=2.148, RATWARE_OUTLOOK_NONAME=2.95, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 G3JfPESHEp4v; Sat, 10 Nov 2018 05:07:52 -0800 (PST)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80139.outbound.protection.outlook.com [40.107.8.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DDA8B12007C; Sat, 10 Nov 2018 05:07:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector1-btconnect-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2N0DAHp3oYNHfE6oviYYgdHZhxpMMWImzM0/HkV59Gg=; b=M1NM8sbEYPrNKDSfEcUtX5wYTwCE3wPvMfml2nMm4D7y2XpMcoqMlQPRfLjsgv5Z7NCLgKL655cTKbCF3bss/TKec7vh0Y24SpLaXt5XF8FgDn676c8NmSt/tEJMO282scDbUsIoZ3/pLz2s3LFalgK5wQKNpDbtts4vuYThRss=
Received: from VI1PR07MB5022.eurprd07.prod.outlook.com (20.177.202.206) by VI1PR07MB5885.eurprd07.prod.outlook.com (20.177.202.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1339.13; Sat, 10 Nov 2018 13:07:48 +0000
Received: from VI1PR07MB5022.eurprd07.prod.outlook.com ([fe80::929:bd11:beb6:b887]) by VI1PR07MB5022.eurprd07.prod.outlook.com ([fe80::929:bd11:beb6:b887%3]) with mapi id 15.20.1339.014; Sat, 10 Nov 2018 13:07:48 +0000
From: tom petch <ietfc@btconnect.com>
To: "Tarek Saad (tsaad)" <tsaad@cisco.com>, mpls <mpls@ietf.org>
CC: "draft-ietf-mpls-static-yang@ietf.org" <draft-ietf-mpls-static-yang@ietf.org>, "draft-ietf-mpls-base-yang@ietf.org" <draft-ietf-mpls-base-yang@ietf.org>
Thread-Topic: [mpls] I-D Action: draft-ietf-mpls-static-yang-05.txt
Thread-Index: AQHUdn2afEYR1HvAvkO6U0hVE2a60A==
Date: Sat, 10 Nov 2018 13:07:48 +0000
Message-ID: <00c901d478f6$25a75c00$4001a8c0@gateway.2wire.net>
References: <151871655164.7468.17697751302068907872@ietfa.amsl.com> <03b001d3a714$5e08dce0$4001a8c0@gateway.2wire.net> <A7C87BD7-A6E5-474F-9D19-F3B9A6F83DA4@cisco.com> <001001d4767d$62fb1a40$4001a8c0@gateway.2wire.net>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-clientproxiedby: CWLP265CA0349.GBRP265.PROD.OUTLOOK.COM (2603:10a6:401:5a::25) To VI1PR07MB5022.eurprd07.prod.outlook.com (2603:10a6:803:9b::14)
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [86.128.101.213]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; VI1PR07MB5885; 6:3kRwwkplHM9R3YKM74aXKY4nXuLPQrNW/wSZd0lXdJbuqKgOP5A0VOGuw91EW3bmsRaxioOOwYxxfj52qe5j/Bk/3QSQ+ljnzfciBksjZG08hQPCqvvhiRioN8FSPnjgvrB0jqrXkJ2FVcsArrrx6Rx/k9lIovG/w0QGasRDj/rddHbon9smeOrjVphNdSctoixQOaAvXQPrKKlmnX2i6Djledp7Zf4K7GTdt1WBnKhrfCHNPsoWJEDjb3fSDbqK+WMsrfy0jSZWdbI6zlCHiZm6po7msZKy3HH+Uoa5iY0VVWqSJZNhzc9Z1g68eSvykxY2X8Wi5bpYvhqfUoiJT3Y5CkGsoQ+0XOCmNc69jcKh+tkcapxeG2Rsbx7ZIYKEDJqgCFHeV4fbwDnvQPAxwMq6xJOiba+pxvvkV7mkY1Q37OIWPReaR3IvhMYEKip9gx1L1x6Fg0P71p8CuaHENw==; 5:RhaCzAgp/QLByadvfKlU4eoT+fGHszp/UHUFGmExis0LMx7BjiQT/L7/MVKzQIjt+7ilsh9z2EmE0X+5+z7/BjQ/oDTEPc7Z9AkdiLh1SmGx5NmgeB76AhiRJJAEBWBgv8zEFFC97FVmmK1XFLV/9Y3dY2iKhRqbipIU0Ii8UQI=; 7:plXFRclGWi7b5h97c0hHdkig0MOIFXT588peaCTQMqKF56oPrYWTKXASv3XlLQ2pmzU32wu/QdUcBdsuy7UeR3CbiKQkgfEUl3Y0Z0DNWjro0XJ1vlrDECk3R7E8Z7UTrXR+xQnDAzulrVuYbxhgRA==
x-ms-office365-filtering-correlation-id: e4c5e4a8-872f-493c-acd2-08d6470d8331
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390040)(7020095)(4652040)(8989299)(5600074)(711020)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:VI1PR07MB5885;
x-ms-traffictypediagnostic: VI1PR07MB5885:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=ietfc@btconnect.com;
x-microsoft-antispam-prvs: <VI1PR07MB5885C6CF3F95E982417EF322A0C70@VI1PR07MB5885.eurprd07.prod.outlook.com>
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(3231402)(944501410)(52105095)(93006095)(93001095)(10201501046)(3002001)(6055026)(148016)(149066)(150057)(6041310)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(201708071742011)(7699051)(76991095); SRVR:VI1PR07MB5885; BCL:0; PCL:0; RULEID:; SRVR:VI1PR07MB5885;
x-forefront-prvs: 0852EB6797
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(136003)(366004)(376002)(396003)(39860400002)(346002)(189003)(199004)(51444003)(13464003)(53546011)(386003)(76176011)(6506007)(186003)(966005)(6436002)(6306002)(25786009)(33896004)(26005)(99286004)(84392002)(105586002)(81166006)(81156014)(229853002)(53936002)(14496001)(6512007)(9686003)(44736005)(476003)(68736007)(478600001)(102836004)(52116002)(446003)(86152003)(4326008)(486006)(6486002)(14454004)(8676002)(6246003)(93886005)(2900100001)(8936002)(106356001)(66066001)(110136005)(3846002)(6116002)(316002)(54906003)(2906002)(14444005)(5660300001)(97736004)(1556002)(256004)(71190400001)(71200400001)(7736002)(86362001)(305945005); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR07MB5885; H:VI1PR07MB5022.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:0;
received-spf: None (protection.outlook.com: btconnect.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: /jFCvIpTYBKZ7FrwMXmZ5tJSEfn0uq9HGNkNnyAChiNBgbznTi0El+AvkkmYKTJTxCp7GTPwKGG1Zy1Ks+3UDyucpcdp2EIwZ8dVTJlwyyKHeXW6tPbTqWxHJd+yH7IsMwCXFedyRUhj7hbtMEWed1daAGlPWFJ9v4jyXZiSQ965/I9NWEnRRM2WA34mhYU/av6ZhI1F3kW98Wm4wHkf3OPFoHMJvAhsaknbfO/be13Oqt/ixpoLK//U8G5f0coWgtIXrpbRkItSkCGVD3JTvC1BBZW3ZMwDAk8JVK/CzXWWmNGWuxynVSHj4opvFYag86AMewAZCeg5YvarhqFwI/n8OxDrF0TM2O+R8CLzvL4=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <418CAE3AFE366040912F6512E6360832@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-Network-Message-Id: e4c5e4a8-872f-493c-acd2-08d6470d8331
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Nov 2018 13:07:48.6502 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB5885
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/wfatcwGMhq46bznPOncF_jeG2TU>
Subject: Re: [mpls] I-D Action: draft-ietf-mpls-static-yang-05.txt
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: Sat, 10 Nov 2018 13:07:56 -0000

Tarek

A different and orthogonal question.  What is MPLS?

This I-D augments but has no associated conditional statement, 'when' or
if, which is unusual so
   augment "/rt:routing/mpls:mpls" {  container static-lsps {
will always add static-lsps if the YANG module is present and
  augment "/rt:routing/mpls:mpls/mpls-static:static-lsps" {
will always add extended which makes me wonder why there are separate
modules.

A similar question applies to base-yang which defines mpls as an address
family but does not use the previously defined mpls and mplstunnel
interface types.  It augments regardless, when other such modules have a
feature defined and then use if-feature to make the augments
conditional.

The mpls base augments to the routes uses the address family but not the
interface types.

So in generic IETF terms, what is mpls?  Address family, interface type,
feature, tunnel type?  And should e.g. static be separate, derived from
one of the base definitions?  Ditto extended.

Expert as the participants of the NETMOD WG are, I would not assume that
that expertise extends to MPLS, for many if not most of them (yes, I
know, there are exceptions) so IMHO you need to decide what you want and
then, if necessary, seek guidance in how to turn that into the DDL.

Tom Petch

----- Original Message -----
From: "tom petch" <ietfc@btconnect.com>
To: "Tarek Saad (tsaad)" <tsaad@cisco.com>; "mpls" <mpls@ietf.org>
Cc: <draft-ietf-mpls-static-yang@ietf.org>;
<draft-ietf-mpls-base-yang@ietf.org>
Sent: Wednesday, November 07, 2018 9:38 AM


> Getting there
>
> The convention is to limit editors to five, lest there is no room for
> anything else on page one.  Some ADs are more aggressive on this than
> others but seven is likely to draw comment; the usual technique is to
> have
> one name as (Editor) and list the others at the end.  If you want more
> than five, then you will likely be asked to justify that they all made
> significant contributions
>
> Abstract
>
> You will likely be asked to expand LER and LSR on first use.  I do not
> think that they are well enough known IETF-wide to not need expanding.
> An Abstract needs to be understandable on its own without recourse to
> the Definitions section
>
> Introduction
>
> The MPLS Static LSP YANG model is broken !
> The MPLS Static LSP YANG model is divided
> would be better IMHO
>
>
>  module ietf-mpls-static
>
>    import ietf-mpls { ..  reference "draft-ietf-mpls-base-yang: MPLS
> Base YANG Data Model";
> You are asking the RFC-Editor to notice and replace this I-D name;
> better to have
>      reference "RFC YYYY: MPLS Base YANG Data Model";
> with a note up front
>
> // RFC Ed.: replace YYYY with RFC number assigned to
> draft-ietf-mpls-base-yang
> and remove this note
>
> -  prefix "rt-types";  reference "RFC6991:
> Right prefix, wrong RFC. Hint look at s.2.3:-)
>
>    import ietf-te { ... reference "draft-ietf-teas-yang-te: A YANG
Data
> Model for Traffic Engineering Tunnels and Interfaces";
> same idea but make it ZZZZ
>
>    reference "RFC ZZZZ: A YANG Data Model for Traffic
>                 Engineering Tunnels and Interfaces";
>
> and up front
>
> // RFC Ed.: replace ZZZZ with RFC number assigned to
> draft-ietf-teas-yang-te:
> and remove this note
>
> (Some editors use XXXX for all such I-Ds which I do not think very
> helpful:-(
>
> Figure 3: MPLS Static LSP YANG module
> It is unusual to label YANG modules as Figures.
>
>
> module ietf-mpls-static-extended
>
>   import ietf-mpls { ...    reference "draft-ietf-mpls-base-yang: MPLS
> Base YANG Data Model";
>
> See above
>
>
>   import ietf-routing {prefix "rt";
>     reference "RFC6991: Common YANG Data Types";
> See above
>
> reference "draft-ietf-mpls-static-yang
> reference "RFC XXXX
> (you already have notes to replace XXXX)
>
>
> Figure 4: Extended MPLS Static LSP YANG module
> Again not wrong but unusual
>
>
> Security Considerations
> is not the current template since it lacks reference to RESTCONF which
> then needs to be a Normative Reference
>
> Also, it is weak in that it does not identify the nodes that need
> protecting.  Here it is probably enough to say
> 'All nodes defined in this YANG module that are
>    writable/creatable/deletable (i.e., config true, which is the
>    default) may be considered sensitive or vulnerable
>    in some network environments
>
> draft-ietf-ccamp-mw-yang is an example of a more comprehensive
analysis.
>
> Tom Petch
>
> ----- Original Message -----
> From: "Tarek Saad (tsaad)" <tsaad@cisco.com>
> Sent: Monday, November 05, 2018 5:04 PM
>
>
> > Hi Tom,
> >
> > Thank you much for your review comments. We have addressed your
> comments in latest revision of the drafts
> (draft-ietf-mpls-static-yang-07 and draft-ietf-mpls-base-yang-09).
> Please let us know if you have any further comments or whether you're
> satisfied with the resolution.
> >
> > Regards,
> > Tarek
> >
> > -----Original Message-----
> > From: mpls <mpls-bounces@ietf.org> on behalf of "t.petch"
> <ietfc@btconnect.com>
> > Date: Friday, February 16, 2018 at 5:55 PM
> > To: "mpls@ietf.org" <mpls@ietf.org>
> > Subject: Re: [mpls] I-D Action: draft-ietf-mpls-static-yang-05.txt
> >
> >     As a YANG module, I think that this needs some - well, quite a
lot
> of -
> >     work
> >
> >     - Terminology section needs to reference RFC8174
> >
> >     - ietf-netmod-revised-datastores is the correct reference for
most
> of
> >     the terms in the Terminology section
> >
> >     - ietf-rib needs a reference (ietf-routing is the usual base
> routing
> >     module)
> >
> >     - it references YANG 1.0 and not 1.1 - if this is justified, it
> needs an
> >     explanation
> >
> >     - it is not NMDA compliant - this needs changing or justifying
> >
> >     - " and augments the MPLS Base YANG model defined in module
> >        "ietf-mpls" in [I-D.saad-mpls-static-yang].
> >
> >     ietf-mpls does not appear an the referenced I-D
> >
> >     - the I-D has five authors, the YANG module has ten
> >
> >     - the module lacks a copyright clause
> >
> >     - the imports need references, best provided with a reference
> clause for
> >     each,  and again in the text of the I-D and in the I-D
References
> >     section
> >     see
> >     draft-ietf-ccamp-alarm-module
> >     for an example of this
> >
> >     - good practice is to list the prefix used and the RFC in which
> they can
> >     be found somewhere in the text of the I-D
> >     draft-ietf-netmod-rfc8022bis
> >     has an example of this
> >
> >     - the YANG module needs a reference back to the RFC in which it
> appears
> >     along with a note to the RC editor to replace XXXX with the
> relevant
> >     number - you have a reference to RFC3031 which is sadly mistaken
> >
> >     - If a reference to RFC3031 is warranted, then it needs to
appear
> in the
> >     text of the I-D and in the References section
> >
> >     - static-extended - same comments
> >
> >     - Security Considerations needs updating - it needs to call out
> the
> >     vulnerable objects
> >
> >     Tom Petch
> >
> >     ----- Original Message -----
> >     From: <internet-drafts@ietf.org>
> >     To: <i-d-announce@ietf.org>
> >     Cc: <mpls@ietf.org>
> >     Sent: Thursday, February 15, 2018 5:42 PM
> >     Subject: I-D Action: draft-ietf-mpls-static-yang-05.txt
> >
> >
> >     >
> >     > A New Internet-Draft is available from the on-line
> Internet-Drafts
> >     directories.
> >     > This draft is a work item of the Multiprotocol Label Switching
> WG of
> >     the IETF.
> >     >
> >     >         Title           : A YANG Data Model for MPLS Static
LSPs
> >     >         Authors         : Tarek Saad
> >     >                           Kamran Raza
>
> _______________________________________________
> mpls mailing list
> mpls@ietf.org
> https://www.ietf.org/mailman/listinfo/mpls
>