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

hu.fangwei@zte.com.cn Mon, 02 November 2015 09:04 UTC

Return-Path: <hu.fangwei@zte.com.cn>
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 264C61B3544; Mon, 2 Nov 2015 01:04:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -95.96
X-Spam-Level:
X-Spam-Status: No, score=-95.96 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, CHARSET_FARAWAY_HEADER=3.2, HTML_MESSAGE=0.001, MANGLED_TOOL=2.3, MIME_8BIT_HEADER=0.3, MIME_CHARSET_FARAWAY=2.45, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=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 2Koyuaz7sbhy; Mon, 2 Nov 2015 01:04:47 -0800 (PST)
Received: from mx5.zte.com.cn (mx5.zte.com.cn [63.217.80.70]) by ietfa.amsl.com (Postfix) with ESMTP id 89BFD1B3547; Mon, 2 Nov 2015 01:04:46 -0800 (PST)
Received: from mse01.zte.com.cn (unknown [10.30.3.20]) by Websense Email Security Gateway with ESMTPS id A43F2CF38E8B4; Mon, 2 Nov 2015 17:04:41 +0800 (CST)
Received: from notes_smtp.zte.com.cn ([10.30.1.239]) by mse01.zte.com.cn with ESMTP id tA2936OR066112; Mon, 2 Nov 2015 17:03:15 +0800 (GMT-8) (envelope-from hu.fangwei@zte.com.cn)
In-Reply-To: <D25941B9.100699%rrahman@cisco.com>
References: <20151019022713.12650.22136.idtracker@ietfa.amsl.com> <OFE05C73E5.E6129CD2-ON48257EE6.00310DBC-48257EE6.00316CC3@zte.com.cn> <D24E657B.FAC66%rrahman@cisco.com> <OFEECA5AF4.8C172B4E-ON48257EE7.00053E7B-48257EE7.00247522@zte.com.cn> <D25941B9.100699%rrahman@cisco.com>
To: "Reshad Rahman (rrahman)" <rrahman@cisco.com>
MIME-Version: 1.0
X-KeepSent: 92C39ACF:6179130C-48257EF1:002F638D; type=4; name=$KeepSent
X-Mailer: Lotus Notes Release 8.5.3 September 15, 2011
Message-ID: <OF92C39ACF.6179130C-ON48257EF1.002F638D-48257EF1.0031BDC2@zte.com.cn>
From: hu.fangwei@zte.com.cn
Date: Mon, 02 Nov 2015 17:02:54 +0800
X-MIMETrack: Serialize by Router on notes_smtp/zte_ltd(Release 8.5.3FP6|November 21, 2013) at 2015-11-02 17:03:03
Content-Type: multipart/mixed; boundary="=_mixed 0031BCDD48257EF1_="
X-MAIL: mse01.zte.com.cn tA2936OR066112
Archived-At: <http://mailarchive.ietf.org/arch/msg/bier/Z1ADDcHeR02-1TBMBRY7XxKvYX8>
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: [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:04:51 -0000

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> 
2015-10-31 05:44

收件人
"chen.ran@zte.com.cn" <chen.ran@zte.com.cn>, 
抄送
"bier@ietf.org" <bier@ietf.org>, BIER <bier-bounces@ietf.org>, 
"hu.fangwei@zte.com.cn" <hu.fangwei@zte.com.cn>, "Mahesh Sivakumar 
(masivaku)" <masivaku@cisco.com>, "zhang.zheng@zte.com.cn" 
<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" <chen.ran@zte.com.cn>
Date: Friday, October 23, 2015 at 2:38 AM
To: Reshad <rrahman@cisco.com>
Cc: "bier@ietf.org" <bier@ietf.org>, BIER <bier-bounces@ietf.org>, "
hu.fangwei@zte.com.cn" <hu.fangwei@zte.com.cn>, "Mahesh Sivakumar 
(masivaku)" <masivaku@cisco.com>, "zhang.zheng@zte.com.cn" <
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>
收件人:         "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>, "
hu.fangwei@zte.com.cn" <hu.fangwei@zte.com.cn>, "Mahesh Sivakumar 
\(masivaku\)" <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>



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:

Regards, 
Reshad. 

From: BIER <bier-bounces@ietf.org> on behalf of "chen.ran@zte.com.cn" <
chen.ran@zte.com.cn>
Date: Thursday, October 22, 2015 at 4:59 AM
To: "bier@ietf.org" <bier@ietf.org>
Cc: "zhang.zheng@zte.com.cn" <zhang.zheng@zte.com.cn>, "Mahesh Sivakumar 
(masivaku)" <masivaku@cisco.com>, "hu.fangwei@zte.com.cn" <
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 写于 2015/10/19 10:27:13:

> 发件人:  internet-drafts@ietf.org
> 收件人:  "Xianxian Dai" <dai.xianxian@zte.com.cn>, 
> "dai.xianxian@zte.com.cn" <dai.xianxian@zte.com.cn>, "Zheng Zhang" 
> <zhang.zheng@zte.com.cn>, "fangwei hu" <hu.fangwei@zte.com.cn>, 
> "Fangwei Hu" <hu.fangwei@zte.com.cn>, "Ran Chen" 
> <chen.ran@zte.com.cn>, "Mahesh Sivakumar" <masivaku@cisco.com>, 
> "Zheng Zhang" <zhang.zheng@zte.com.cn>, "Mahesh Sivakumar" 
> <masivaku@cisco.com>, "Ran Chen" <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> 的消息,在 Thu, 23 Jul 2015 20:46:17 
+0800 ----- 
收件人:
"Reshad Rahman (rrahman)" <rrahman@cisco.com> 
抄送:
"draft-chh-bier-bier-yang@tools.ietf.org" <
draft-chh-bier-bier-yang@tools.ietf.org>, "bier@ietf.org" <bier@ietf.org>, 
BIER <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>
发件人:  "BIER" <bier-bounces@ietf.org> 
2015-07-23 19:43


收件人
"draft-chh-bier-bier-yang@tools.ietf.org" <
draft-chh-bier-bier-yang@tools.ietf.org>, 
抄送
"bier@ietf.org" <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
https://www.ietf.org/mailman/listinfo/bier
[附件 "ATT00002.txt" 被 陈然080434/user/zte_ltd 删除]
_______________________________________________
BIER mailing list
BIER@ietf.org
https://www.ietf.org/mailman/listinfo/bier