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

Jiangyuanlong <jiangyuanlong@huawei.com> Fri, 08 March 2019 07:52 UTC

Return-Path: <jiangyuanlong@huawei.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 68C5E131322 for <ccamp@ietfa.amsl.com>; Thu, 7 Mar 2019 23:52:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 1y-iA4THpxnb for <ccamp@ietfa.amsl.com>; Thu, 7 Mar 2019 23:52:55 -0800 (PST)
Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) (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 4B7D2129532 for <ccamp@ietf.org>; Thu, 7 Mar 2019 23:52:55 -0800 (PST)
Received: from lhreml707-cah.china.huawei.com (unknown [172.18.7.106]) by Forcepoint Email with ESMTP id 6997989FB5DE65C1477D for <ccamp@ietf.org>; Fri, 8 Mar 2019 07:52:53 +0000 (GMT)
Received: from lhreml701-chm.china.huawei.com (10.201.108.50) by lhreml707-cah.china.huawei.com (10.201.108.48) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 8 Mar 2019 07:52:52 +0000
Received: from lhreml701-chm.china.huawei.com (10.201.108.50) by lhreml701-chm.china.huawei.com (10.201.108.50) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Fri, 8 Mar 2019 07:52:52 +0000
Received: from DGGEML401-HUB.china.huawei.com (10.3.17.32) by lhreml701-chm.china.huawei.com (10.201.108.50) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA_P256) id 15.1.1591.10 via Frontend Transport; Fri, 8 Mar 2019 07:52:52 +0000
Received: from DGGEML512-MBX.china.huawei.com ([169.254.2.113]) by DGGEML401-HUB.china.huawei.com ([fe80::89ed:853e:30a9:2a79%31]) with mapi id 14.03.0415.000; Fri, 8 Mar 2019 15:52:45 +0800
From: Jiangyuanlong <jiangyuanlong@huawei.com>
To: tom petch <ietfc@btconnect.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: AQHU0AuKIplLGwbivkaSna4pFQp6CKYBWIzA
Date: Fri, 08 Mar 2019 07:52:45 +0000
Message-ID: <3B0A1BED22CAD649A1B3E97BE5DDD68BBC348E8B@dggeml512-mbx.china.huawei.com>
References: <155143009980.6207.15940951126550530112.idtracker@ietfa.amsl.com> <3B0A1BED22CAD649A1B3E97BE5DDD68BBC345242@dggeml512-mbx.china.huawei.com> <03a001d4d33d$26466380$4001a8c0@gateway.2wire.net>
In-Reply-To: <03a001d4d33d$26466380$4001a8c0@gateway.2wire.net>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.74.202.215]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/ccamp/FHrFcldhWypmar2hV0PePcSkF68>
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: Fri, 08 Mar 2019 07:52:59 -0000

Dear Tom,

Thank you a lot for your review and comments. This I-D is still an initial version of individual draft, so it need further work and we are glad to see more reviews and suggestions.
Please see my further comments inline.

Best regards,
Yuanlong

-----Original Message-----
From: tom petch [mailto:ietfc@btconnect.com] 
Sent: Tuesday, March 05, 2019 6:23 PM
To: Jiangyuanlong <jiangyuanlong@huawei.com>; 'CCAMP' <ccamp@ietf.org>
Cc: Weiqiang Cheng <chengweiqiang@chinamobile.com>; Hexiang (Xiang, IP Research) <hexiang9@huawei.com>
Subject: Re: [CCAMP] FW: New Version Notification for draft-jiang-ccamp-flexe-yang-00.txt

----- 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";

[JYL]: Just as Loa's email indicated, you can access FlexE 2.0 document by: https://www.oiforum.com/wp-content/uploads/2019/01/OIF-FLEXE-02.0-1.pdf


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.
[JYL]: My interpretation is RFC 7224 gives the information on IANA Interface Type YANG Module. You are right that the RFC don't need to change every time a new ifType is specified.


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).
[JYL]: Good advice, though I used to think such a note will be more rightful when this drat is well accepted by the WG and has the WG's consensus. 

Registering the YANG module needs a reference to RFC6020.
[JYL]: Good observation. Actually I think this is somewhat similar to the previous ifType issue, do we really need to refer to RFC 6020 while it cannot be changed?


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)
[JYL]: Do you mean the FlexE protocol itself? I think when we define a value in the YANG module, then the value is in the standard.

- it is complex to add values in future which I imagine will happen with FlexE
[JYL]: Not sure I understand your concern, do you mean that it is difficult thing to add some new values into an enumeration type? 

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