Re: [CCAMP] FW: New Version Notification for draft-jiang-ccamp-flexe-yang-00.txt

tom petch <ietfc@btconnect.com> Tue, 05 March 2019 10:23 UTC

Return-Path: <ietfc@btconnect.com>
X-Original-To: ccamp@ietfa.amsl.com
Delivered-To: ccamp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 23DE2131031 for <ccamp@ietfa.amsl.com>; Tue, 5 Mar 2019 02:23:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.247
X-Spam-Level:
X-Spam-Status: No, score=0.247 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, 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 uoWZi8K4hKhe for <ccamp@ietfa.amsl.com>; Tue, 5 Mar 2019 02:23:14 -0800 (PST)
Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-db5eur03on0704.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0a::704]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 45D51130FBB for <ccamp@ietf.org>; Tue, 5 Mar 2019 02:23:13 -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=1jSKrjFviL7pqZrNgNfWeg1CKYfuI7wIr9IN9ujR88Q=; b=iBqG7i54iziUmUG2NOJzjZS4kx2F8qjMRw+qDey0zdrbzN711bRHeEdvHFNC6aMfA3Hr8tCFFOP6xiHHWi+2tErm4aIIwRHv+BcWAqsggsJan+4CrBL3PcYTIFTqV6BySOMbd7nUJ8x2SWxlBgL88w/V0NQTan3bsdFCI3iXR4k=
Received: from VI1PR07MB4768.eurprd07.prod.outlook.com (20.177.57.155) by VI1PR07MB6109.eurprd07.prod.outlook.com (20.178.124.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1686.14; Tue, 5 Mar 2019 10:23:11 +0000
Received: from VI1PR07MB4768.eurprd07.prod.outlook.com ([fe80::a8c3:4982:8378:9a45]) by VI1PR07MB4768.eurprd07.prod.outlook.com ([fe80::a8c3:4982:8378:9a45%3]) with mapi id 15.20.1686.016; Tue, 5 Mar 2019 10:23:11 +0000
From: tom petch <ietfc@btconnect.com>
To: Jiangyuanlong <jiangyuanlong@huawei.com>, 'CCAMP' <ccamp@ietf.org>
CC: Weiqiang Cheng <chengweiqiang@chinamobile.com>, "Hexiang (Xiang, IP Research)" <hexiang9@huawei.com>
Thread-Topic: [CCAMP] FW: New Version Notification for draft-jiang-ccamp-flexe-yang-00.txt
Thread-Index: AQHU0z1vJJ2PDSYSzEaBBD+zoO4HNQ==
Date: Tue, 05 Mar 2019 10:23:11 +0000
Message-ID: <03a001d4d33d$26466380$4001a8c0@gateway.2wire.net>
References: <155143009980.6207.15940951126550530112.idtracker@ietfa.amsl.com> <3B0A1BED22CAD649A1B3E97BE5DDD68BBC345242@dggeml512-mbx.china.huawei.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-clientproxiedby: LO2P265CA0206.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:9e::26) To VI1PR07MB4768.eurprd07.prod.outlook.com (2603:10a6:803:76::27)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=ietfc@btconnect.com;
x-ms-exchange-messagesentrepresentingtype: 1
x-mailer: Microsoft Outlook Express 6.00.2800.1106
x-originating-ip: [86.156.84.54]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 1f570380-e2f1-45df-92d1-08d6a154917c
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7193020); SRVR:VI1PR07MB6109;
x-ms-traffictypediagnostic: VI1PR07MB6109:
x-ms-exchange-purlcount: 5
x-microsoft-antispam-prvs: <VI1PR07MB610966A1DCBAF096B87EFB3CA0720@VI1PR07MB6109.eurprd07.prod.outlook.com>
x-forefront-prvs: 0967749BC1
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(376002)(39860400002)(366004)(346002)(136003)(189003)(199004)(13464003)(71190400001)(71200400001)(256004)(14444005)(66574012)(6436002)(966005)(14496001)(5660300002)(106356001)(53936002)(105586002)(61296003)(413944005)(478600001)(8936002)(476003)(6306002)(6512007)(4720700003)(86152003)(229853002)(50226002)(486006)(68736007)(6486002)(44736005)(305945005)(86362001)(446003)(386003)(7736002)(2906002)(6116002)(99286004)(102836004)(316002)(52116002)(9686003)(6506007)(66066001)(53546011)(81686011)(81816011)(15650500001)(84392002)(76176011)(186003)(25786009)(8676002)(97736004)(1556002)(6246003)(3846002)(14454004)(4326008)(54906003)(62236002)(81156014)(26005)(44716002)(110136005)(81166006)(74416001)(7726001); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR07MB6109; H:VI1PR07MB4768.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-exchange-diagnostics: 1; VI1PR07MB6109; 23:5xUowVk2rCi/Ws8xXyDoXxDY4ajN5sas3GogPXEcQnKVYpcslh7zRE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9kUypOdi/b90fRQaI8iMY1p8oZcHLE+VvKCotiMvziurDbz/6Mgf45z6WUX5eSMJ3/MbVQQMZyfGHS+EGmkF+gX5MIKz/vUSYF3aFlXwvdw9iTT7MUvA1FhABxlDrEr/TfrHD0WYlFe3WbkXDVWBABWEiUwqU6htwjUM/g9ZZfdMynx9AsA2HBefFeRGka4OWZG5JXwDKrVhYv6INJLzW2jfVsMhQv3BF/ccuAV1Ag2bXV++MNvyctsJZgsSOuvURrAUaRfyvQOe0k8Lqeb34Os7vnSe/ukaXY4487KzjW34TbOESaFFZ6vlWWn9zgVWsuWWIqMuJqkJOOZDg04e4aKKjHdFuHvkvEgfHJLd0AauYCQsWg6Vd/VuwKs4Qfwz16/34+ZwfSRTL1iXq47Ze/jTwvJuwQ9P8A6MHNJl8f2ZyboYJ5UMFBqBiLhfFc8nGrnvJdEDswOHPWrv/f+oiJ9J4P5lflz2hAqz0OtNh/HDu5TOoAMv0986az9254Rt0Y3ShPk=
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: QcViVPb7Cqq9ZNW+jKT5zBi0mcdaghMfFnqSDIdbVJF8yx6LR6Ax7WTSzO67za+JTcsliYrsaSPjVkYgg8jCh7eMDGbEiM9Rx1lYHSmjBeQaU9eyXVmapInP6B292NXUJz1W4/D6jIFcJc2WP5V7pgW+3STh3IEMONsrTMQ3LyiX/FMglXzYQFgoePKu5oIt3ASrH3eo5U3bGxLUPFwNV78Evj814Gug5zJjp5zWzq+qS/4ZJRldrbXdDfA54RlrgEVKye8N1DjAJuLZOqX0Z0h5DDQog9fTvXLPXe0WnsSIlTaiscTF2wVfcQlHfQFYy8WROSrjuOvw5ZSO65yWv0ZBtsFJ4Ne2gr66kDzTp0JfIWS+5XdaNyRnph68orBQejSzaKXzxUKkqkfoGMoM6H3/P93fzpb6d1j95ZOOnFo=
Content-Type: text/plain; charset="iso-8859-1"
Content-ID: <E9296DD93A8C5940A057C1275C14A3A1@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 1f570380-e2f1-45df-92d1-08d6a154917c
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Mar 2019 10:23:11.1850 (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-Transport-CrossTenantHeadersStamped: VI1PR07MB6109
Archived-At: <https://mailarchive.ietf.org/arch/msg/ccamp/_zAelmI77XyLAcTD1Gv094QpPN0>
Subject: Re: [CCAMP] FW: New Version Notification for draft-jiang-ccamp-flexe-yang-00.txt
X-BeenThere: ccamp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Discussion list for the CCAMP working group <ccamp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ccamp>, <mailto:ccamp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ccamp/>
List-Post: <mailto:ccamp@ietf.org>
List-Help: <mailto:ccamp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ccamp>, <mailto:ccamp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Mar 2019 10:23:17 -0000

----- Original Message -----
From: "Jiangyuanlong" <jiangyuanlong@huawei.com>
Sent: Monday, March 04, 2019 8:43 AM

> Dear CCAMPers,
>
> More and more network equipments (e.g., routers) begin to support
FlexE interfaces in the industry, especially after OIF published its
FlexE 2.0 implementation agreement.
> We submitted an I-D on "YANG Data Model for FlexE Interface
Management", to support configuration of FlexE 2.0 interface like an
ordinary network interface (by augmenting the YANG module of RFC 8343).
> Your reviews and comments will be very appreciated.

The challenge with such an I-D is getting access to the documentation of
another SDO to see just what it says, in this case, that of the OIF,
which some on this list will have but I assume that I will not.  Thus it
would be interesting to learn more about the relationship between

"            Note that max number of FlexE groups in a network is 63.";
and
"         leaf group-number { type uint32 {  range "1..1048574";

More prosaically, the IANA Considerations need work.  You say
"   It is proposed that IANA register a new IANAifType TBD for
   the interface type of Flex Ethernet in the "IANA Interface Type
   YANG Module" [RFC7224]."

Go read RFC7224 and you will find it says that this MUST NOT happen:-)
Rather, RFC7224 says that you should request IANA to
add a new interface type to the "ifType definitions" registry, whereupon
IANA will do the rest.  And RFC7224 specifies what data should be
specified with such a request which this I-D does not, at present,
provide.

