[spring] 答复: 答复: Comments on draft-geng-spring-sr-redundancy-protection

"Yangfan (IP Standard)" <shirley.yangfan@huawei.com> Tue, 20 July 2021 02:37 UTC

Return-Path: <shirley.yangfan@huawei.com>
X-Original-To: spring@ietfa.amsl.com
Delivered-To: spring@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6A00A3A07F6 for <spring@ietfa.amsl.com>; Mon, 19 Jul 2021 19:37:25 -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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, 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 d6L-uburxgTW for <spring@ietfa.amsl.com>; Mon, 19 Jul 2021 19:37:19 -0700 (PDT)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 192043A07F3 for <spring@ietf.org>; Mon, 19 Jul 2021 19:37:19 -0700 (PDT)
Received: from fraeml715-chm.china.huawei.com (unknown [172.18.147.201]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4GTMtc6DF8z6D8ZM; Tue, 20 Jul 2021 10:22:32 +0800 (CST)
Received: from dggeme752-chm.china.huawei.com (10.3.19.98) by fraeml715-chm.china.huawei.com (10.206.15.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Tue, 20 Jul 2021 04:37:14 +0200
Received: from kwepeml500003.china.huawei.com (7.221.188.182) by dggeme752-chm.china.huawei.com (10.3.19.98) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Tue, 20 Jul 2021 10:37:12 +0800
Received: from kwepeml500003.china.huawei.com ([7.221.188.182]) by kwepeml500003.china.huawei.com ([7.221.188.182]) with mapi id 15.01.2176.012; Tue, 20 Jul 2021 10:37:11 +0800
From: "Yangfan (IP Standard)" <shirley.yangfan@huawei.com>
To: "Jeffrey (Zhaohui) Zhang" <zzhang@juniper.net>, 'Rishabh Parekh' <rishabhp@gmail.com>
CC: "'Arvind Venkateswaran (arvvenka)'" <arvvenka@cisco.com>, "Gengxuesong (Geng Xuesong)" <gengxuesong@huawei.com>, "'spring@ietf.org'" <spring@ietf.org>, "'Rishabh Parekh (riparekh)'" <riparekh@cisco.com>
Thread-Topic: =?utf-8?B?W3NwcmluZ10g562U5aSNOiBDb21tZW50cyBvbiBkcmFmdC1nZW5nLXNwcmlu?= =?utf-8?Q?g-sr-redundancy-protection?=
Thread-Index: AdchqNboBkzcTc+pQz2/1sLPSorrgABEdhUgAIVha+AAAImLwAHmSsLgASzOUAAAAaZygAIiMz4AAJKP04AAM75J8AAIDMiAAB7YCQACO6iLAABeC7xQAS6yb4ABaWuLAAHKfBOgAIUxogAAblsokAfe7FcAABwCRWA=
Date: Tue, 20 Jul 2021 02:37:11 +0000
Message-ID: <5dfd709196014b98add6a67134bd8903@huawei.com>
References: <MN2PR05MB59812099F115C3FF43CA9077D4629@MN2PR05MB5981.namprd05.prod.outlook.com> <59384be985ae4d3bb9563bed2642bff1@huawei.com> <BYAPR11MB300030B313D45266695FA702DE7E9@BYAPR11MB3000.namprd11.prod.outlook.com> <MN2PR05MB5981AA3B0A5E0D6DDB60F46FD47E9@MN2PR05MB5981.namprd05.prod.outlook.com> <1e2ad2d64da24714bc50f64b3d39361f@huawei.com> <CABjMoXbTqmqPg6n7No1u7g3KZPFDDb8RX6CQgxZc1oWQnykTng@mail.gmail.com> <MN2PR05MB598197148CCF3C8F3C679836D44E9@MN2PR05MB5981.namprd05.prod.outlook.com> <d135ba6e0fbd452391922a0f26db00b7@huawei.com> <MN2PR05MB598195F475E282394FCE2E6FD4409@MN2PR05MB5981.namprd05.prod.outlook.com> <1940cc0fea6647bdb3bf6743e1edc4f6@huawei.com> <MN2PR05MB598120A50B2AF4E0FE75A38DD45F9@MN2PR05MB5981.namprd05.prod.outlook.com> <45e6f85736f145d08c430df0e3d6cb28@huawei.com> <MN2PR05MB5981071A7142D1260AC75FB5D4539@MN2PR05MB5981.namprd05.prod.outlook.com> <f2e1983d56614907ba3d934ad1c073bd@huawei.com> <MN2PR05MB5981C130C3B3D31227A3D857D42B9@MN2PR05MB5981.namprd05.prod.outlook.com> <BL0PR05MB56527DEC3D8B432058DC4D9CD4249@BL0PR05MB5652.namprd05.prod.outlook.com> <ca9ac76001484219bbe4fbe541beae1b@huawei.com> <BL0PR05MB5652D4FE16785E6D3305C83BD4389@BL0PR05MB5652.namprd05.prod.outlook.com> <70fea22d6ccf435d8d6ecb775e7461d4@huawei.com> <BL0PR05MB5652CD8454D5088E239F6297D4E19@BL0PR05MB5652.namprd05.prod.outlook.com>
In-Reply-To: <BL0PR05MB5652CD8454D5088E239F6297D4E19@BL0PR05MB5652.namprd05.prod.outlook.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.108.243.115]
Content-Type: multipart/alternative; boundary="_000_5dfd709196014b98add6a67134bd8903huaweicom_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/polns622TTTyGoLHFCbrLnNUTYk>
Subject: [spring] =?utf-8?b?562U5aSNOiAg562U5aSNOiBDb21tZW50cyBvbiBkcmFm?= =?utf-8?q?t-geng-spring-sr-redundancy-protection?=
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Source Packet Routing in NetworkinG \(SPRING\)" <spring.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spring>, <mailto:spring-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spring/>
List-Post: <mailto:spring@ietf.org>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spring>, <mailto:spring-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 20 Jul 2021 02:37:26 -0000

Hi Jeffrey,
Glad to see now you are clear about how redundancy segment is used with redundancy policy, as it is a very simple mechanism.
Regarding the unclear text you mentioned in replication segment draft, we are looking forward to draft updates. Thanks for clarifications.

Regards,
Fan



发件人: Jeffrey (Zhaohui) Zhang [mailto:zzhang@juniper.net]
发送时间: 2021年7月20日 5:01
收件人: Yangfan (IP Standard) <shirley.yangfan@huawei.com>om>; 'Rishabh Parekh' <rishabhp@gmail.com>
抄送: 'Arvind Venkateswaran (arvvenka)' <arvvenka@cisco.com>om>; Gengxuesong (Geng Xuesong) <gengxuesong@huawei.com>om>; 'spring@ietf.org' <spring@ietf.org>rg>; 'Rishabh Parekh (riparekh)' <riparekh@cisco.com>
主题: RE: [spring] 答复: Comments on draft-geng-spring-sr-redundancy-protection

Hi Fan,

Coming back to this topic after a long time – been busy with lots of things.

Please see zzh2> below.

From: Yangfan (IP Standard) <shirley.yangfan@huawei.com<mailto:shirley.yangfan@huawei.com>>
Sent: Thursday, June 10, 2021 8:20 AM
To: Jeffrey (Zhaohui) Zhang <zzhang@juniper.net<mailto:zzhang@juniper.net>>; 'Rishabh Parekh' <rishabhp@gmail.com<mailto:rishabhp@gmail.com>>
Cc: 'Arvind Venkateswaran (arvvenka)' <arvvenka@cisco.com<mailto:arvvenka@cisco.com>>; Gengxuesong (Geng Xuesong) <gengxuesong@huawei.com<mailto:gengxuesong@huawei.com>>; 'spring@ietf.org' <spring@ietf.org<mailto:spring@ietf.org>>; 'Rishabh Parekh (riparekh)' <riparekh@cisco.com<mailto:riparekh@cisco.com>>
Subject: 答复: [spring] 答复: Comments on draft-geng-spring-sr-redundancy-protection

[External Email. Be cautious of content]

Hi Jeff,
Please see the inline comments below starts with Fan2>>.

发件人: Jeffrey (Zhaohui) Zhang [mailto:zzhang@juniper.net]
发送时间: 2021年6月7日 22:47
收件人: Yangfan (IP Standard) <shirley.yangfan@huawei.com<mailto:shirley.yangfan@huawei.com>>; 'Rishabh Parekh' <rishabhp@gmail.com<mailto:rishabhp@gmail.com>>
抄送: 'Arvind Venkateswaran (arvvenka)' <arvvenka@cisco.com<mailto:arvvenka@cisco.com>>; Gengxuesong (Geng Xuesong) <gengxuesong@huawei.com<mailto:gengxuesong@huawei.com>>; 'spring@ietf.org' <spring@ietf.org<mailto:spring@ietf.org>>; 'Rishabh Parekh (riparekh)' <riparekh@cisco.com<mailto:riparekh@cisco.com>>
主题: RE: [spring] 答复: Comments on draft-geng-spring-sr-redundancy-protection

Hi Fan,

Please see zzh1> below.

From: Yangfan (IP Standard) <shirley.yangfan@huawei.com<mailto:shirley.yangfan@huawei.com>>
Sent: Friday, June 4, 2021 12:11 PM
To: Jeffrey (Zhaohui) Zhang <zzhang@juniper.net<mailto:zzhang@juniper.net>>; 'Rishabh Parekh' <rishabhp@gmail.com<mailto:rishabhp@gmail.com>>
Cc: 'Arvind Venkateswaran (arvvenka)' <arvvenka@cisco.com<mailto:arvvenka@cisco.com>>; Gengxuesong (Geng Xuesong) <gengxuesong@huawei.com<mailto:gengxuesong@huawei.com>>; 'spring@ietf.org' <spring@ietf.org<mailto:spring@ietf.org>>; 'Rishabh Parekh (riparekh)' <riparekh@cisco.com<mailto:riparekh@cisco.com>>
Subject: 答复: [spring] 答复: Comments on draft-geng-spring-sr-redundancy-protection

[External Email. Be cautious of content]

Hi Jeff,
I am coming back. Please see inline comments starts with Fan1>>.

发件人: Jeffrey (Zhaohui) Zhang [mailto:zzhang@juniper.net]
发送时间: 2021年5月27日 4:26
收件人: Yangfan (IP Standard) <shirley.yangfan@huawei.com<mailto:shirley.yangfan@huawei.com>>; 'Rishabh Parekh' <rishabhp@gmail.com<mailto:rishabhp@gmail.com>>
抄送: 'Arvind Venkateswaran (arvvenka)' <arvvenka@cisco.com<mailto:arvvenka@cisco.com>>; Gengxuesong (Geng Xuesong) <gengxuesong@huawei.com<mailto:gengxuesong@huawei.com>>; 'spring@ietf.org' <spring@ietf.org<mailto:spring@ietf.org>>; 'Rishabh Parekh (riparekh)' <riparekh@cisco.com<mailto:riparekh@cisco.com>>
主题: RE: [spring] 答复: Comments on draft-geng-spring-sr-redundancy-protection

Hi Fan,

In this thread I’ll address another point that I deferred. I snipped unrelated text.



Zzh6> It’s important to distinguish between control plane and data plane. In data plane it is always a simple SID (replication or redundancy). In control plane (that sets up the replication/redundancy state on relevant nodes), it could be whatever.

Fan> I try to compare the two solutions redundancy protection and P2MP replication as follows, hope it can help the understandings.

Format: <solution> ,  <identifier of service> ,  <how it works>
<redundancy protection> , <Redundancy SID> ,  <service is identified by Red-SID, Red-SID triggers redundancy policy to assign candidate paths between redundancy node and merging node>
<P2MP replication> ,  <P2MP policy identifier (root-id, tree-id)> ,  <P2MP policy gives the tree structure of the P2MP service, replication segment is an atomic building block for packet replication and stays in root, bud and leaf>

Although each solution includes a SID and a SR-Policy, there are totally different mechanisms. I don’t think it is just a representation difference.


In your representation for Redundancy solution, you mentioned “candidate paths”. I would change it to “replication branches”, because “candidate paths” in SR policies have a different meaning.
Fan1>> Firstly, I don’t see much difference of candidate path either in SR policy or in Redundancy policy.

Basically, the redundancy policy would replicate incoming traffic and send them down to different paths.
Fan1>> Secondly, redundancy policy doesn’t specify the replication instruction, which is indicated by redundancy segment. Redundancy policy just extends SR policy to support more than one usable candidate path. Though it is not detailed explained in the draft, you can simply regard redundancy policy as an SR policy including two candidate paths with same preferences.

Zzh1> What does your “candidate path” mean exactly? Why do they have the same preference? With the CP concept in SR policies, only one of the CPs will be chosen and only one copy of the traffic will be sent out.
Fan2>> Yes, the above is correct according to current specification of SR policy. The target of redundancy policy is to give more than one paths to redundancy node to be encapsulated on the replicas. It can be indicated by different candidate paths, or even different segment lists in one candidate path. We can work on the details until the discussion of redundancy segment becomes clear.
Zzh2> OK now it’s clear – I thought you meant the actual branches for replication.
Zzh2> Couldn’t resist to say that it’s another thing that replication policy already provides 😊

No additional replication is done downstream and this corresponds to the “Ingress Replication” concept in multicast/p2mp.
Fan1>> in our design, the headend and endpoint of redundancy protection would be the redundancy node and merging node. In terms of your solution, downstream node would be the merging node. Of course you can put elimination behavior in the other nodes behind the node at which the packets from different path actually flow to and get together, but this is how you put the redundancy protection mechanism in your solution.
Zzh1> With the replication segment method, the elimination behavior does *not* have to another node behind the node where replicated packets will get together.

-----snip it from email in May 20--------
Zzh> The ingress will send packets with SL <A, R, M>. SID A gets the packet to A, who sees R and do the replication (R is not popped by A). D sees R in the SL and pops R (this is the replication segment behavior on a leaf). It then sees M and do the merging. Alternatively, A could pop R so D will see M directly and do the merging.
Fan2>> popping  R to process M may work in SR-MPLS, not SRv6.
if the merging node is the downstream node, section 2.2 SRv6 data plane of draft-~-replication-segment says,
“For a leaf node, the packet is decapsulated and the inner packet is forwarded as per local configuration. ”
It’s saying IPv6 +SRH header is removed when R SID is processed on downstream node (equals to merging node). Even though M SID is encapsulated in SID list, there is no opportunity to process it. Do I understand it correctly?

Zzh2> Assuming that the root of the redundancy/redundancy node puts on the extra header, then the merging node (which may or may not be the replication tree’s leaves) will decapsulate. It’s the merging function that does the decapsulation (if the redundancy function on the redundancy node puts on the extra header).

Zzh2> Thanks for quoting the text – it is unclear or misleading. Actually we discussed whether the extra header’s pushing/popping should be considered as part of the replication function or as part of the overlay function. The following is our current understanding:
Zzh2> The text you quoted above is actually not quite correct strictly speaking. It mixed the overlay service (e.g. MVPN) and the underlay service (SR-P2MP being the provider tunnel). The following is a better dissection of the things involved here:
1.  A replication node does not do H.encaps for the purpose of replication.
2.  The application (e.g. MVPN) on tunnel root will do H.encaps (for overlay function), but that is not related to Replication Segment.
3.  A replication node (including the root) may do H.encaps to explicitly steer traffic to a downstream node. That is not related to replication segment either.
4.  On a root, the two H.encaps in #2, #3 may be combined for optimization purpose (so that only one encapsulation is used)
5.  On a leaf/bud node, for the local delivery copy the replication SID’s semantics is “look at next SID in SRH”. The next SID could be a SID with End.DT2/4/6 semantics (equivalent of MVPN/EVPN PMSI label in case of tunnel sharing). There may also not be a next SID (e.g. MVPN/EVPN w/o tunnel sharing across VPNs), and the semantics for the replication SID is then also End.DT2/4/6 but that semantics (including which table to use) is added to the replication SID because of MVPN/EVPN signaling and not inherent to replication segment.
Zzh2> The above points should be reflected in a future update of the draft, and you can see that the same would apply to redundancy situation as well (the redundancy/merging functionality can be considered as an overlay service that makes use of replication underlay service).

Zzh2> Thanks.
Zzh2> Jeffrey


For <identifier of service>, you used “redundancy SID” and “P2MP policy identifier” respectively. As I mentioned before, in the data plane both just use a SID. In the control plane (i.e., how the replication/redundancy segment is installed), the identifier could be anything for both solutions, including a SID.

For replication segment based solution, unless the replication is to more than two copies and done by a multi-level tree (node 1 replicating to node 2 and 3, and then node 2 replicating to node 4 and 5), then it is “Ingress Replication” and no different from the redundancy segment solution.

BTW, P2MP policy (with tree identification, candidate paths, set of leaves, etc.) are really just control plane information on the root. It does not give the tree structure either. Instead, the entire replication tree are just concatenated replication segments on root, leaves and intermediate replication nodes. The intermediate replication nodes are optional (i.e., Ingress Replication), and in that case there is no difference from the redundancy segment.

Fan1>> From data plane perspective, replication segment and redundancy segment share the replication instruction, differ from whether to encap FI and SN at the same time. I will leave this FI,SN adding discussion to another email thread.
Zzh1> whether to add FI/SN is just an additional item that can be added to the replication segment (when it is used for redundancy purpose).
However, from control plane perspective, two solutions are quite different on how redundancy protection service is provided. Since redundancy protection is more likely used in unicast scenario, (it can be used for multicast, but let’s leave it to a separate thread), it doesn’t make sense to extend BGP MVPN attribute for a unicast redundancy protection service.
Zzh1> There are two aspects when it comes to control plane.
Zzh1> a) setup of the redundancy/replication segment on the redundancy node. To me this is the same for both (the replication segment setup can be augmented with an “add FI/SN” semantics if necessary).
Zzh1> b) signal to the ingress node of the binding SID for redundancy purpose. To me this is also the same for both.
Again, I don’t argue the possibility of using replication segment and P2MP policy as one solution to provide redundancy protection. We provide our approach to achieve redundancy protection. Replication segment is just the second approach. But I don’t believe the saying that the approach A is the approach B. Actually, both of them can the solutions to provide redundancy protection. I even think we can collaborate on this topic. What do you think? ☺
Zzh1> I just don’t see there is a need to have a separate redundancy policy/segment because they’re almost identical - the replication policy/segment can provide what you need. This does not mean that we don’t need this draft-geng anymore. If I have convinced you, you only need to refer to the replication policy/segment drafts in draft-geng and we only need to augment the replication policy/segment with the function of adding FI/SN if we agree that is needed for some scenarios.

Fan2>> I’d like  to go deep to understand how replication segment can be used in both SR-MPLS and SRv6 data planes first. This process will also bring benefit on how to arrange the drafts finally.
Thanks.
Fan


Zzh1> Thanks.
Zzh1> Jeffrey

Regards,
Fan


Jeffrey


Juniper Business Use Only


Juniper Business Use Only


Juniper Business Use Only