[Detnet-dp-dt] about identity labels.. was Re: new versions of my slides

Jouni Korhonen <jouni.korhonen@broadcom.com> Thu, 02 March 2017 02:51 UTC

Return-Path: <jouni.korhonen@broadcom.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 B9BC6129781 for <detnet-dp-dt@ietfa.amsl.com>; Wed, 1 Mar 2017 18:51:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=broadcom.com
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 MG9HI7p2J1p5 for <detnet-dp-dt@ietfa.amsl.com>; Wed, 1 Mar 2017 18:51:10 -0800 (PST)
Received: from mail-pg0-x235.google.com (mail-pg0-x235.google.com [IPv6:2607:f8b0:400e:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9CBC5129736 for <detnet-dp-dt@ietf.org>; Wed, 1 Mar 2017 18:51:10 -0800 (PST)
Received: by mail-pg0-x235.google.com with SMTP id b129so26842449pgc.2 for <detnet-dp-dt@ietf.org>; Wed, 01 Mar 2017 18:51:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=T+3TxXilKV9yFrUkKLHiDVVuRNYamTvcqo8E5qWM3+o=; b=W6Fn9yyAIz8fBcN5Ob2MnmttoQAiiH7OvqY/PZwF7oNnPXFai24rfUcecRGT68XFsp 6DdZRbu7u1hhq7FVhyt5ZSZnl0/A7LRfeVOZWkYdm/BOLykQ508VIew2lb8zLjfJKVFS w7ll9zh9XPAxr4jFfLdVeM0wRzsXPnWD3hl/w=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=T+3TxXilKV9yFrUkKLHiDVVuRNYamTvcqo8E5qWM3+o=; b=buRNC96A/ZME8q5ko1QDc0m7S59IoEgYACzxJohigDf24cgcrGLtRjngTBFrbOP6JC Ps0xQAe4IP2YjZo21JI26CXNbXIZCh1/q5j+kB/rTyjg+9F83uu9x4pN3+hcoefT3cv3 MzfjFnwiYblnl3Zy7iia+fJN6HzZ1W1zsIIbcyyDVZ9eSZFg+QXqL05bwk/87dvyapWn 6yF6Gr6RqTBm/gqmOKIr+wHsnnT1ut+n0exknB8RKxJYa8KJv5t4hTBYR/fjce+7f1/8 w55pHbgXEwohwUmuNrdUVHrMH1s91wrvYtEzZWRHfCu4Y7ulrtkbQkVhZx1QgoQ3/9Qu PD3g==
X-Gm-Message-State: AMke39kNmJljliBgfOEoGgSn/mtrfRAuTqZ95yyhV9LifxO8mhRFAZbKPjs3LuXM8UBYUFZl
X-Received: by 10.84.178.1 with SMTP id y1mr14872178plb.60.1488423069618; Wed, 01 Mar 2017 18:51:09 -0800 (PST)
Received: from ?IPv6:2601:647:4200:e520:717c:5b33:268c:b571? ([2601:647:4200:e520:717c:5b33:268c:b571]) by smtp.gmail.com with ESMTPSA id 23sm13047102pfw.94.2017.03.01.18.51.08 for <detnet-dp-dt@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Mar 2017 18:51:08 -0800 (PST)
From: Jouni Korhonen <jouni.korhonen@broadcom.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\))
Date: Wed, 1 Mar 2017 18:51:07 -0800
References: <bc92627a-e1c2-ca97-9af9-8aedd37a772c@pi.nu> <3DF0466E9510274382F5B74499ACD6F8C3CB2F@dfwpml702-chm.exmail.huawei.com> <3DF0466E9510274382F5B74499ACD6F8C3CB40@dfwpml702-chm.exmail.huawei.com> <cde5c41f-2a48-7007-279a-ffa44ef43bec@pi.nu> <DBXPR07MB128512162D9FA45A2A10624AC570@DBXPR07MB128.eurprd07.prod.outlook.com>
To: "detnet-dp-dt@ietf.org" <detnet-dp-dt@ietf.org>
In-Reply-To: <DBXPR07MB128512162D9FA45A2A10624AC570@DBXPR07MB128.eurprd07.prod.outlook.com>
Message-Id: <75B5D515-73E0-44C0-8CE2-824731505589@broadcom.com>
X-Mailer: Apple Mail (2.3259)
Archived-At: <https://mailarchive.ietf.org/arch/msg/detnet-dp-dt/XxCZZv_515dDdTw85f9BUbWDwwg>
Subject: [Detnet-dp-dt] about identity labels.. was Re: new versions of my slides
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: Thu, 02 Mar 2017 02:51:12 -0000

Folks,

