Re: [Detnet-dp-dt] Using MS-PW concept for the d-pw
Jiangyuanlong <jiangyuanlong@huawei.com> Fri, 24 February 2017 07:30 UTC
Return-Path: <jiangyuanlong@huawei.com>
X-Original-To: detnet-dp-dt@ietfa.amsl.com
Delivered-To: detnet-dp-dt@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1])
by ietfa.amsl.com (Postfix) with ESMTP id 283A51295D1
for <detnet-dp-dt@ietfa.amsl.com>; Thu, 23 Feb 2017 23:30:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.211
X-Spam-Level:
X-Spam-Status: No, score=-4.211 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3,
RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01,
RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01]
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 uBE9lIrfVRhH for <detnet-dp-dt@ietfa.amsl.com>;
Thu, 23 Feb 2017 23:30:46 -0800 (PST)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17])
(using TLSv1 with cipher RC4-SHA (128/128 bits))
(No client certificate requested)
by ietfa.amsl.com (Postfix) with ESMTPS id D1A371295D2
for <detnet-dp-dt@ietf.org>; Thu, 23 Feb 2017 23:30:44 -0800 (PST)
Received: from 172.18.7.190 (EHLO lhreml704-cah.china.huawei.com)
([172.18.7.190])
by lhrrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued)
with ESMTP id DHR18334; Fri, 24 Feb 2017 07:30:41 +0000 (GMT)
Received: from SZXEMA414-HUB.china.huawei.com (10.82.72.73) by
lhreml704-cah.china.huawei.com (10.201.108.45) with Microsoft SMTP Server
(TLS) id 14.3.301.0; Fri, 24 Feb 2017 07:30:39 +0000
Received: from SZXEMA506-MBS.china.huawei.com ([169.254.4.67]) by
SZXEMA414-HUB.china.huawei.com ([10.82.72.73]) with mapi id 14.03.0235.001;
Fri, 24 Feb 2017 15:30:26 +0800
From: Jiangyuanlong <jiangyuanlong@huawei.com>
To: =?utf-8?B?QmFsw6F6cyBWYXJnYSBB?= <balazs.a.varga@ericsson.com>, "Jouni
Korhonen" <jouni.korhonen@broadcom.com>, "detnet-dp-dt@ietf.org"
<detnet-dp-dt@ietf.org>
Thread-Topic: [Detnet-dp-dt] Using MS-PW concept for the d-pw
Thread-Index: AdKNIl29YFidtgxOTBibC2VpCfyDbP//tt2AgAFFjgD//qJIEA==
Date: Fri, 24 Feb 2017 07:30:25 +0000
Message-ID: <3B0A1BED22CAD649A1B3E97BE5DDD68BBAB149ED@szxema506-mbs.china.huawei.com>
References: <DBXPR07MB128EDEE38C28B6C894DE489AC500@DBXPR07MB128.eurprd07.prod.outlook.com>
<7FF14334-F3A3-4051-BAFF-750C6F70FE1A@broadcom.com>
<DBXPR07MB128C5BF67FE7AC3266D868BAC530@DBXPR07MB128.eurprd07.prod.outlook.com>
In-Reply-To: <DBXPR07MB128C5BF67FE7AC3266D868BAC530@DBXPR07MB128.eurprd07.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.74.203.119]
Content-Type: multipart/alternative;
boundary="_000_3B0A1BED22CAD649A1B3E97BE5DDD68BBAB149EDszxema506mbschi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
X-Mirapoint-Virus-RAPID-Raw: score=unknown(0),
refid=str=0001.0A020201.58AFE122.030B, ss=1, re=0.000, recu=0.000, reip=0.000,
cl=1, cld=1, fgs=0, ip=169.254.4.67,
so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32
X-Mirapoint-Loop-Id: 0ccb6f531577d3e13944e4f10f88899f
Archived-At: <https://mailarchive.ietf.org/arch/msg/detnet-dp-dt/ueLi8I_KT8XIc8ZaQF4MMfo2Kgg>
Subject: Re: [Detnet-dp-dt] Using MS-PW concept for the d-pw
X-BeenThere: detnet-dp-dt@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: DetNet WG Data Plane Design Team <detnet-dp-dt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/detnet-dp-dt>,
<mailto:detnet-dp-dt-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/detnet-dp-dt/>
List-Post: <mailto:detnet-dp-dt@ietf.org>
List-Help: <mailto:detnet-dp-dt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/detnet-dp-dt>,
<mailto:detnet-dp-dt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Feb 2017 07:30:49 -0000
Hi Jouni and Balazs, IMO, global e2e d-pw is still an MS-PW approach, except that the label value for each PW segment is the same (maybe globally allocated) in this case. We know that for the traditional PW, the underlying LSP will be terminated on the same pair of PEs (T-LDP can guarantee this), and all interim P nodes only forward packets based on the LSP label. But now both approaches will require to look into d-pw label so that the S-PE can decide how to eliminate & replicate & forward. Compared with the LFIB for e2e d-pws as you described: (slide 4 from detnet-frer-loa.pptx) +========+================+=================================+ | | | Forwarding Semantics | | Device | Incoming-Label |---------------------------------| | | | Outgoing-Label | Outgoing-Link | +========+================+=================+===============+ | A | N/A (from AC) | create d-pw | | | | | push L1 | A->B | | | | push L3 | A->C | +========+================+=================+===============+ | B | d-pw | push L2 | B->D | | | (L1/L6 popped) | push L5 | B->C | +========+================+================+===============+ | C | d-pw | push L6 | C->B | | | (L3/L5 popped) | push L4 | C->D | +========+================+=================+===============+ | D | d-pw | N/A (to AC) | G->AC | | | (L2/L7 popped) | | | +========+================+=================+===============+ The LFIB for MS-PW in segment by segment would look like this (same slide 4) (Note: for each LSP Lx, a PW segment PWx is assumed to be established; Elimination takes two PWs in this case) +========+================+===============+===================================+ | | | Elimination | Forwarding Semantics | | Device | Incoming-Label | +-----------------------------------| | | | Incoming | Outgoing-Label | Outgoing-Link | +========+================+===============+===================+===============+ | A | N/A (from AC) | N/A | push PW1, push L1 | A->B | | | | | push PW3, push L3 | A->C | +========+================+===============+===================+===============+ | B | PW1(L1 popped) | PW1 | swap PW2, push L2 | B->D | | | PW6(L6 popped) | PW6 | swap PW5, push L5 | B->C | +========+================+===============+===================+===============+ | C | PW3(L3 popped) | PW3 | swap PW6, push L6 | C->B | | | PW5(L5 popped) | PW5 | swap PW4, push L4 | C->D | +========+================+===============+===================+===============+ | D | PW2(L2 popped) | PW2 | N/A (to AC) | D->AC | | | PW4(L4 popped) | PW4 | | | +========+================+===============+===================+===============+ It seems 2nd and 3rd column may be combined. Thus, the LFIB will be almost the same as in the e2e case. Whatsoever, new forwarding semantics cannot be supported by the traditional MS-PW, and need to be developed in IETF. Cheers, Yuanlong From: Detnet-dp-dt [mailto:detnet-dp-dt-bounces@ietf.org] On Behalf Of Balázs Varga A Sent: Thursday, February 23, 2017 10:47 PM To: Jouni Korhonen; detnet-dp-dt@ietf.org Subject: Re: [Detnet-dp-dt] Using MS-PW concept for the d-pw Hi, Thanks for the details, the “virtual label” is a good visualization of the problem. The “virtual label” is practically the local-ID of the detnet-(compound)-flow. So, if I understand it correctly, You intend to use the d-pw as local-ID to have less label operation cycle. However counting the number of label operations I do not see the difference, please correct me if I have not counted correctly. S-PE packet processing tasks: Solution-1, MS-PW case, no “l-label” a, ingress packet has single label “d-pw1” b, label operation: swap “d-pw1” -- > “virtual-label1” = local-ID c, duplicate elimination using the local-ID d, replication + swap “virtual-label1” -- > “d-pw2” e, push outgoing labels (t-label) Solution-2, Globally unique d-pw scenario a, ingress packet has two labels “d-pw + l1” b, label operation: pop “l1” -- > “d-pw” = local-ID c, duplicate elimination using the local-ID d, replication + push “l2” e, push outgoing labels (t-label) The differences are: - 1b vs. 2b: it a swap vs. pop operation (they lasting equally) - 1d vs. 2d: it a swap vs. push operation (they lasting equally) So these differences does not cause label processing cycle differences. Have I missed something? Cheers Bala’zs -----Original Message----- From: Jouni Korhonen [mailto:jouni.korhonen@broadcom.com] Sent: Wednesday, February 22, 2017 8:21 PM To: Balázs Varga A <balazs.a.varga@ericsson.com<mailto:balazs.a.varga@ericsson.com>>; detnet-dp-dt@ietf.org<mailto:detnet-dp-dt@ietf.org> Subject: Re: [Detnet-dp-dt] Using MS-PW concept for the d-pw Hi, Thank you for this. It is very useful. Few comments inline. > On Feb 22, 2017, at 8:08 AM, Balázs Varga A <balazs.a.varga@ericsson.com<mailto:balazs.a.varga@ericsson.com>> wrote: > > Hi, > > d-pw collision can be solved if the MS-PW concept is used for the DetNet-PW. Am I missing something here.. We have been talking about MS-PW with required DetNet modifications from the beginning. What has changed since apart excluding the L-labels (no need to pop those to expose d-pw in this proposal) and using s2s d-pw labels instead of e2e d-pw label value? > d-pws between x-PE nodes have their own d-pw label. X-PE nodes do d-pw label swap. > Replicas of a detnet flow have to use different d-pw label. > > I have attached a simplified figure: > - detnet-flow1: A -- > D (B is just a segment-stitching point, C does > elimination) > - detnet-flow2: F -- > G (E is just a segment-stitching point, B does > elimination) > > There is no d-pw label collision at B as it allocates the d-pw label > for the segments of the DetNet-PW. So B can ensure that no collision occurs. > > You can treat as a drawback that you need a state for each segment, > but that is the same as for “normal” MS-PW scenarios. Except that you need more state than in a “normal” MS-PW scenario. Each x-PE has to have an additional many-to-one mapping of d-pw labels to be able to associate a single seqnum & duplicate elimination function to a set of incoming PWs. For this purpose I added a ‘virtual label’ column. I hope I got the following drawings correct ;) Sketching LFIB for S-DetNet-PE (for detnet-flow2): +========+================+===============+=============================+===+ | | | Elimination | Forwarding Semantics | | Device | Incoming-Label |---------------|--------------------------------| | | | Virtual-label | Outgoing-Label | Outgoing-Link | +========+================+===============+================+============+===+ | F | N/A (from AC) | d-pw0 (2) | swap d-pw4 (3) | F->E | | | | | swap d-pw3 | F->B | +========+================+===============+================+============+===+ | E | d-pw4 | d-pw4 (1) | swap d-pw7 | E->B | +========+================+===============+================+============+===+ | B | d-pw4 | d-pw3 (1) | swap d-pw8 | B->G | | | d-pw3 | d-pw3 | | | +========+================+===============+================+============+===+ | G | d-pw8 | d-pw8 (1) | N/A (to AC) | G->AC | +========+================+===============+================+============+===+ (1) For elimination purposes we need to associate all incoming d-pw labels that belong to the same detnet flow to a single “virtual label”. Here the “virtual label” to which the seqnum and elimination book keeping is associated with is just one of the active d-pw labels, for example, the first that gets configured in the device for a detnet flow (i.e., the master label). The label could also be truly a virtual label value that is never seen on wire.. (2) The ‘virtual label’ the seqnum etc logic is associated with for a given detnet flow. (3) Replication is more or less equivalent to existing 1+1 protection. One replica of the packet is done and outgoing labels are swapped accordingly. So, if we had a “global” e2e d-pw label for each detnet flow, the ‘elimination’ label mapping column would not be needed -> smaller LFIB and and less processing step. Also, the ‘outgoing-label’ column would not be needed, however, there would not be any LFIB savings since the same amount of information would be needed for d-pw to L-Labels mapping. Basically the LFIB for e2e d-pws would look like this (slide 4 from detnet-frer-loa.pptx): +========+================+=================================+ | | | Forwarding Semantics | | Device | Incoming-Label |---------------------------------| | | | Outgoing-Label | Outgoing-Link | +========+================+=================+===============+ | A | N/A (from AC) | create d-pw | | | | | push L1 | A->B | | | | push L3 | A->C | +========+================+=================+===============+ | B | d-pw | push L2 | B->D | | | (L1/L6 popped) | push L5 | B->C | +========+================+================+===============+ | C | d-pw | push L6 | C->B | | | (L3/L5 popped) | push L4 | C->D | +========+================+=================+===============+ | D | d-pw | N/A (to AC) | G->AC | | | (L2/L7 popped) | | | +========+================+=================+===============+ > As a side effect l-labels are not needed at all. Comments are welcome. I could like this (one less label layer and somewhat cleaner), however, is there a deployment scenario or an overlay topology that we cannot get working without L-label-layer? - JOuni > > Cheers > Bala’zs > <detnet-frer-balazs_v0222.pptx>_______________________________________ > ________ > Detnet-dp-dt mailing list > Detnet-dp-dt@ietf.org<mailto:Detnet-dp-dt@ietf.org> > https://www.ietf.org/mailman/listinfo/detnet-dp-dt
- [Detnet-dp-dt] Using MS-PW concept for the d-pw Balázs Varga A
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Jouni Korhonen
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Jiangyuanlong
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Balázs Varga A
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Jouni Korhonen
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Jiangyuanlong
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Jouni Korhonen
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Jiangyuanlong
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Loa Andersson
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Jouni Korhonen
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Jiangyuanlong
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Jiangyuanlong
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Loa Andersson
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Jouni Korhonen
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Jouni Korhonen
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Jiangyuanlong
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Loa Andersson
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Jouni Korhonen
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Jiangyuanlong
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Jouni Korhonen
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Loa Andersson
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Jiangyuanlong
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Loa Andersson
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Jiangyuanlong
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Loa Andersson
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Jouni Korhonen
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Loa Andersson
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Jouni Korhonen
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Balázs Varga A
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Balázs Varga A
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Jouni Korhonen
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Jiangyuanlong
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Loa Andersson
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Jiangyuanlong
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Loa Andersson
- Re: [Detnet-dp-dt] Using MS-PW concept for the d-… Jiangyuanlong