Re: [sfc] clarification on Service Path ID for draft-penno-sfc-packet

"Kent Leung (kleung)" <kleung@cisco.com> Wed, 26 July 2017 16:08 UTC

Return-Path: <kleung@cisco.com>
X-Original-To: sfc@ietfa.amsl.com
Delivered-To: sfc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 026EE132091 for <sfc@ietfa.amsl.com>; Wed, 26 Jul 2017 09:08:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.523
X-Spam-Level:
X-Spam-Status: No, score=-14.523 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_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 gS7VDENnMjG2 for <sfc@ietfa.amsl.com>; Wed, 26 Jul 2017 09:08:02 -0700 (PDT)
Received: from alln-iport-7.cisco.com (alln-iport-7.cisco.com [173.37.142.94]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 84410131D05 for <sfc@ietf.org>; Wed, 26 Jul 2017 09:08:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=7928; q=dns/txt; s=iport; t=1501085282; x=1502294882; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=FtgzBwko1OEwrZbM2FN1/psaWOAUEcE66svI0JWiQ/U=; b=YdspH3PC3rVJoABxr9Ke6+WQDN3FIwVkcgM3m0ASoZC6rPNzVmJUToSe QtO92fgPiEb01joogBujORwHA936lAGF7DYir/dNfJ7vKgUpMmT7Dl9wq q1iU1iHXeYJcKSS85TmMwfLSKTIZpqfFAdjNYPAugWouUZDKbdd/J1udy 0=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CeAABgvXhZ/4ENJK1UChkBAQEBAQEBAQEBAQcBAQEBAYNaZG0nB44FkWGWCQ6CBCELhRsCGoMwPxgBAgEBAQEBAQFrHQuFGAEBAQEDAQEhEToLDAQCAQgRBAEBAwIjAwICAiULFAEICAIEDgUIE4oUELE6giaLRAEBAQEBAQEBAQEBAQEBAQEBAQEBARgFgQuCHYNNgWGDJIQ5D4M+gmEFkGSGdIgDAodNjEqCFYVQil6VbwEfOIEKdxVJhxl2iCeBDgEBAQ
X-IronPort-AV: E=Sophos;i="5.40,416,1496102400"; d="scan'208";a="461762403"
Received: from alln-core-9.cisco.com ([173.36.13.129]) by alln-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 26 Jul 2017 16:08:01 +0000
Received: from XCH-RTP-007.cisco.com (xch-rtp-007.cisco.com [64.101.220.147]) by alln-core-9.cisco.com (8.14.5/8.14.5) with ESMTP id v6QG811T032725 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 26 Jul 2017 16:08:01 GMT
Received: from xch-rtp-006.cisco.com (64.101.220.146) by XCH-RTP-007.cisco.com (64.101.220.147) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 26 Jul 2017 12:08:00 -0400
Received: from xch-rtp-006.cisco.com ([64.101.220.146]) by XCH-RTP-006.cisco.com ([64.101.220.146]) with mapi id 15.00.1210.000; Wed, 26 Jul 2017 12:08:00 -0400
From: "Kent Leung (kleung)" <kleung@cisco.com>
To: "mohamed.boucadair@orange.com" <mohamed.boucadair@orange.com>
CC: "sfc@ietf.org" <sfc@ietf.org>
Thread-Topic: [sfc] clarification on Service Path ID for draft-penno-sfc-packet
Thread-Index: AdL8yGj6ijlxPpxFQhyonVi4uiBr2QABYlRQAACi1WAACSYE0ACB4IoAAAAW/OAAAPzOEAAJX2uAAB8CJ2AAEaQ9gAABme4AAAB5TAAAHJ0cEAAWlowAAAJ3zwAACCSfgAFBR0jgAA2kEDA=
Date: Wed, 26 Jul 2017 16:08:00 +0000
Message-ID: <93596249c1e04032ae66695bd90868dd@XCH-RTP-006.cisco.com>
References: <91d8a4564df24299a24bee2688c9f6a6@XCH-RTP-006.cisco.com> <BF1BE6D99B52F84AB9B48B7CF6F17DA3EF0D62@SJCEML702-CHM.china.huawei.com> <E8355113905631478EFF04F5AA706E98A9060316@wtl-exchp-2.sandvine.com> <BF1BE6D99B52F84AB9B48B7CF6F17DA3EF0DF8@SJCEML702-CHM.china.huawei.com> <F241AD1D-A007-4AC7-A2B0-19550F1FF52C@cisco.com> <E8355113905631478EFF04F5AA706E98A9064B5C@wtl-exchp-2.sandvine.com> <99da3de545b142f5b9400f808f418fa1@XCH-RTP-006.cisco.com> <7B36C41A-EBE1-453E-BB25-04377E63B559@cisco.com> <6a0788234fec45909112016317e149fd@XCH-RTP-006.cisco.com> <CDF2F015F4429F458815ED2A6C2B6B0B839F731A@MBX021-W3-CA-2.exch021.domain.local> <6fa79c3c-6ae7-7818-47b3-1c71de2f0c50@joelhalpern.com> <CDF2F015F4429F458815ED2A6C2B6B0B839F7479@MBX021-W3-CA-2.exch021.domain.local> <03cda27203ec4cc0b8c8cca7ffab2cad@XCH-RTP-006.cisco.com> <bad829c9-2a90-af10-f06f-a9e90badf394@joelhalpern.com> <A925E36C-2C9B-42FD-96D5-736861AE8895@cisco.com> <5b0089f70075435d8b2b6e4dc512770d@XCH-RTP-006.cisco.com> <787AE7BB302AE849A7480A190F8B93300A01326E@OPEXCLILMA3.corporate.adroot.infra.ftgroup>
In-Reply-To: <787AE7BB302AE849A7480A190F8B93300A01326E@OPEXCLILMA3.corporate.adroot.infra.ftgroup>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.24.100.101]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/sfc/Y0fOWGAAWqjtcKY5HEy3UIWzOnI>
Subject: Re: [sfc] clarification on Service Path ID for draft-penno-sfc-packet
X-BeenThere: sfc@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Network Service Chaining <sfc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sfc>, <mailto:sfc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sfc/>
List-Post: <mailto:sfc@ietf.org>
List-Help: <mailto:sfc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sfc>, <mailto:sfc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Jul 2017 16:08:05 -0000