Back to d-id.. I understand the intent and need for the d-id label. What I cannot immediately see it is going to help the FRER implementation. Using Loa’s slides as a reference: assume G and D both assign the same d-pw1 label values to F and A. Fortunately the combination of d-id+d-pw is unique. However, when packets arrive at B, the seqnum+history lookup would need to use both d-id+d-pw as a combined key. This is getting cumbersome. One would need to map d-id+d-pw to something that is locally unique in LFIB or use d-id as an indirect index to separate LFIB tables holding d-pw associated information. Since d-id and d-pw are separate labels this ends up two-three lookups and carrying along the history metadata. Depending on the flexibility of the memory sub-system one might face interesting restrictions, for example on the size of the LFIB tables first indexed by d-id.

I know this was very implementation dependent rant, but how I currently see d-id, it has made life easier for a control plane and a provisioning. At the same time it seems to make the life of the hw and data structure design hard.

So far the “cleanest” solution for me has been the one with d-pw ranges configured into T-DetNet-PE devices - to prevent collisions. That one had the downside of fixed allocations put into nodes by the network administrator.

- Jouni

-- 
Jouni Korhonen, Broadcom Ltd., Core Switching Group
M: +1-408-391-7160

> On Feb 27, 2017, at 2:55 AM, Balázs Varga A <balazs.a.varga@ericsson.com> wrote:
> 
> Hi,
> 
> Two more additions to the "d-id + d-pw" scenario and the "PW-type discussion":
> 
> - As the "d-id + d-pw" identifies the flow (see slide6), for the data plane implementation
> we will need a "virtual-label" in the x-PE nodes (based on our mailing with Jouni). 
> Furthermore mapping two labels to the internal "virtual-label" seems not to be a simple 
> "label swap" operation.
> 
> - PW-type: as a detnet-PW requires special handling on x-PE nodes, I am afraid that we
> need a new PW-type, in order to distinguish it from a traditional PW.
> 
> Cheers
> Bala'zs
> 
> -----Original Message-----
> From: Detnet-dp-dt [mailto:detnet-dp-dt-bounces@ietf.org] On Behalf Of Loa Andersson
> Sent: Monday, February 27, 2017 5:43 AM
> To: detnet-dp-dt@ietf.org
> Subject: Re: [Detnet-dp-dt] new versions of my slides
> 
> Norm,
> 
> 
> On 2017-02-27 06:44, Norman Finn wrote:
>> Sorry!!  Attachment here.
>> 
>> -- Norm
>> ________________________________________
>> From: Norman Finn
>> Sent: Sunday, February 26, 2017 2:42 PM
>> To: Loa Andersson; detnet-dp-dt@ietf.org
>> Subject: RE: [Detnet-dp-dt] new versions of my slides
>> 
>> Loa,
>> 
>> Slides 2, 4, 7, and 9 (the diagrams) had lots of very minor typos.  I made all fo the labels consistent in the attached version.
>> 
>> Slide 3: "Consider the replicated packet that reaches B  from E and 8,"  I think you meant, "E and 6".
> 
> right!
>> 
>> Slide 5: 2nd sub-bullet.  "LB-3 because it is an L-level label taking the packet from F to E".  I think you meant, "A to E"?
> 
> The devil is in the details -  the syntax was intended to put the destination node after the "L" (type of label) so what ( should have said "LB-3 because it is an L-level label taking the packet from A to B"
> the number after the "LB" indicates that there are more than one L-level label taking packets to B.
> 
>> 
>> One question:
>> 
>> Who guarantees d-id1 != d-id2?  Maybe I missed it, but I don't see that in the discussions in the slides.
> 
> Well I said: "config of a DetNet ID (only shown for A and F, in real life all nodes that will serve as ingress T-DetNet-Pes will need the DetNet ID)."
> 
> my take is that we will need to configure the d-id
> 
>> 
>> Answering your questions:
>> 
>> Q: Do we agree that this works even if is not optimal.
>> 
>>   Yes, if d-id1 != d-id2.
> 
> see above
>> 
>> Q: Do we want to eliminate any of the control plane alternatives.
>> 
>>   I don't.
> 
> ok - if that is the general agreement, than I think we need the d-id
>> 
>> Q: By using the L-labels as containers for QoS and BW, neither T-Labels or PW-lables can do that, is it clear that we need L-Labels?
> 
> I won't argue that realty need the L-labels, but getting rid of them means that we lose the way to distinguish between L-level LSPs that needs to go through replication and elimination, I guess that we could tie that to the d-pw label, but my take is that it will incease the amount of processing that needs to be done on the d-pw level.
>> 
>> As far as the data plane is concerned, I think we need either the L-labels or the d-id labels, but not both.
> 
> There I'm just now (allowing for existing control planes) I think that we need the d-id, and that L-labels are open for debate.
> 
> I think the L-labels gives some bells and whistles that are nice and maybe even efficient to have! But I can let me be convinced that they are not "needed"!
> 
>  (Although, without the d-id labels, you have to know that LB-3 + d-pw1 is the same flow as LB-4 + d-pw1, so perhaps it's easier to do without the L-labels.)
> 
> I agree to that.
> 
> Either label could be used for QoS.
> 
> Well I think that all labels will have QoS (one or the other TC). I was talking about QoS-containers. You put all the same QoS packet in the same LSP. This is often used to simplify the LIBs in the nodes that only swap. If TC 001 is a superset of 010 you can put both packets TC-marked
> 001 and 010 in the same L-LSP. The packets marked 010 will get a little better treatment than what is indicated by the marking.
> 
> You can also use L-labels as BW containers. You instantiate the L-LSP with the amount of BW you allocate to DetNet traffic, and then you have BW associated with each pw-label, as you establish the PWs and place them into the L-LSPs you have a book keeping to make sure that the BW for the L-LSP is not exceeded.
> 
> Combining QoS- and BW-containers you can make sure that ample BW is allocated to each TC.
>> 
>> But, perhaps we have an issue when creating d-pw labels and/or d-id labels.  The PW creation exchange operates over a tunnel, right?  We have a complex tunnel, not a point-to-point tunnel.  How does the PW creation exchange know what path to follow?  Over what path are the d-id labels created?  In other words, how are the L-labels stitched together?  Equivalently, how are the d-id labels distributed over the paths.
>> 
> For LDP that is how LDP works, for a God Box there shouldn't be a problem.
> 
> In our figure for LDP A will ask B for a L-label to use for D, B will turn downstream and ask D for the label, when B gets the response from D, it will put that label into the LIB, allocate the label for A, and usew the label for A as incoming label and the label for D as the outgoing label.
> 
> If you remove the L-labels you will have to use the T-labels to do this.
> the d-pw label can't be used since it needs to be end-2-end.
>> Q: We talk about "detnet pseudo wire", is that a new type of pseudo wire?
>> 
>> I wouldn't call it anything different.
> 
> I think this needs to be done, since there is some unique DetNet processing. Potentially we would have to change all existing PWs. Andy talked a bit about this earlier.
>> 
>> Q: How do we handle the already existing pseudo wires?
>> 
>> Same as always.
> The existing PWs does not have DetNet processing, all of them does not (at least not normally) have sequence numbers.
> 
> Again, I think the key is defining how you negotiate the path that the branched pseudowire follows.  In my opinion, (subject to finding a counter example that screws everything up), you nail down the paths, either with L-labels or d-id labels, and each d-pw creation (or perhaps first use) creates an instance of the packet discard machine at each combination point.  But, I'm not sufficiently versed in the label protocols to offer an opinion of how that happens.
>> 
> 
> hmmmm - we will have to create a new TLV for the protocols that are used
>  to branch, replicate and eliminate. When a node gets a Label Requst with that TLV it will understand that branching is needed and set up two disjunct L-LSPs from itself to the destination.
> 
> /Loa
> 
>> -- Norm
>> 
>> ________________________________________
>> From: Detnet-dp-dt [detnet-dp-dt-bounces@ietf.org] on behalf of Loa 
>> Andersson [loa@pi.nu]
>> Sent: Sunday, February 26, 2017 2:34 AM
>> To: detnet-dp-dt@ietf.org
>> Subject: [Detnet-dp-dt] new versions of my slides
>> 
>> Folks,
>> 
>> I gone over my slides and tighten them up a bit.
>> 
>> I think it is time that we start agree on some of the design decisions 
>> we are making and start taking them as the basis for what we are doing 
>> next.
>> 
>> Slides should be self-explaining, but you can jump slide 3 and get 
>> back to it in the end.
>> 
>> /Loa
>> --
>> 
>> 
>> Loa Andersson                        email: loa@mail01.huawei.com
>> Senior MPLS Expert                          loa@pi.nu
>> Huawei Technologies (consultant)     phone: +46 739 81 21 64
>> 
>> 
>> 
>> _______________________________________________
>> Detnet-dp-dt mailing list
>> Detnet-dp-dt@ietf.org
>> https://www.ietf.org/mailman/listinfo/detnet-dp-dt
>> 
> 
> -- 
> 
> 
> Loa Andersson                        email: loa@mail01.huawei.com
> Senior MPLS Expert                          loa@pi.nu
> Huawei Technologies (consultant)     phone: +46 739 81 21 64
> 
> _______________________________________________
> Detnet-dp-dt mailing list
> Detnet-dp-dt@ietf.org
> https://www.ietf.org/mailman/listinfo/detnet-dp-dt
> 
> _______________________________________________
> Detnet-dp-dt mailing list
> Detnet-dp-dt@ietf.org
> https://www.ietf.org/mailman/listinfo/detnet-dp-dt