Re: [Detnet-dp-dt] Providing unique Flow-ID
Carlos Jesús Bernardos Cano <cjbc@it.uc3m.es> Wed, 22 February 2017 02:28 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 8F0BB129504
for <detnet-dp-dt@ietfa.amsl.com>; Tue, 21 Feb 2017 18:28:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level:
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
RCVD_IN_DNSWL_LOW=-0.7, 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 82s5CyC9on7S for <detnet-dp-dt@ietfa.amsl.com>;
Tue, 21 Feb 2017 18:28:16 -0800 (PST)
Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com
[IPv6:2a00:1450:400c:c09::230])
(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 7CC861294FF
for <detnet-dp-dt@ietf.org>; Tue, 21 Feb 2017 18:28:16 -0800 (PST)
Received: by mail-wm0-x230.google.com with SMTP id v186so129110106wmd.0
for <detnet-dp-dt@ietf.org>; Tue, 21 Feb 2017 18:28:16 -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:cc:date:in-reply-to:references
:organization:mime-version:content-transfer-encoding;
bh=GHOpquqenb7LgqfGVTebzDiw4ATyBJ9CpC1MjaJELY0=;
b=V9821978q3yUF9HICs/grXxQlFfj/bvuwiBXoztMJj2v4GDi1osRyObcBkU80BGaoB
lOV75NpTfFQmg6d+YGLwmjz78l1FFsNj9p1zFZgFYtPFt9EFIUtdmIQivwtwgp2UtbO/
6a97TMTn0zFU06ytQg+ZGbCn3ztjUTNVipGBkaCjxoAl8BXgZidKcgZtLx0PHHrQ5FJn
07M4z6EUpSF69ZK+okrOlHqA2Q8DcO858+Yh5sc8R7pEOjsSJ27aQe1/G6erNgMH0GNU
DqHQWemN7odAiGHXP/wIP8jApUCtfj9qe8pfHN+5LC55hPyLVGbxJ74pb7u/ZUceqR55
vjuw==
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:cc:date
:in-reply-to:references:organization:mime-version
:content-transfer-encoding;
bh=GHOpquqenb7LgqfGVTebzDiw4ATyBJ9CpC1MjaJELY0=;
b=uetRimWIwx5u6ceSodxsvrn18TiTsazLT+QMm7xx1rT77Tdu3z5cZsakW2CV5l0jss
zgLajvyDb4WSSDbXOzbeQkuUNazYoSOLuJHMyDUmJiOejhEVSfR4nGzimfmYaZzSEwAI
/O9cq4qFPKTX7ZDpuJIacPz87nOuIHhUhFlPC8J5tPrNVD81ppIbLWSWZAAQDOf5WDEe
oX5r6tYCmG1mfT3djbuZQnc0dezerLQEn+LRDfM9yarXYC8CbfflpvhNbu2PiESHOVJh
YWDI3l/VPwFMZiet5Qn58tOTMvUxHOsq/uYTz3lrV/U1rEj+hzVVS7WXuhLUH+48DZTi
RSUQ==
X-Gm-Message-State: AMke39nQXMeL1o5UPIZUmBDlh/o940hVIJVeqyZLalC8n42RuBTJdFtVZlOsXPHXt5VSyipo
X-Received: by 10.28.173.74 with SMTP id w71mr188612wme.14.1487730494784;
Tue, 21 Feb 2017 18:28:14 -0800 (PST)
Received: from [10.24.252.237] ([46.189.28.185])
by smtp.gmail.com with ESMTPSA id y145sm590738wmc.17.2017.02.21.18.28.13
(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
Tue, 21 Feb 2017 18:28:14 -0800 (PST)
Message-ID: <1487730493.29054.41.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>,
=?ISO-8859-1?Q?Bal=E1zs?= Varga A <balazs.a.varga@ericsson.com>
Date: Wed, 22 Feb 2017 03:28:13 +0100
In-Reply-To: <F278A381-1E43-4607-8015-5CFDE871D382@broadcom.com>
References: <DBXPR07MB12832861ED58D86FD3D0A09AC510@DBXPR07MB128.eurprd07.prod.outlook.com>
<F278A381-1E43-4607-8015-5CFDE871D382@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/CvNu7884ZroSrp3O2QU3JwdBgX4>
Cc: "detnet-dp-dt@ietf.org" <detnet-dp-dt@ietf.org>
Subject: Re: [Detnet-dp-dt] Providing unique Flow-ID
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: Wed, 22 Feb 2017 02:28:19 -0000
Hi, A couple of small comments/questions inline below. On Tue, 2017-02-21 at 13:34 -0800, Jouni Korhonen wrote: > Hi, > > I have few comments inline. > > > -- > Jouni Korhonen, Broadcom Ltd. > M: +1-408-391-7160 > > > On Feb 21, 2017, at 9:05 AM, Balázs Varga A <balazs.a.varga@ericsso > > n.com> wrote: > > > > Hi, > > > > question to be answered: > > - how to ensure that detnet flows can be unique recognized during > > transport? > > > > Labels used by DetNet flows so far in our discussions: > > - d-pw: DetNet flow specific > > - l-label: FRER specific label to identify replica (member) flows > > - t-label: transport label (FEC of T-PE or S-PE nodes) > > Note: Text below assumes an l-label present, what may not be always > > the case. > > To my understanding the l-labels “connect” x-PE nodes i.e. create the > desired overlay topology over all LSRs/PEs. L-labels also identify > which packets will receive FRER processing and which not i.e., > whether a specific PW gets terminated in an x-PE or whether x-PE just > acts as a transit. > > > Before discussing uniqueness/allocation/usage of these labels let's > > list the scenarios > > requiring flow identification during transport. They can be > > separated in two groups: > > 1, DetNet function related scenarios: > > - congestion protection: usage of allocated resources (queuing, > > policing, shaping). > > - explicit routes: select/apply the flow specific path. > > - service protection: recognize compound / member flows for > > replication an > > elimination. > > > > 2, OAM function related scenarios: > > - troubleshooting (e.g., identify misbehaving flows, etc.) > > - recognize flow(s) for analytics (e.g, increase counters, etc.) > > - correlate events with flows (e.g., volume above threshold, etc.) > > - others ... > > > > We can distinguish 3 node types: > > - T-PE: d-pw starts/terminates here > > - S-PE: place of detnet specific function (e.g., FRER) > > - P: intermediate node (transport only functions) > > > > T-PE and S-PE nodes are fully aware of both the DetNet service and > > transport layers. > > In case of PHP, they receive only "d-pw + l-label", so the x-PE > > node should recognize > > the DetNet flow based on these labels. DetNet specific functions > > are driven by the > > "d-pw label" and "l-label" pair. The "d-pw"+"l-label" pairs have to > > be locally unique > > on the x-PE. > > I have an issue what “pair” means here. L-labels should only have > simple rules and actions like > pop, label swap, etc: > > In the context of DetNet and L-labels, popping it would expose the d- > pw label to the system, which would then do PW (+FRER) thing based on > the top d-pw label. Label swap for L-label would allow making desired > x-PW nodes to behave as transit nodes in the DetNet context. > > Combining L-label into DetNet specific processing is IMHO a bad > decision. Even if the hardware could be able to look up multiple > labels in parallel, the next hop and action decisions would still be > per label, not as a single result. Keeping this in mind, the system > would also work as such when L-labels are not present i.e., the x-PE > just receives a packet with d-pw label or T-label+d-pw label.. the > assumption here is that the configuration at this point is such there > is no ambiguity.. I share Jouni's view on this. One clarifying question (for Jouni): you mean here the action decision would still be per __d-pw__ label, right? > > > The problematic points are the intermediate "P" nodes. Their detnet > > role is limited to > > ensure congestion protection from the above listed DetNet > > functions. Additionally OAM > > functions are also nice to have at each hop (as usual). > > > > We have two options for P nodes: > > - Option-A, P node can recognize only "t-label" and cannot consider > > the whole label > > stack for flow recognition. This is the scenario, where we have > > pre-established > > tunnels over the network, where the DetNet flows are mapped to > > appropriate tunnels to > > be transported over the network. This can be treated as a form of > > aggregation as many > > DetNet flows may use the same tunnel. Of course with this > > aggregation we lost per flow > > identification, that is the price for scalability. > > - Option-B, P-nodes can consider the whole label stack and they can > > identify each > > individual flow. That represents additional requirement on P nodes, > > which may not be > > acceptable in some network scenarios. Wouldn't this (Option-B) make P nodes "DetNet service aware"? > > > > So, what labels should be unique and how should we allocate labels? > > - d-pw: allocated by egress PE node. Label value is unique on that > > particular PE node. > > Other PE nodes may allocate the same label value for a different > > detnet flow. > > - l-label: allocated by the S-PE node. Label value is unique on > > that particular S-PE > > node. > > How would the L-label assignment work in our A,B,C,D x-PE example? B > would do downstream assignment to A and upstream assignment to D? > > > - t-label: allocated by P node. Refer to the tunnel endpoint node > > (FEC) and the > > tunnel-ID. Value locally unique on the P node. > > > > Such an allocation scheme ensure that all nodes in the network are > > able to identify > > uniquely the DetNet flows (or aggregate flows) and support the > > above listed > > functions: > > - T-PE (egress): DetNet flow(s) identified based on the "d-pw" > > value. > > - S-PE: DetNet flow(s) identified based on the “l-label" value > > How do you do the flow to seqnum pairing? It does not make sense to > map multiple L-labels to a single seqnum counter & duplicate > elimination function. A solution like this would need us to introduce > kind of master and slave label relationships, or virtual labels that > L-labels point at. > > > - P-node (option-A): aggregated DetNet flow(s) identified based on > > the "t-label" > > - P-node (option-B): DetNet flow(s) identified based on the "l- > > label + t-label" (no > > need to look for the “d-pw" label, unless “l-label” is not present) > > > > Note, that as shown above globally unique “d-pw" labels are > > optional! > > I realize that detnet domain wide global d-pw labels are a pain in a > neck. It would, for example, required each ingress T-detnet-PE to > have their own d-pw label ranges they assign labels to detnet flows > (assuming upstream label assignment). However, I still think global > d-pw labels are cleaner from the forwarding point of view. I agree. Carlos > > > > > Good night and see You tomorrow early morning > > Bala'zs > > > > _______________________________________________ > > 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] Providing unique Flow-ID Balázs Varga A
- Re: [Detnet-dp-dt] Providing unique Flow-ID Jouni Korhonen
- Re: [Detnet-dp-dt] Providing unique Flow-ID Carlos Jesús Bernardos Cano
- Re: [Detnet-dp-dt] Providing unique Flow-ID Jouni Korhonen
- Re: [Detnet-dp-dt] Providing unique Flow-ID Jiangyuanlong
- Re: [Detnet-dp-dt] Providing unique Flow-ID Jouni Korhonen
- Re: [Detnet-dp-dt] Providing unique Flow-ID Jiangyuanlong
- Re: [Detnet-dp-dt] Providing unique Flow-ID Jouni Korhonen
- Re: [Detnet-dp-dt] Providing unique Flow-ID Loa Andersson
- Re: [Detnet-dp-dt] Providing unique Flow-ID Balázs Varga A
- Re: [Detnet-dp-dt] Providing unique Flow-ID Loa Andersson
- [Detnet-dp-dt] high level questions on detnet dat… Loa Andersson
- Re: [Detnet-dp-dt] high level questions on detnet… Lou Berger
- Re: [Detnet-dp-dt] high level questions on detnet… Carlos Jesús Bernardos Cano
- Re: [Detnet-dp-dt] high level questions on detnet… jouni.nospam
- Re: [Detnet-dp-dt] high level questions on detnet… Carlos Jesús Bernardos Cano
- Re: [Detnet-dp-dt] high level questions on detnet… jouni.nospam
- Re: [Detnet-dp-dt] high level questions on detnet… jouni.nospam
- Re: [Detnet-dp-dt] high level questions on detnet… Carlos Jesús Bernardos Cano
- Re: [Detnet-dp-dt] Providing unique Flow-ID Norman Finn
- Re: [Detnet-dp-dt] Providing unique Flow-ID Jouni Korhonen
- Re: [Detnet-dp-dt] high level questions on detnet… Jiangyuanlong
- Re: [Detnet-dp-dt] Providing unique Flow-ID Loa Andersson
- Re: [Detnet-dp-dt] Providing unique Flow-ID Jiangyuanlong
- Re: [Detnet-dp-dt] Providing unique Flow-ID Loa Andersson
- Re: [Detnet-dp-dt] Providing unique Flow-ID Jiangyuanlong
- Re: [Detnet-dp-dt] high level questions on detnet… Carlos Jesús Bernardos Cano