Re: [Detnet-dp-dt] Providing unique Flow-ID

Balázs Varga A <balazs.a.varga@ericsson.com> Wed, 22 February 2017 05:57 UTC

Return-Path: <balazs.a.varga@ericsson.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 14BE6129625 for <detnet-dp-dt@ietfa.amsl.com>; Tue, 21 Feb 2017 21:57:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.221
X-Spam-Level:
X-Spam-Status: No, score=-4.221 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.onmicrosoft.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 ehPFNaXil8d6 for <detnet-dp-dt@ietfa.amsl.com>; Tue, 21 Feb 2017 21:57:52 -0800 (PST)
Received: from sessmg22.ericsson.net (sessmg22.ericsson.net [193.180.251.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 60FA712961D for <detnet-dp-dt@ietf.org>; Tue, 21 Feb 2017 21:57:51 -0800 (PST)
X-AuditID: c1b4fb3a-f72d4980000021e0-46-58ad285db2ed
Received: from ESESSHC013.ericsson.se (Unknown_Domain [153.88.183.57]) by (Symantec Mail Security) with SMTP id 88.9D.08672.D582DA85; Wed, 22 Feb 2017 06:57:49 +0100 (CET)
Received: from EUR01-HE1-obe.outbound.protection.outlook.com (153.88.183.145) by oa.msg.ericsson.com (153.88.183.57) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 22 Feb 2017 06:56:50 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.onmicrosoft.com; s=selector1-ericsson-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Y+lldyLMbZ2ZLkfEBxtgmKigPfZwVmZ6Je/pxvVZx6Q=; b=PFT2TVrwTfc/NXrs+OpopbVIRGjJYFGJq/ygZRJAqZEJ4aG4Qvjl79wINofnLC4r1R2o3rd02pgtiYm1wLS34NlEAP2Jo3Dj+KKrrBZUHD47lYOQjonJ3yoFQccfoV/8KRRMwgxkfncOKLI6joxEO8H7lHSeRHTVJc5gLah6cvA=
Received: from DBXPR07MB128.eurprd07.prod.outlook.com (10.242.138.156) by DBXPR07MB127.eurprd07.prod.outlook.com (10.242.138.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.5; Wed, 22 Feb 2017 05:56:47 +0000
Received: from DBXPR07MB128.eurprd07.prod.outlook.com ([169.254.3.203]) by DBXPR07MB128.eurprd07.prod.outlook.com ([169.254.3.203]) with mapi id 15.01.0888.035; Wed, 22 Feb 2017 05:56:47 +0000
From: =?utf-8?B?QmFsw6F6cyBWYXJnYSBB?= <balazs.a.varga@ericsson.com>
To: Jouni Korhonen <jouni.korhonen@broadcom.com>
Thread-Topic: [Detnet-dp-dt] Providing unique Flow-ID
Thread-Index: AdKMZFXKT27zr+XoRKu9EVWhNIEjHAAJesmAABFay1A=
Date: Wed, 22 Feb 2017 05:56:46 +0000
Message-ID: <DBXPR07MB1287715CE1D6AA6B6CC932DAC500@DBXPR07MB128.eurprd07.prod.outlook.com>
References: <DBXPR07MB12832861ED58D86FD3D0A09AC510@DBXPR07MB128.eurprd07.prod.outlook.com> <F278A381-1E43-4607-8015-5CFDE871D382@broadcom.com>
In-Reply-To: <F278A381-1E43-4607-8015-5CFDE871D382@broadcom.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=balazs.a.varga@ericsson.com;
x-originating-ip: [91.82.100.59]
x-ms-office365-filtering-correlation-id: 2f778607-5ec2-45a6-bd74-08d45ae79654
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:DBXPR07MB127;
x-microsoft-exchange-diagnostics: 1; DBXPR07MB127; 7:3Ep0fV7+wUST+DaXlRkkQWjdLnkbX2obNRTBVQYXYADy9tNwFm3NZkcKEAWg2bCHz+MnqMA/mqiGrKiDHrl99f6zWPif+c2to0fHQU1UwQEaYMm17u05iHrn1CAvn6Mb0q/JrGAFQk8UfiuqIsIh0g5KwijVj/3NBpGaix9sJn3REpBiZk1fBcg+bYheX+R745Dqvva0/f3JW2I0S8hUYixsa3ctacwzTadrGqEQHT7Y9lhJF7jfEYNXsQry3Dt25GlHNv09SP0FVXEJ6gjUOBGCHsQ89RsMPk9ptJHfrWY+QPYV/etIYOaQHtVrLy0hC9svOn+pDw0LU94xojE1hg==
x-microsoft-antispam-prvs: <DBXPR07MB127BC6314C8F8FE6C8BF993AC500@DBXPR07MB127.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(37575265505322)(21532816269658);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6041248)(20161123555025)(20161123558025)(20161123560025)(20161123562025)(20161123564025)(6072148); SRVR:DBXPR07MB127; BCL:0; PCL:0; RULEID:; SRVR:DBXPR07MB127;
x-forefront-prvs: 022649CC2C
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(39450400003)(13464003)(57704003)(199003)(24454002)(189002)(66544003)(377454003)(6916009)(102836003)(105586002)(106356001)(68736007)(6116002)(54356999)(50986999)(3660700001)(85182001)(3280700002)(230783001)(76176999)(6246003)(85202003)(99286003)(38730400002)(5660300001)(55016002)(7696004)(110136004)(2950100002)(3846002)(81166006)(6306002)(81156014)(9686003)(189998001)(8676002)(8936002)(97736004)(229853002)(53546006)(53936002)(6506006)(6436002)(92566002)(86362001)(2906002)(4326007)(2900100001)(305945005)(101416001)(7736002)(122556002)(33656002)(74316002)(25786008)(66066001); DIR:OUT; SFP:1101; SCL:1; SRVR:DBXPR07MB127; H:DBXPR07MB128.eurprd07.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Feb 2017 05:56:46.8575 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBXPR07MB127
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpileLIzCtJLcpLzFFi42KZGbHdUjdWY22EwavlBharJqxls3j4JcGB yWPW/bNsHkuW/GQKYIrisklJzcksSy3St0vgyrj85xNrQYN3xbx9v5kaGDs8uxg5OCQETCSe /PPuYuTiEBJYxyix9dUZRgjnBKNE+/WFbCAOi0Avs8S2n1NZIDJTmSQ2LDnCCuEcYZTYuOEO UxcjJwebgIvEjk1zWEHmiggYSPw/WAYSZhYwlmjZvJcdxBYGWjf31FEWEFtEwFTi3rHnULaV xI1rS5lBbBYBVYlTlxvB6nkFoiRWn5oDtWsCo8Sn1XfZQeZzCjhI3FzJD1LDKCAm8f3UGiaI XeISt57MB7MlBAQkluw5zwxhi0q8fPyPFaI+TuL3/gaouILEpgXv2SFsX4nLMzZAxX0klhx7 yAhhdzNLPPvuDWFnSvzqWMAGYXtJrG7pAQeKhMAMJomGixdYIBIyEu37ZrFBJHrZJC7OvQp2 kZBAqsTyta2MkJCQkrh7pZNxAqPWLCSHzwL6jVlAU2L9Ln2IsKLElO6H7LPAYSEocXLmE5YF jCyrGEWLU4uLc9ONjPRSizKTi4vz8/TyUks2MQJTxsEtv612MB587niIUYCDUYmH90Pomggh 1sSy4srcQ4wSHMxKIrydSmsjhHhTEiurUovy44tKc1KLDzFKc7AoifOarbwfLiSQnliSmp2a WpBaBJNl4uCUamB0XCLKsOFW2+XkgvPJn2/vk8tu3XBAOv3lk9Z8Q/Ww578eqimty9kY9ca9 /37bTi7WranHvov9yC9cvfyczM1trVMTdKYxsHNYPQl9c3eloPLWyH8HbC59Omc4W/GA6+JH 6jdS54tl37oSXDbzqXrAxp6wRxpLW1bu5fqQ93mprZXf0sO1vk4vlFiKMxINtZiLihMBiKzr vRUDAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/detnet-dp-dt/dgEP3RcErT4EDoj3i3ljbVV9y6c>
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
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 05:57:55 -0000

Hi,

> 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.

Why do we need l-label to connect x-PE nodes? t-lables do that for free.
I agree that the next label after the t-label will tell x-PE what to do.
Terminate the PW or just act as transit.

See You soon
Bala'zs

-----Original Message-----
From: Jouni Korhonen [mailto:jouni.korhonen@broadcom.com] 
Sent: Tuesday, February 21, 2017 10:34 PM
To: Balázs Varga A <balazs.a.varga@ericsson.com>
Cc: detnet-dp-dt@ietf.org
Subject: Re: [Detnet-dp-dt] Providing unique Flow-ID

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@ericsson.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..

> 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.
>  
> 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.

>  
> 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