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

Carlos Jesús Bernardos Cano <cjbc@it.uc3m.es> Sat, 04 March 2017 10:11 UTC

Return-Path: <cjbc@it.uc3m.es>
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 A3AB4129451 for <detnet-dp-dt@ietfa.amsl.com>; Sat, 4 Mar 2017 02:11:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-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 (2048-bit key) header.d=it-uc3m-es.20150623.gappssmtp.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 4iBF-WccPSx0 for <detnet-dp-dt@ietfa.amsl.com>; Sat, 4 Mar 2017 02:11:10 -0800 (PST)
Received: from mail-wr0-x229.google.com (mail-wr0-x229.google.com [IPv6:2a00:1450:400c:c0c::229]) (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 099061293E3 for <detnet-dp-dt@ietf.org>; Sat, 4 Mar 2017 02:11:10 -0800 (PST)
Received: by mail-wr0-x229.google.com with SMTP id u48so87964576wrc.0 for <detnet-dp-dt@ietf.org>; Sat, 04 Mar 2017 02:11:09 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=it-uc3m-es.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:reply-to:to:date:in-reply-to:references :organization:mime-version:content-transfer-encoding; bh=XVTiOCtFpSNQP9qlDKh5L+wxbj7mt4rfZbduvtfGqYQ=; b=BHwg3/xWTE3AyGfYBdGwHwVntiPgNUzmOehNb97uPfBs+27Qg4/Y8WWg39SzmIMa5Y VPlJJdcC9dKwqbZf4ho+bw1I6mup85OPldJefMlb5BnhCYBcj4KDvX3vRPC5OJIriJaX ON6p0lB7LylUM7HTQTjkDfx9Z2FpePs6yHaNH8O2pyS5d/0NnsHQ805jGjrK3l1xifrU x+6uWLeF6C5oZekh2y+6yX9RBPa4DewdLol/S9r1HA1Y6WaXkJ6AoOe8uvMnyasF3IHC TOm4AT6FvnZAk+kvs8ZulN2Hh549EVksA7QAwX3bFWQ0vK9iZXvNWKyU2x8Rr8Lz5fiZ 6l4g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:reply-to:to:date :in-reply-to:references:organization:mime-version :content-transfer-encoding; bh=XVTiOCtFpSNQP9qlDKh5L+wxbj7mt4rfZbduvtfGqYQ=; b=L6uvcrgALWqop4SkxtOSYm5jWhtEmRJxvIjJ9RunP8Yn6Eh7TcGO2biil6n71MNJys /diV3SJXY6AhVbFqYiaIS9CrN97bbBJaiZhrV7nE8qskiVCXwkQ7EgS7j27+XyQMSYPG yHuPbkYaKUAGZ1J8Y8d2l+W9Cl/1/Mgoly+Rt3OEpRXckCaeKKDBbu1uXvroLmW425G8 S0knicao3L6KmOI29jX+mSuC9+YoZQDG36qUelN5tDK1t+UkY1S6GCpSi1k1PfE25avu gfw5AOdu+Dndzgt+Uas2mHEqplVcGE8Dm5H3nnIL3TVEEggXXArRDlt6zjRipL6vZOyf Nufw==
X-Gm-Message-State: AMke39nq56xDS0u1YjMy0qMBEMjzNO89I9aEa0TKy22CDymmO8ThXd8rq5sKCUGJJBCf4VnB
X-Received: by 10.223.141.148 with SMTP id o20mr6626223wrb.75.1488622268307; Sat, 04 Mar 2017 02:11:08 -0800 (PST)
Received: from cjbc_dell.lan (85.251.161.16.dyn.user.ono.com. [85.251.161.16]) by smtp.gmail.com with ESMTPSA id 63sm18664114wrh.68.2017.03.04.02.11.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 04 Mar 2017 02:11:07 -0800 (PST)
Message-ID: <1488622266.3705.3.camel@it.uc3m.es>
From: Carlos =?ISO-8859-1?Q?Jes=FAs?= Bernardos Cano <cjbc@it.uc3m.es>
To: Jouni Korhonen <jouni.korhonen@broadcom.com>, "detnet-dp-dt@ietf.org" <detnet-dp-dt@ietf.org>
Date: Sat, 04 Mar 2017 11:11:06 +0100
In-Reply-To: <DF3D25E5-A513-485B-8C64-D0F7D11B48D4@broadcom.com>
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> <75B5D515-73E0-44C0-8CE2-824731505589@broadcom.com> <DF3D25E5-A513-485B-8C64-D0F7D11B48D4@broadcom.com>
Organization: Universidad Carlos III de Madrid
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.22.4-1
Mime-Version: 1.0
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/detnet-dp-dt/9M0UlHigOHjFZxH_6nlfoTnXG8s>
Subject: Re: [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
Reply-To: cjbc@it.uc3m.es
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: Sat, 04 Mar 2017 10:11:12 -0000

Hi Jouni,

On Thu, 2017-03-02 at 23:47 -0800, Jouni Korhonen wrote:
> One approach could be.. shuffling around the identity label function.
> This is preliminary thinking, thus big holes are possible.
> 
>   +-------------------------------+
>   |            T-Label(s)         |
>   +-------------------------------+
>   |      L-Label (when needed)    |
>   +-------------------------------+
>   |           d-pw label          |
>   +-------------------------------+
>   |      DetNet Control Word      | \
>   +-------------------------------+  > follow RFC4553/5083 style
>   |  32 bit unique flow identity  | /  ‘encapsulation header’
> approach
>   +-------------------------------+
>   |                               |
>   |          DetNet Flow          |
>   |        Payload  Packet        |
>   |                               |
>   +-------------------------------+
> 
> Now the burden of seqnum association is on the seqnum handling
> “function” and would not mess MPLS forwarding & LFIB logic. Also we
> would not “eat” label space for flow identification purposes.. I have
> not yet looked at the gory details of impacts but as a way forward I
> would like to leave it still open where the _field_ that guarantees
> the uniqueness (d-idlabel or flow identity field as shown above) is
> located in the detnet encapsulation. Document both and have the
> discussion in the WG.
> 
> Opinions?
> 

I like this approach. One question: the flow identity, is it unique
globally or per d-pw?

Thanks,

Carlos

> - Jouni
> 
> 
> > On 01 Mar 2017, at 18:51, Jouni Korhonen <jouni.korhonen@broadcom.c
> > om> wrote:
> > 
> > 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@erics
> > > son.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.c
> > > > om
> > > > 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
> > 
> > _______________________________________________
> > 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