Re: [Bier] Questions on draft-zhang-bier-te-yang

benjamin r <benjamin.r@huawei.com> Fri, 10 May 2019 09:53 UTC

Return-Path: <benjamin.r@huawei.com>
X-Original-To: bier@ietfa.amsl.com
Delivered-To: bier@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 84F8112002F for <bier@ietfa.amsl.com>; Fri, 10 May 2019 02:53:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level:
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, 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 69JGTLT_3-aE for <bier@ietfa.amsl.com>; Fri, 10 May 2019 02:53:45 -0700 (PDT)
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 C58471201C9 for <bier@ietf.org>; Fri, 10 May 2019 02:53:44 -0700 (PDT)
Received: from lhreml704-cah.china.huawei.com (unknown [172.18.7.106]) by Forcepoint Email with ESMTP id 97744BF8291CA4DF3CA2 for <bier@ietf.org>; Fri, 10 May 2019 10:53:42 +0100 (IST)
Received: from lhreml701-chm.china.huawei.com (10.201.108.50) by lhreml704-cah.china.huawei.com (10.201.108.45) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 10 May 2019 10:53:42 +0100
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.1713.5; Fri, 10 May 2019 10:53:41 +0100
Received: from DGGEML423-HUB.china.huawei.com (10.1.199.40) 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.1713.5 via Frontend Transport; Fri, 10 May 2019 10:53:40 +0100
Received: from DGGEML532-MBX.china.huawei.com ([169.254.8.13]) by dggeml423-hub.china.huawei.com ([10.1.199.40]) with mapi id 14.03.0439.000; Fri, 10 May 2019 17:53:36 +0800
From: benjamin r <benjamin.r@huawei.com>
To: "bier@ietf.org" <bier@ietf.org>, "zhang.zheng@zte.com.cn" <zhang.zheng@zte.com.cn>
Thread-Topic: Re:RE: Re:[Bier] Questions on draft-zhang-bier-te-yang
Thread-Index: AdUGcnCTxlaL6i4DQrGMZxRFPPgiqgAGR1uAABjKYHD//7ikgP//d7RQ
Date: Fri, 10 May 2019 09:53:36 +0000
Message-ID: <0F70AB4850DED443831FABD19947F6A57F01208F@DGGEML532-MBX.china.huawei.com>
References: 201905100920530185980@zte.com.cn, 0F70AB4850DED443831FABD19947F6A57F01202D@DGGEML532-MBX.china.huawei.com <201905101655198377346@zte.com.cn>
In-Reply-To: <201905101655198377346@zte.com.cn>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-originating-ip: [10.18.150.197]
Content-Type: multipart/related; boundary="_004_0F70AB4850DED443831FABD19947F6A57F01208FDGGEML532MBXchi_"; type="multipart/alternative"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/bier/IPeg0vaYVVtO3Q0moSByx7HVJOg>
Subject: Re: [Bier] Questions on draft-zhang-bier-te-yang
X-BeenThere: bier@ietf.org
X-Mailman-Version: 2.1.29
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: Fri, 10 May 2019 09:53:49 -0000

Hi Sandy,
 Thanks for the reply.
Please find my reply below.

Thanks
Benjamin R
VRP PDU, Network Business Line
Huawei Technologies India Pvt. Ltd.
Survey No. 37, Next to EPIP Area, Kundalahalli, Whitefield
Bengaluru-560066, Karnataka
Tel: + 91-80-49160700 Ext II Mob: 8123906320 Email: benjamin.r@huawei.com<mailto:benjamin.r@huawei.com>
[Company_logo]


________________________________

