Re: [Bier] 答复: Re: New Version Notification for draft-chh-bier-bier-yang-01.txt

"Reshad Rahman (rrahman)" <rrahman@cisco.com> Mon, 02 November 2015 09:36 UTC

Return-Path: <rrahman@cisco.com>
X-Original-To: bier@ietfa.amsl.com
Delivered-To: bier@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D3ED11B3573; Mon, 2 Nov 2015 01:36:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.084
X-Spam-Level:
X-Spam-Status: No, score=-4.084 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, CHARSET_FARAWAY_HEADER=3.2, DC_GIF_UNO_LARGO=2.176, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, MANGLED_TOOL=2.3, MIME_8BIT_HEADER=0.3, MIME_CHARSET_FARAWAY=2.45, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham
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 jPpw0dXvGPHl; Mon, 2 Nov 2015 01:36:07 -0800 (PST)
Received: from rcdn-iport-5.cisco.com (rcdn-iport-5.cisco.com [173.37.86.76]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B8CAB1B35BE; Mon, 2 Nov 2015 01:36:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=84826; q=dns/txt; s=iport; t=1446456966; x=1447666566; h=from:to:cc:subject:date:message-id:mime-version; bh=z+xW9h/jN3ViwhOJey16ZeFZK3SfKIL4JGP455/lKuw=; b=UHtxKiZH+mV8G6Ey0W4gr8KMRpxAq1eLh4Zf+MWxbqu9kbv/6+xamt8/ jrlhJ1KcPNDV+GT9GvBfz0uQ3Gc6NIz3s/rqh2Us1fJf0Z+oYdoqAZH79 DkIfDbkHp1UaZOPXWJONVquoi0WBLtwK+Sn3QldTS2kWF8CCmIwBrvcy7 0=;
X-Files: ATT00001.gif : 20601
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DtAgA0LTdW/4kNJK1UCoJuTVNvBr82DoFXAxcBCSWFUwIcgQ04FAEBAQEBAQF/C4Q1AQEBBAEBAQIVFDYHAwkCEgEGAgcKAwECBgEBARgBBgUEFQEFCQELFAYDCgQOBAEGCIgiDZMPnTEIjSWDMwEBAQEBAQEBAQEBAQEBAQEBAQEBAQ8JhneEfoQzJhALCg0JCIJbgUkFjRuFS4JzagGCUYFhAWmICIFZSIN3kjCDcQEfAUOCER0WgUByAYQ1JRyBBwEBAQ
X-IronPort-AV: E=Sophos;i="5.20,234,1444694400"; d="gif'147?scan'147,208,217,147";a="43094483"
Received: from alln-core-4.cisco.com ([173.36.13.137]) by rcdn-iport-5.cisco.com with ESMTP; 02 Nov 2015 09:36:04 +0000
Received: from XCH-RCD-016.cisco.com (xch-rcd-016.cisco.com [173.37.102.26]) by alln-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id tA29a4mZ028336 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Mon, 2 Nov 2015 09:36:04 GMT
Received: from xch-rcd-005.cisco.com (173.37.102.15) by XCH-RCD-016.cisco.com (173.37.102.26) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Mon, 2 Nov 2015 03:36:03 -0600
Received: from xch-rcd-005.cisco.com ([173.37.102.15]) by XCH-RCD-005.cisco.com ([173.37.102.15]) with mapi id 15.00.1104.000; Mon, 2 Nov 2015 03:36:03 -0600
From: "Reshad Rahman (rrahman)" <rrahman@cisco.com>
To: "hu.fangwei@zte.com.cn" <hu.fangwei@zte.com.cn>
Thread-Topic: 答复: Re: [Bier] New Version Notification for draft-chh-bier-bier-yang-01.txt
Thread-Index: AQHRFVHk+phZN4PKYkyQSXkprEz5fA==
Date: Mon, 02 Nov 2015 09:36:03 +0000
Message-ID: <D25D5B7B.10101F%rrahman@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.5.2.150604
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.24.102.230]
Content-Type: multipart/mixed; boundary="_004_D25D5B7B10101Frrahmanciscocom_"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/bier/8jI8z9v9u7YAbIL4zzUzIdj-3HQ>
Cc: "chen.ran@zte.com.cn" <chen.ran@zte.com.cn>, "bier@ietf.org" <bier@ietf.org>, "zhang.zheng@zte.com.cn" <zhang.zheng@zte.com.cn>, BIER <bier-bounces@ietf.org>, "Mahesh Sivakumar (masivaku)" <masivaku@cisco.com>
Subject: Re: [Bier] 答复: Re: New Version Notification for draft-chh-bier-bier-yang-01.txt
X-BeenThere: bier@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "\"Bit Indexed Explicit Replication discussion list\"" <bier.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/bier>, <mailto:bier-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/bier/>
List-Post: <mailto:bier@ietf.org>
List-Help: <mailto:bier-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/bier>, <mailto:bier-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Nov 2015 09:36:12 -0000

