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

Balázs Varga A <balazs.a.varga@ericsson.com> Tue, 21 February 2017 17:06 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 A8BB9129512 for <detnet-dp-dt@ietfa.amsl.com>; Tue, 21 Feb 2017 09:06:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.22
X-Spam-Level:
X-Spam-Status: No, score=-4.22 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, 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 FMtfd-2s-6Gy for <detnet-dp-dt@ietfa.amsl.com>; Tue, 21 Feb 2017 09:06:42 -0800 (PST)
Received: from sesbmg23.ericsson.net (sesbmg23.ericsson.net [193.180.251.37]) (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 97AB212945B for <detnet-dp-dt@ietf.org>; Tue, 21 Feb 2017 09:06:41 -0800 (PST)
X-AuditID: c1b4fb25-93e1698000001738-50-58ac739f068d
Received: from ESESSHC017.ericsson.se (Unknown_Domain [153.88.253.124]) by (Symantec Mail Security) with SMTP id 76.5A.05944.F937CA85; Tue, 21 Feb 2017 18:06:40 +0100 (CET)
Received: from EUR01-VE1-obe.outbound.protection.outlook.com (153.88.183.145) by oa.msg.ericsson.com (153.88.183.69) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 21 Feb 2017 18:05:44 +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=E7aRHOd1eEbaQ2n46yGwYqux8lN2yEwvPPqPdh/8TdQ=; b=VlL1/eKP2MU/MSBg2jd9cN+nmAlLebBcHbclGNI2hdYPc1r9KwOM04RsiR43wBHzlTY6nqgD1IOxuyKVr9TkaS6LDQFrb1UaTa3xPaMimDBBFK0yA1lnfydd8EVTyOhE1eU77398HkM4fMji9P5FQ0j+UqI+fuMjeP0aT8JBQu0=
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; Tue, 21 Feb 2017 17:05:42 +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; Tue, 21 Feb 2017 17:05:42 +0000
From: =?iso-8859-1?Q?Bal=E1zs_Varga_A?= <balazs.a.varga@ericsson.com>
To: "detnet-dp-dt@ietf.org" <detnet-dp-dt@ietf.org>
Thread-Topic: Providing unique Flow-ID
Thread-Index: AdKMZFXKT27zr+XoRKu9EVWhNIEjHA==
Date: Tue, 21 Feb 2017 17:05:42 +0000
Message-ID: <DBXPR07MB12832861ED58D86FD3D0A09AC510@DBXPR07MB128.eurprd07.prod.outlook.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: [178.164.172.201]
x-ms-office365-filtering-correlation-id: 0bbc34c1-a540-4d57-45c5-08d45a7bdea2
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:DBXPR07MB127;
x-microsoft-exchange-diagnostics: 1; DBXPR07MB127; 7:KTS5SwBCdMBMrCqPAyCAjWptNh3T5SqlHzCoVTuozqn9VKPLaqUEQWKfutbwzOoGF3jkgXqFdVVIByEfRRo9hrvUQwS7t5dNMSLKppSjMV+3HcAsVYl3NMZRbjRknsHzu+QM1epVt2cgd+E7H3Po0ebLKPTkEZpNwwVv1i4iIKrbPUBp4EmM/XmkpUJYEkHQ24TtqrE7p/2TmiBAfz5WiUiOL+lI0WSVfhKhw6Qpn5fnjp0pnuiEi+pBiaeEFvBu3xHTPiF8bl+ibvdm5SwtxUUtNA9RF0s7y6IjERlK4ke6BDlJKdD40ug56PwjqaAjX2GrXhXnIl6jc8FeL3Os9g==
x-microsoft-antispam-prvs: <DBXPR07MB1272FA093562C5DF8BE147BAC510@DBXPR07MB127.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(21748063052155);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6041248)(20161123560025)(20161123555025)(20161123562025)(20161123564025)(20161123558025)(6072148); SRVR:DBXPR07MB127; BCL:0; PCL:0; RULEID:; SRVR:DBXPR07MB127;
x-forefront-prvs: 0225B0D5BC
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(39450400003)(189002)(199003)(86362001)(92566002)(6436002)(6506006)(5630700001)(5640700003)(53936002)(2900100001)(2501003)(66066001)(25786008)(33656002)(74316002)(450100001)(101416001)(122556002)(7736002)(3660700001)(54356999)(19609705001)(3280700002)(68736007)(105586002)(6916009)(106356001)(50986999)(2906002)(2351001)(81156014)(97736004)(6306002)(81166006)(9686003)(8936002)(9326002)(189998001)(790700001)(8676002)(110136004)(5660300001)(99286003)(6116002)(102836003)(54896002)(3846002)(38730400002)(7696004)(55016002); DIR:OUT; SFP:1101; SCL:1; SRVR:DBXPR07MB127; H:DBXPR07MB128.eurprd07.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_DBXPR07MB12832861ED58D86FD3D0A09AC510DBXPR07MB128eurprd_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Feb 2017 17:05:42.7176 (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: H4sIAAAAAAAAA02SbUhTURzGO/febdfl6jRn/jG/uHBhsVkp0otIQkJQURCWmFSbXnToNrlX h0of5gdJJ4LiC7qkrKbma6WSYYq5ypZlKyyR0RyiZKllIiXmS7ndBX77/Z/n+R/Oczg0Kb0l CKa1+myG1asz5UIxVZu4fl1Zz7UlHnSPkUdaytqFJ9Apq3WFOI+SxDGpTKbWyLARsdfE6WM/ jmeVp+b+negVmdBsghn50YCjoHapFZmRmJbiBwgeLnb6BjsCd5VJ6BkoXEpC80YDwTtVBHxq WBN69qX4BQKnI8XDQhwPS0WTXl2GI6G6so40I5oOwKEwP67jZQU0P6sgeFbBgt1OeZjCYdD9 chl5WIKTYKJrTeBhhHfD8nCbN0/iIHBO3yb4a2Ow9jlIngPh29SGL38FVgdMPn0vDHx3+fJn oenxfcTzGbAOTXpbAi4hYWZ20Gdowe52+paPQVH5KwEfqiGgsLvfd1II3O15L+KNUQHMPC0h +JdgoKm90HtSAA4G18diH4fA18/9Ar6CAb70zBF8zV3wunaaKkMKy5Z2li0xy5YYr6tgvKpS yPMBaLwzR/KshJoNG7VVr0eiFhTIMZxGl3Y4UsWw2hSOM+hVeia7E23+msHu1bAnaHQ+zoYw jeT+kp8JbYlSgdrI5elsCGhSLpOwGZuSJFWdl8+whqtsTibD2dAempIHSaKb3ZekOE2dzWQw TBbD/ncJ2i/YhFgBMaLUdF2MndQaHEsa5w14p89BQ1P3tyeH68I7/yzuGM73j1XcGyl4RBQI LzR2lHaItlmIujfJokjzuqvabyaF6iDPrcQs9J1WILU2Ldrk2nmzwpGHf0/HmY25rejDr4je oyrjyWFljlD2PElW0BB1ubg8tGdu39t4Ta+c4tLVh/aTLKf+B/WoaFExAwAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/detnet-dp-dt/iM6NBtdQ12K64h-Y0QVkhseKvJE>
Subject: [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: Tue, 21 Feb 2017 17:06:43 -0000

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.

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.

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

Good night and see You tomorrow early morning
Bala'zs