Hi Mohamed. See comments below.

-----Original Message-----
From: mohamed.boucadair@orange.com [mailto:mohamed.boucadair@orange.com] 
Sent: Wednesday, July 26, 2017 4:22 AM
To: Kent Leung (kleung) <kleung@cisco.com>
Cc: sfc@ietf.org
Subject: RE: [sfc] clarification on Service Path ID for draft-penno-sfc-packet

Re-,

I do have the following comments:

* I do agree with Reinaldo with regards to unidirectional SPIs.

KL> OK. One more for unidirectional SPI.


* Assuming by default that the SPI is inherited from the received NSH packet may lead to failures. Consider the example of a chain with NATs and FWs. Because the packet will be generated by an SF (that may not be the ultimate destination of the original packet), no corresponding state will be found in those NATs (non EIM/EIF)/FW. I'm not sure whether "no-op" feature softens the problem. 

KL> There are various use cases when SF generates packet. See https://tools.ietf.org/html/draft-wang-sfc-ns-use-cases-03#page-14. We believe this draft is helpful in understanding various scenarios and want to pursue informational track. If you or others want to help, please let us know. The NOP is dealing with asymmetric SFC.


* Generating packets by an SF may not be triggered by a received NSH packet. Obviously, inheriting NSH-related information may not be possible in that case. A typical example is a service chain that involves an MPTCP proxy. The proxy can at any time during the connection add new subflows to the source.    