Hi Fangwei,

Comments <RR> on couple of your replies


  *   bitstringlengthenum is defined in a couple of places, instead you should have a typedef and use that typedef for all your bitstringlength leaf nodes. There are also some bitstringlength leaf nodes which are of type uint16, I believe this is incorrect.

[hfw] We  Define two types of bitstringLenths (imposition and disposition) instead of one just for more flexibility.  If the type is enumeration, the values are 64, 128, 256,512,etc.
If the type of bitstringlength is uint16, it means that the bitstringlength is a unique value.

<RR> You can still have a typedef for the enumeration, in the current model the enumeration is defined twice.


  *   For bfr-nbr you don’t need to have your own union of  ipv4-address and ipv6-address, use existing ip-address typedef from RFC6021

[hfw] The bfr-nbr may be a IPv4 address or IPv6 address.
<RR> This is ok. My point is that you don’t have to define the union, you can reuse existing ip-address type, it’s a union so can be V4 or V6.


  *   The BIRT portion needs to be described in section 5, e.g. why that key was chosen etc etc. Not a BIER expert but I am not sure the routing table as modelled is complete/correct.

[hfw] We can identify a BIRT entry if we use the three keys(sub-domain-id, bitstringlength, SI).
<RR> What you have to consider, and maybe you have already, is whether you want to be able to e.g. list all the entries for 1 sub-domain. If you do, then you may want to have nested containers as opposed to using a composite key.

Regards,
Reshad.


From: "hu.fangwei@zte.com.cn<mailto:hu.fangwei@zte.com.cn>" <hu.fangwei@zte.com.cn<mailto:hu.fangwei@zte.com.cn>>
Date: Monday, November 2, 2015 at 5:02 AM
To: Reshad <rrahman@cisco.com<mailto:rrahman@cisco.com>>
Cc: "bier@ietf.org<mailto:bier@ietf.org>" <bier@ietf.org<mailto:bier@ietf.org>>, BIER <bier-bounces@ietf.org<mailto:bier-bounces@ietf.org>>, "chen.ran@zte.com.cn<mailto:chen.ran@zte.com.cn>" <chen.ran@zte.com.cn<mailto:chen.ran@zte.com.cn>>, "Mahesh Sivakumar (masivaku)" <masivaku@cisco.com<mailto:masivaku@cisco.com>>, "zhang.zheng@zte.com.cn<mailto:zhang.zheng@zte.com.cn>" <zhang.zheng@zte.com.cn<mailto:zhang.zheng@zte.com.cn>>
Subject: 答复: Re: [Bier] New Version Notification for draft-chh-bier-bier-yang-01.txt

Hi, Reshad

Thanks for your comments.

Please see inline marked with [hfw].

Hi,

Took a look and here are some quick comments:

  *   bitstringlengthenum is defined in a couple of places, instead you should have a typedef and use that typedef for all your bitstringlength leaf nodes. There are also some bitstringlength leaf nodes which are of type uint16, I believe this is incorrect.
  *

[hfw] We  Define two types of bitstringLenths (imposition and disposition) instead of one just for more flexibility.  If the type is enumeration, the values are 64, 128, 256,512,etc.
If the type of bitstringlength is uint16, it means that the bitstringlength is a unique value.

  *   Leaf SI, in description spell out the full name “Set identifier”.
  *

[hfw]Ok.

  *   Might be good to have a type for BIER base types such as SI, sub-domain ID etc. YANG experts can advise you on this.

[hfw]Ok.

  *
  *   For AF, my understanding is that recommendation is to have a list indexed by AF, so you could combine list ipv4 and list ipv6 into 1 list . Please take a look at draft-raza-mpls-ldp-mldp-yang-02 for an example.