Thus the YANG module has
       when "if:type = 'ianaift:flexethernet'" {
but 'flexethernet' is not defined anywhere so will never exist!

And
" It is proposed that IANA register the following YANG module in the
   "YANG Module Names" registry:
   Name:         ietf-flexe
   Namespace:    urn:ietf:params:xml:ns:yang:ietf-flexe
   Prefix:       flexe
   Reference:    this document"
will not work either; in the IANA web pages, 'this document' will not
make much sense - rather, you need RFC XXXX with a note to the RFC
Editor for XXXX to be replaced with the number assigned to the I-D.  You
need just the same in the YANG module itself.  (You only need the one
Note to the RFC Editor at the front of the I-D - the RFC Editor tell me
they prefer this).

Registering the YANG module needs a reference to RFC6020.

More technically, the use of enumerations in YANG is problematic since
- the numeric value is not carried in the protocol, it is for
documentation only (unlike SMI)
- it is complex to add values in future which I imagine will happen with
FlexE

Hence the widespread use of the YANG identity statement, which also has
its problems.  enumeration may be the right answer but it needs
consideration.

Tom Petch

>
> Best regards,
> Yuanlong on behalf of all coauthors
>
> -----Original Message-----
> From: internet-drafts@ietf.org [mailto:internet-drafts@ietf.org]
> Sent: Friday, March 01, 2019 4:48 PM
> To: Weiqiang Cheng <chengweiqiang@chinamobile.com>; Jiangyuanlong
<jiangyuanlong@huawei.com>; Hexiang (Xiang, IP Research)
<hexiang9@huawei.com>
> Subject: New Version Notification for
draft-jiang-ccamp-flexe-yang-00.txt
>
>
> A new version of I-D, draft-jiang-ccamp-flexe-yang-00.txt
> has been successfully submitted by Yuanlong Jiang and posted to the
IETF repository.
>
> Name: draft-jiang-ccamp-flexe-yang
> Revision: 00
> Title: YANG Data Model for FlexE Interface Management
> Document date: 2019-03-01
> Group: Individual Submission
> Pages: 15
> URL:
https://www.ietf.org/internet-drafts/draft-jiang-ccamp-flexe-yang-00.txt
> Status:
https://datatracker.ietf.org/doc/draft-jiang-ccamp-flexe-yang/
> Htmlized:
https://tools.ietf.org/html/draft-jiang-ccamp-flexe-yang-00
> Htmlized:
https://datatracker.ietf.org/doc/html/draft-jiang-ccamp-flexe-yang
>
>
> Abstract:
>    This document defines a YANG data model for the configuration of
>    FlexE 2.0 interface, and its FlexE clients. The YANG module in this
>    document conforms to the Network Management Datastore Architecture
>    (NMDA).
>
>
>
>
> Please note that it may take a couple of minutes from the time of
submission until the htmlized version and diff are available at
tools.ietf.org.
>
> The IETF Secretariat
>
> _______________________________________________
> CCAMP mailing list
> CCAMP@ietf.org
> https://www.ietf.org/mailman/listinfo/ccamp