KL> Agree. See draft mentioned above.


* I don't think that we should assume that SF-generated packets must always be stamped with an NSH header. This is IMHO deployment-specific. Like any other packets generated by a (SFC-unware) node in the forwarding path, packets generated by an SFC-aware SF should be able to fly back without any SFC processing at all, too. Again, this is deployment-specific. 

KL> Agree. See Option #2 in the reference above. Let us know if that's clear.


* Putting aside other aspects, that are btw discussed appropriately in the draft such as metadata cloning, which destination IP address to use to send back the packet? Some complications may arise when NATs are involved.

KL> The draft-penno-sfc-packet is dealing with this use case, "generate packets in the reverse flow direction destined to the source of the current in-process packet/flow." So the dest IP address is the source IP address of the received packet. A packet that is NAT'ed needs to be addressed as an independent topic.


Given that, I'm less for an algorithmic approach but for control-based approach at the SFC-aware SF and/or classifier.  

KL> The control plane option (sect. 5.1) does require controller/SF interface. There are additional operational responsibility on SF to maintain state for reverse path, controller to ensure consistency between SF and SFF for SPIs, timing window when SPIs are configured, etc. It seems algorithmic method avoids chances for problems to be encountered in deployment. Simple is better in terms there's only one touch point (automatic) vs. two touch points (control).

Thanks for your feedback.

Kent


Cheers,
Med

> -----Message d'origine-----
> De : sfc [mailto:sfc-bounces@ietf.org] De la part de Kent Leung 
> (kleung) Envoyé : mercredi 26 juillet 2017 00:32 À : Reinaldo Penno 
> (repenno); Joel M. Halpern; Ron Parker; Dave Dolson; Roberta Maglione 
> (robmgl); James N Guichard Cc : sfc@ietf.org Objet : Re: [sfc] 
> clarification on Service Path ID for draft-penno-sfc- packet
> 
> It seems enough time has elapsed for folks to chime in their 
> preferences on the solution option.
> 
> I believe that communication between two endpoints is based on flow 
> traffic from source to destination. A service path dictates which 
> service functions are applied for the traffic. Technically, a flow is 
> terminated at the receiving endpoint. So, the service path ended at the last hop.
> Communication may be uni-directional (one flow) or bi-directional (two 
> flows). RFC 7665 describes SFC as steering of traffic flows through 
> service functions. My interpretation is that the service path is 
> associated with the flow. A new flow going in the reverse direction 
> should be treated with a new service path (set up to handle that flow) 
> and not continuation of the same service path (set up to handle 
> original flow) in the forward direction. Seems logical to me from that perspective.
> 
> The service path ID is used to identify the service path and the 
> service index is used to identify the location within the service path 
> as stated in current NSH draft:
> 
> " NSH contains a Service Path Identifier (SPI) and a Service Index (SI).
> The SPI is, as per its name, an identifier" of the service path.
> 
> "The Service Index provides an indication of location within a service 
> path."
> 
> Given that both options support asymmetric and symmetric SFCs, has 
> anyone change their mind on selecting an option to go forth? Based on 
> the feedback, it seems that we all agree to choose one solution 
> instead of allowing multiple options for addressing reverse packet 
> generation scenario. Now, what should we need to do to achieve that? 
> Rock-paper- scissor? :)
> 
> Current count as Joel is OK with either option.
> 
> Sect 5.4.1 (one service path ID, service index indicates flow direction):
> 
> -	(4) Dave, Joel, Ron, Kyle
> 
> Sect 5.4.2 (two service path IDs, each indicate flow direction):
> 
> -	(7) Sumandra, Jim, Kent, Renaldo, Roberta, Paul, Joel
> 
> Kent
> 
> <snip>
> 
> _______________________________________________
> sfc mailing list
> sfc@ietf.org
> https://www.ietf.org/mailman/listinfo/sfc