[hfw] There are some documents defines that IPv4 and IPv6  separately, while the mpls ldp mldp yang data uses the list indexed by AF, so I am not sure which one is better.

  *
  *   For label instead of uint32 you should eventually use mpls-label from ietf-mpls.yang

[hfw]Ok. We will use mpls-lable instead of uint32.

  *
  *   For bfr-nbr you don’t need to have your own union of  ipv4-address and ipv6-address, use existing ip-address typedef from RFC6021

[hfw] The bfr-nbr may be a IPv4 address or IPv6 address.

  *   The BIRT portion needs to be described in section 5, e.g. why that key was chosen etc etc. Not a BIER expert but I am not sure the routing table as modelled is complete/correct.
  *

[hfw] We can identify a BIRT entry if we use the three keys(sub-domain-id, bitstringlength, SI).


Regards.
Fangwei.



"Reshad Rahman (rrahman)" <rrahman@cisco.com<mailto:rrahman@cisco.com>>

2015-10-31 05:44


收件人
        "chen.ran@zte.com.cn<mailto:chen.ran@zte.com.cn>" <chen.ran@zte.com.cn<mailto:chen.ran@zte.com.cn>>,
抄送
        "bier@ietf.org<mailto:bier@ietf.org>" <bier@ietf.org<mailto:bier@ietf.org>>, BIER <bier-bounces@ietf.org<mailto:bier-bounces@ietf.org>>, "hu.fangwei@zte.com.cn<mailto:hu.fangwei@zte.com.cn>" <hu.fangwei@zte.com.cn<mailto:hu.fangwei@zte.com.cn>>, "Mahesh Sivakumar (masivaku)" <masivaku@cisco.com<mailto:masivaku@cisco.com>>, "zhang.zheng@zte.com.cn<mailto:zhang.zheng@zte.com.cn>" <zhang.zheng@zte.com.cn<mailto:zhang.zheng@zte.com.cn>>
主题
        Re: [Bier] New Version Notification for draft-chh-bier-bier-yang-01.txt







Hi,

Took a look and here are some quick comments:

  *   bitstringlengthenum is defined in a couple of places, instead you should have a typedef and use that typedef for all your bitstringlength leaf nodes. There are also some bitstringlength leaf nodes which are of type uint16, I believe this is incorrect.
  *   Leaf SI, in description spell out the full name “Set identifier”.
  *   Might be good to have a type for BIER base types such as SI, sub-domain ID etc. YANG experts can advise you on this.
  *   For AF, my understanding is that recommendation is to have a list indexed by AF, so you could combine list ipv4 and list ipv6 into 1 list . Please take a look at draft-raza-mpls-ldp-mldp-yang-02 for an example.
  *   For label instead of uint32 you should eventually use mpls-label from ietf-mpls.yang
  *   For bfr-nbr you don’t need to have your own union of  ipv4-address and ipv6-address, use existing ip-address typedef from RFC6021
  *   The BIRT portion needs to be described in section 5, e.g. why that key was chosen etc etc. Not a BIER expert but I am not sure the routing table as modelled is complete/correct.

Regards,
Reshad.

From: "chen.ran@zte.com.cn<mailto:chen.ran@zte.com.cn>" <chen.ran@zte.com.cn<mailto:chen.ran@zte.com.cn>>
Date: Friday, October 23, 2015 at 2:38 AM
To: Reshad <rrahman@cisco.com<mailto:rrahman@cisco.com>>
Cc: "bier@ietf.org<mailto:bier@ietf.org>" <bier@ietf.org<mailto:bier@ietf.org>>, BIER <bier-bounces@ietf.org<mailto:bier-bounces@ietf.org>>, "hu.fangwei@zte.com.cn<mailto:hu.fangwei@zte.com.cn>" <hu.fangwei@zte.com.cn<mailto:hu.fangwei@zte.com.cn>>, "Mahesh Sivakumar (masivaku)" <masivaku@cisco.com<mailto:masivaku@cisco.com>>, "zhang.zheng@zte.com.cn<mailto:zhang.zheng@zte.com.cn>" <zhang.zheng@zte.com.cn<mailto:zhang.zheng@zte.com.cn>>
Subject: Re: [Bier] New Version Notification for draft-chh-bier-bier-yang-01.txt

Hi Reshad,
Thank you your comments.
please see inline.Thanks.

Regards,
Ran