This e-mail and its attachments contain confidential information from HUAWEI, which
is intended only for the person or entity whose address is listed above. Any use of the
information contained herein in any way (including, but not limited to, total or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by
phone or email immediately and delete it!

From: zhang.zheng@zte.com.cn [mailto:zhang.zheng@zte.com.cn]
Sent: Friday, May 10, 2019 2:25 PM
To: benjamin r <benjamin.r@huawei.com>
Cc: bier@ietf.org
Subject: Re:RE: Re:[Bier] Questions on draft-zhang-bier-te-yang


Hi Ben,



Thank you for your response!

Please find my answer below with [Sandy2].



Thanks,

Sandy


原始邮件
发件人:benjaminr <benjamin.r@huawei.com<mailto:benjamin.r@huawei.com>>
收件人:张征00007940;bier@ietf.org <bier@ietf.org<mailto:bier@ietf.org>>;
日 期 :2019年05月10日 14:28
主 题 :RE: Re:[Bier] Questions on draft-zhang-bier-te-yang
Hi Sandy,

Thanks for the reply.
Please find my reply below.

Thanks
Benjamin R
VRP PDU, Network Business Line
Huawei Technologies India Pvt. Ltd.
Survey No. 37, Next to EPIP Area, Kundalahalli, Whitefield
Bengaluru-560066, Karnataka
Tel: + 91-80-49160700 Ext II Mob: 8123906320 Email: benjamin.r@huawei.com<mailto:benjamin.r@huawei.com>
[Company_logo]


________________________________

This e-mail and its attachments contain confidential information from HUAWEI, which
is intended only for the person or entity whose address is listed above. Any use of the
information contained herein in any way (including, but not limited to, total or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by
phone or email immediately and delete it!

From: zhang.zheng@zte.com.cn<mailto:zhang.zheng@zte.com.cn> [mailto:zhang.zheng@zte.com.cn]
Sent: Friday, May 10, 2019 6:51 AM
To: benjamin r <benjamin.r@huawei.com<mailto:benjamin.r@huawei.com>>
Cc: bier@ietf.org<mailto:bier@ietf.org>
Subject: Re:[Bier] Questions on draft-zhang-bier-te-yang


Hi Ben,



Thank you very much for your comments!

Please find my answer below with [Sandy].



Thanks,

Sandy


原始邮件
发件人:benjaminr <benjamin.r@huawei.com<mailto:benjamin.r@huawei.com>>
收件人:BIER WG <bier@ietf.org<mailto:bier@ietf.org>>;
日 期 :2019年05月09日 22:44
主 题 :[Bier] Questions on draft-zhang-bier-te-yang
_______________________________________________
BIER mailing list
BIER@ietf.org<mailto:BIER@ietf.org>
https://www.ietf.org/mailman/listinfo/bier


Hi,

Authors, please clarify the below questions.

      module: ietf-bier-te
        augment /rt:routing:
          +--rw bier-te
             +--rw subdomain* [subdomain-id]
                +--rw subdomain-id    uint16
                +--rw te-adj-id
                |  +--rw si* [si]
                |     +--rw si     uint16
                |     +--rw adj* [adj-id]
                |        +--rw adj-id     uint16
                |        +--rw adj-if     if:interface-ref
                |        +--rw bp-type?   Enumeration // BEN1
BEN1//
Bp-type is the property of interface and I think the bp-type will not change (or) need to be configured for each SD.
Example: bp-type of an interface is p2p no matter the SD ?
Considering this, can we remove this config under SD and instead define this bp-type configuration under bier-te/adj-if
This means, a hierarchy like “bier-te/adj-if/bp-type”.
[Sandy] The BIER-TE's BP is different with BIER. The BP of BIER-TE should under SD and SI. Please find the description in the first paragraph, section 1 in "draft-ietf-bier-te-arch-01".
"

   The Bit Index Forwarding Table (BIFT) exists in every BFR.  For every

   subdomain in use, it is a table indexed by SI:BitPosition and is

   populated by the BIER-TE control plane.  Each index can be empty or

   contain a list of one or more adjacencies.
"
[BEN] Sandy, I agree meaning of BP is different in BIER-TE(refers to adjacencies), and should be under  SD/SI/BSL.
           The point I am telling is about BP-Type (not Bit position) which is the adjacency type(p2p/ring  etc.), I think it should not be under SD/SI.
           Instead it should be under adj-if(adjacency interface).  Because, regardless of SD/SI, the  adjacency type (p2p/ring etc..) is going to be the same.
           So, I suggest we can rename the bp-type to adj-type and have it like “bier-te/adj-if/adj-type”.
 [Sandy2] You mean that we split the model into two parts, one is for adj-if configuration, and another is for forwarding table. And the adj-if configuration is indexed by adjacency not BP.
 Am I unstandand right? If I understand right, OK. we can do this change.
[BEN2] Yes, index by “adj-if” and access “adj-type”.
                +--rw bsl* [fwd-bsl]
                |  +--rw fwd-bsl    uint16
                |  +--rw si* [si]
                |     +--rw si            uint16
                |     +--rw te-bift-id
                |     |  +--rw type?    enumeration
                |     |  +--rw value    rt-types:mpls-label
                |     +--rw fwd-items* [te-bp]
                |        +--rw te-bp       uint16
                |        +--rw bp-type?    enumeration // BEN2
BEN2//
Fwd-items need not have bp-type. I think there is no use of this field in forwarding. Can this be removed ?
[Sandy] It is inherent from the adjacency's BP. If the router is total controlled by controller, the forwarding table can be delivered to router directly with no per adjacency BP  configuration.
So IMO it can be showed here though it may not be used in forwarding.
[BEN] I feel, whether or not router is controlled by the controller, it is not correct to have bp-type  under fwd-items. It is also redundant with “sd/te-adj-id/si/adj/bp-type”.
         Can be retained as a read only node, for display purpose. But, I feel not correct to have  it as a write node per bit position(same reasoning as BEN1)
 [Sandy2] OK.  The deletion of bp-type is easy.
[BEN2] OK.

                |        +--rw (fwd-type)
                |        |  +--:(connected)
                |        |  +--:(routed)
                |        |  +--:(local-decap)
                |        |  +--:(other)
                |        +--rw dnr-flag?   boolean
                |        +--rw out-info //BEN3
BEN3//

“Section 3.6. Requirements”  of draft-ietf-bier-te-arch-01:
“BIER-TE forwarding MAY support more than one adjacency on a bit and
ECMP adjacencies.”

It is advantageous to have a single bit position mapped to more than one adjacency.
So the fields like out-info, fwd-type, dnr-flag etc need to be grouped to a container, and there can be a list of this container under te-bp.
[Sandy] I agree with you that in some circumstances the same BP can be used for multiple links.
IMO the simplest modification is that change the leaf "out-info" to list, like out-info [if-index].
How do you think about it?
[BEN] Assume a case like below, for example
SD=1, BSL=256, SI=0, fwd-items[te-bp=1, out-if=x, [fwd-type=connected, dnr-flag=1...]]
                                       fwd-items[te-bp=1, out-if=y, [fwd-type=local_decap, dnr-flag=0...]]
So, I think not only we should make out-if  to list, but also move the adjacency related fields under  out-if, instead of te-bp, so that it will be more flexible.
 [Sandy2] Got it. I have a question: If this situration exist that different fwd-types are used by a te-bp?
For example, in the situration that every BFER is assigned a same BP, the fwd-type is same with local_decap and can not be others. Right?
[BEN2]
Reply to first statement:
Yes, I think situation can exist.
for example, when one interface fwd-type is forward_connected, another interface fwd-type is forward_routed.
Reply to second statement:
Yes, I agree.
                |        |  +--rw fwd-intf          if:interface-ref
                |        |  +--rw te-out-bift-id
                |        |     +--rw type?    enumeration
                |        |     +--rw value    rt-types:mpls-label
                |        +--rw te-frr {bier-te-frr}?
                |        |  +--rw frr-index?      uint16
                |        |  +--rw resetbitmask* [bitmask]
                |        |     +--rw bitmask    bit-string
                |        +--rw te-ecmp* [out-if] {bier-te-ecmp}?
                |           +--rw out-if            if:interface-ref
                |           +--rw te-out-bift-id
                |              +--rw type?    enumeration
                |              +--rw value    rt-types:mpls-label




Thanks
Benjamin R
VRP PDU, Network Business Line
Huawei Technologies India Pvt. Ltd.
Survey No. 37, Next to EPIP Area, Kundalahalli, Whitefield
Bengaluru-560066, Karnataka
Tel: + 91-80-49160700 Ext II Mob: 8123906320 Email: benjamin.r@huawei.com<mailto:benjamin.r@huawei.com>
[Company_logo]


________________________________

This e-mail and its attachments contain confidential information from HUAWEI, which
is intended only for the person or entity whose address is listed above. Any use of the
information contained herein in any way (including, but not limited to, total or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by
phone or email immediately and delete it!