发件人:         "Reshad Rahman (rrahman)" <rrahman@cisco.com<mailto:rrahman@cisco.com>>
收件人:         "chen.ran@zte.com.cn<mailto:chen.ran@zte.com.cn>" <chen.ran@zte.com.cn<mailto:chen.ran@zte.com.cn>>, "bier@ietf.org<mailto:bier@ietf.org>" <bier@ietf.org<mailto:bier@ietf.org>>,
抄送:        "zhang.zheng@zte.com.cn<mailto:zhang.zheng@zte.com.cn>" <zhang.zheng@zte.com.cn<mailto:zhang.zheng@zte.com.cn>>, "hu.fangwei@zte.com.cn<mailto:hu.fangwei@zte.com.cn>" <hu.fangwei@zte.com.cn<mailto:hu.fangwei@zte.com.cn>>, "Mahesh Sivakumar \(masivaku\)" <masivaku@cisco.com<mailto:masivaku@cisco.com>>
日期:         2015/10/22 22:10
主题:        Re: [Bier] New Version Notification for draft-chh-bier-bier-yang-01.txt
发件人:        "BIER" <bier-bounces@ietf.org<mailto:bier-bounces@ietf.org>>
________________________________



Hi,

Repeating the same comments as for 00, the 2 following comments still apply for sure

  *   Please follow RFC6087 guidelines e.g. use of <CODE BEGINS>, <CODE ENDS> etc
  *   <Ran>: OK. we will add it in next version. Thanks
  *   Finally, please use the validator @ http://www.yangvalidator.com/
  *   <Ran>:  Sure, we have used this validator, and have passed.Please see below:

[cid:_1_0B2A69000B2A66940031BCDC48257EF1]
Regards,
Reshad.

From: BIER <bier-bounces@ietf.org<mailto:bier-bounces@ietf.org>> on behalf of "chen.ran@zte.com.cn<mailto:chen.ran@zte.com.cn>" <chen.ran@zte.com.cn<mailto:chen.ran@zte.com.cn>>
Date: Thursday, October 22, 2015 at 4:59 AM
To: "bier@ietf.org<mailto:bier@ietf.org>" <bier@ietf.org<mailto:bier@ietf.org>>
Cc: "zhang.zheng@zte.com.cn<mailto:zhang.zheng@zte.com.cn>" <zhang.zheng@zte.com.cn<mailto:zhang.zheng@zte.com.cn>>, "Mahesh Sivakumar (masivaku)" <masivaku@cisco.com<mailto:masivaku@cisco.com>>, "hu.fangwei@zte.com.cn<mailto:hu.fangwei@zte.com.cn>" <hu.fangwei@zte.com.cn<mailto:hu.fangwei@zte.com.cn>>
Subject: [Bier] New Version Notification for draft-chh-bier-bier-yang-01.txt

Hi all,
We have updated draft-chh-bier-bier-yang to 01 version.
The link is:  https://www.ietf.org/internet-drafts/draft-chh-bier-bier-yang-01.txt
Any comments and suggestion are welcome. Thanks.
Regards,
Ran


internet-drafts@ietf.org<mailto:internet-drafts@ietf.org> 写于 2015/10/19 10:27:13:

> 发件人:  internet-drafts@ietf.org<mailto:internet-drafts@ietf.org>
> 收件人:  "Xianxian Dai" <dai.xianxian@zte.com.cn<mailto:dai.xianxian@zte.com.cn>>,
> "dai.xianxian@zte.com.cn<mailto:dai.xianxian@zte.com.cn>" <dai.xianxian@zte.com.cn<mailto:dai.xianxian@zte.com.cn>>, "Zheng Zhang"
> <zhang.zheng@zte.com.cn<mailto:zhang.zheng@zte.com.cn>>, "fangwei hu" <hu.fangwei@zte.com.cn<mailto:hu.fangwei@zte.com.cn>>,
> "Fangwei Hu" <hu.fangwei@zte.com.cn<mailto:hu.fangwei@zte.com.cn>>, "Ran Chen"
> <chen.ran@zte.com.cn<mailto:chen.ran@zte.com.cn>>, "Mahesh Sivakumar" <masivaku@cisco.com<mailto:masivaku@cisco.com>>,
> "Zheng Zhang" <zhang.zheng@zte.com.cn<mailto:zhang.zheng@zte.com.cn>>, "Mahesh Sivakumar"
> <masivaku@cisco.com<mailto:masivaku@cisco.com>>, "Ran Chen" <chen.ran@zte.com.cn<mailto:chen.ran@zte.com.cn>>,
> 日期:  2015/10/19 10:27
> 主题: New Version Notification for draft-chh-bier-bier-yang-01.txt
>
>
> A new version of I-D, draft-chh-bier-bier-yang-01.txt
> has been successfully submitted by Ran Chen and posted to the
> IETF repository.
>
> Name:      draft-chh-bier-bier-yang
> Revision:   01
> Title:      YANG Data Model for BIER Protocol
> Document date:   2015-10-16
> Group:      Individual Submission
> Pages:      17
> URL:            https://www.ietf.org/internet-drafts/draft-chh-bier-
> bier-yang-01.txt
> Status:         https://datatracker.ietf.org/doc/draft-chh-bier-bier-yang/
> Htmlized:       https://tools.ietf.org/html/draft-chh-bier-bier-yang-01
> Diff:           https://www.ietf.org/rfcdiff?url2=draft-chh-bier-bier-yang-01
>
> Abstract:
>    This document defines a YANG data model for BIER configuration and
>    operation.
>
>
>
>
> 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
>
-----来自 <hu.fangwei@zte.com.cn<mailto:hu.fangwei@zte.com.cn>> 的消息,在 Thu, 23 Jul 2015 20:46:17 +0800 -----
收件人:
        "Reshad Rahman (rrahman)" <rrahman@cisco.com<mailto:rrahman@cisco.com>>
抄送:
        "draft-chh-bier-bier-yang@tools.ietf.org<mailto:draft-chh-bier-bier-yang@tools.ietf.org>" <draft-chh-bier-bier-yang@tools.ietf.org<mailto:draft-chh-bier-bier-yang@tools.ietf.org>>, "bier@ietf.org<mailto:bier@ietf.org>" <bier@ietf.org<mailto:bier@ietf.org>>, BIER <bier-bounces@ietf.org<mailto:bier-bounces@ietf.org>>
主题:
        Re: [Bier] Comments on draft-chh-bier-bier-yang-00


Hi, Rahman,

Thanks for your comments, we will correct it based on your suggestion.

Regards
Fangwei.

"Reshad Rahman (rrahman)" <rrahman@cisco.com<mailto:rrahman@cisco.com>>
发件人:  "BIER" <bier-bounces@ietf.org<mailto:bier-bounces@ietf.org>>

2015-07-23 19:43

收件人
        "draft-chh-bier-bier-yang@tools.ietf.org<mailto:draft-chh-bier-bier-yang@tools.ietf.org>" <draft-chh-bier-bier-yang@tools.ietf.org<mailto:draft-chh-bier-bier-yang@tools.ietf.org>>,
抄送
        "bier@ietf.org<mailto:bier@ietf.org>" <bier@ietf.org<mailto:bier@ietf.org>>
主题
        [Bier] Comments on draft-chh-bier-bier-yang-00











Hi authors,

  *   I tried to pyang the model in the draft and ran into quite a few errors. I stopped after the 4 below (these are basic YANG errors, wasn’t even using strict/ietf option)
  *   Once you fix these errors please compile with ―ietf option (sricter rules regarding ordering of statements, requiring description etc etc)
  *   Please follow RFC6087 guidelines e.g. use of <CODE BEGINS>, <CODE ENDS> etc
  *   Finally, please use the validator @ http://www.yangvalidator.com/

Regards,
Reshad.

ERRORS

No “” for the contact
ietf-bier.yang:34: error: unterminated statement definition for keyword "contact", looking at L

Extra “ in "reference "draft-chen-bier-bier-yang-00”;
59: error: unterminated statement definition for keyword "reference", looking at d

Missing ; in key "sub-domain-id"
125: error: unterminated statement definition for keyword "key", looking at l

Missing ; in type if:interface-ref
154: error: unterminated statement definition for keyword "type", looking at }


_______________________________________________
BIER mailing list
BIER@ietf.org<mailto:BIER@ietf.org>
https://www.ietf.org/mailman/listinfo/bier
[附件 "ATT00002.txt" 被 陈然080434/user/zte_ltd 删除]_______________________________________________
BIER mailing list
BIER@ietf.org<mailto:BIER@ietf.org>
https://www.ietf.org/mailman/listinfo/bier