[sfc] fixed lenght vs. variable length (RE: Framework)

<mohamed.boucadair@orange.com> Thu, 13 February 2014 09:58 UTC

Return-Path: <mohamed.boucadair@orange.com>
X-Original-To: sfc@ietfa.amsl.com
Delivered-To: sfc@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E01AC1A01C2 for <sfc@ietfa.amsl.com>; Thu, 13 Feb 2014 01:58:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.549
X-Spam-Level:
X-Spam-Status: No, score=-1.549 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, HELO_EQ_FR=0.35, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=no
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 bCDR4FkK85q4 for <sfc@ietfa.amsl.com>; Thu, 13 Feb 2014 01:58:28 -0800 (PST)
Received: from relais-inet.francetelecom.com (relais-ias243.francetelecom.com [80.12.204.243]) by ietfa.amsl.com (Postfix) with ESMTP id 229231A01C1 for <sfc@ietf.org>; Thu, 13 Feb 2014 01:58:27 -0800 (PST)
Received: from omfeda08.si.francetelecom.fr (unknown [xx.xx.xx.201]) by omfeda10.si.francetelecom.fr (ESMTP service) with ESMTP id B31CF374500; Thu, 13 Feb 2014 10:58:25 +0100 (CET)
Received: from PUEXCH21.nanterre.francetelecom.fr (unknown [10.101.44.28]) by omfeda08.si.francetelecom.fr (ESMTP service) with ESMTP id 9937D3840C7; Thu, 13 Feb 2014 10:58:25 +0100 (CET)
Received: from PUEXCB1B.nanterre.francetelecom.fr ([10.101.44.13]) by PUEXCH21.nanterre.francetelecom.fr ([10.101.44.28]) with mapi; Thu, 13 Feb 2014 10:58:25 +0100
From: mohamed.boucadair@orange.com
To: Nicolas BOUTHORS <Nicolas.BOUTHORS@qosmos.com>
Date: Thu, 13 Feb 2014 10:58:23 +0100
Thread-Topic: fixed lenght vs. variable length (RE: [sfc] Framework)
Thread-Index: Ac8ooiHF0S4I7RSqQpq8pXSMleyGKg==
Message-ID: <94C682931C08B048B7A8645303FDC9F36F4C31E9D2@PUEXCB1B.nanterre.francetelecom.fr>
Accept-Language: fr-FR
Content-Language: fr-FR
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: fr-FR
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-PMX-Version: 6.0.3.2322014, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2013.11.19.63615
Cc: "sfc@ietf.org" <sfc@ietf.org>
Subject: [sfc] fixed lenght vs. variable length (RE: Framework)
X-BeenThere: sfc@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Thu, 13 Feb 2014 09:58:32 -0000

Dear Nicolas, all,

(I changed the subject to this specific issue).

In addition to the point you mention, there is also the potential impact on performances.

FWWI, an initial text to discuss this points is available at: http://tools.ietf.org/html/draft-boucadair-sfc-design-analysis-02#section-4.2 

It would be really helpful to record design considerations. 

Cheers,
Med

>-----Message d'origine-----
>De : sfc [mailto:sfc-bounces@ietf.org] De la part de Nicolas BOUTHORS
>Envoyé : jeudi 13 février 2014 10:14
>À : Ron Parker; Dave Dolson; Joel M. Halpern; Paul Quinn (paulq)
>Cc : Sumandra Majee; sfc@ietf.org; Linda Dunbar
>Objet : Re: [sfc] Framework
>
>If we do not enforce a fix header size we have other implication.
>
>There is the question of segmentation and reassembly responsibility as
>well.
>
>If adding length to the service header forces segmentation, then whose
>responsibility is it
>to reassemble the payload before passing it to the SF.
>
>Similar question for packet re-ordering.
>
>
>________________________________________
>From: Ron Parker [Ron_Parker@affirmednetworks.com]
>Sent: Wednesday, February 12, 2014 11:25 PM
>To: Dave Dolson; Joel M. Halpern; Paul Quinn (paulq)
>Cc: Sumandra Majee; sfc@ietf.org; Linda Dunbar
>Subject: Re: [sfc] Framework
>
>Dave,
>
>Yes, that is a good point if we logically separate the forwarding function
>from the SFC-aware service function, as we should.   The forwarding
>function is concerned with only the inbound transport header, the fixed
>portion of the service header containing the chain information, and the
>outbound transport header.    The service function may look at the entirety
>of the service header and would look at the encapsulated packet.
>
>   Ron
>
>
>-----Original Message-----
>From: Dave Dolson [mailto:ddolson@sandvine.com]
>Sent: Wednesday, February 12, 2014 5:18 PM
>To: Joel M. Halpern; Ron Parker; Paul Quinn (paulq)
>Cc: Sumandra Majee; sfc@ietf.org; Linda Dunbar
>Subject: RE: [sfc] Framework
>
>The forwarding plane might not even need to look at the encapsulated
>packet.
>
>For example, (if the SF Identifier is a VLAN tag), an Ethernet switch can
>forward packets of the form:  Ether | VLAN | BLOB.
>
>
>
>-----Original Message-----
>From: sfc [mailto:sfc-bounces@ietf.org] On Behalf Of Joel M. Halpern
>Sent: Wednesday, February 12, 2014 4:30 PM
>To: Ron Parker; Dave Dolson; Paul Quinn (paulq)
>Cc: Sumandra Majee; sfc@ietf.org; Linda Dunbar
>Subject: Re: [sfc] Framework
>
>I agree as well.
>Yours,
>Joel
>
>On 2/12/14, 4:24 PM, Ron Parker wrote:
>> Hi, Dave.
>>
>> I  Agree with your statement.    And if the total length of the header is
>contained in the mandatory portion, the hardware implementation can easily
>locate the encapsulated packet.
>>
>>     Ron
>>
>>
>> -----Original Message-----
>> From: Dave Dolson [mailto:ddolson@sandvine.com]
>> Sent: Wednesday, February 12, 2014 4:10 PM
>> To: Ron Parker; Paul Quinn (paulq)
>> Cc: Joel M. Halpern; Sumandra Majee; sfc@ietf.org; Linda Dunbar
>> Subject: RE: [sfc] Framework
>>
>> I think a good approach would be:
>>
>> The information required for forwarding (the SF Identifier) should be in
>a mandatory fixed-size header.
>>
>> Optional information (if any) is NOT to be used for forwarding, but is
>for consumption by one or more of the applications in the chain.
>>
>> Then the forwarding plane, and even the PDP, can be agnostic about the
>meta-data.
>>
>> -Dave
>>
>>
>> -----Original Message-----
>> From: sfc [mailto:sfc-bounces@ietf.org] On Behalf Of Ron Parker
>> Sent: Wednesday, February 12, 2014 4:05 PM
>> To: Paul Quinn (paulq)
>> Cc: Joel M. Halpern; Sumandra Majee; sfc@ietf.org; Linda Dunbar
>> Subject: Re: [sfc] Framework
>>
>> Paul,
>>
>> That is why I am proposing a hybrid where extensions or options can be
>added but the total length is contained in the fixed portion.   I can
>envision certain deployments (e.g., Enterprise) where perhaps extensions
>are not needed and the SFC functionality is realized in hardware.   And, I
>can envision certain other deployments (e.g., 3gpp) where the extension
>headers add sufficient value to justify software based implementations.
>>
>>       Ron
>>
>>
>> -----Original Message-----
>> From: Paul Quinn (paulq) [mailto:paulq@cisco.com]
>> Sent: Wednesday, February 12, 2014 3:40 PM
>> To: Ron Parker
>> Cc: Sumandra Majee; Linda Dunbar; Joel M. Halpern; sfc@ietf.org
>> Subject: Re: [sfc] Framework
>>
>> Hi,
>>
>> We certainly need to be very careful with variable length headers when
>hardware platform are in play.
>>
>> Ron, your examples of IP options and v6 EH have both suffered from
>significant implementation and deployment hurdles due to the complexity and
>cost associated with hardware support for the option/EH.
>>
>> Paul
>>
>> On Feb 12, 2014, at 3:10 PM, Ron Parker <Ron_Parker@affirmednetworks.com>
>wrote:
>>
>>> Hi, Sumandra.
>>>
>>> Regarding service header flexibility, I completely agree.   I might
>suggest a compromise between hardware friendliness and software
>flexibility.    If the header had the ability to add extensions (perhaps
>similar to IPv6) but also had the header length encoded in the mandatory
>part (like IPv4), then a hardware implementation would be free to skip over
>the extensions (in cases where the deployment justifies ignoring the
>extensions).
>>>
>>>    Ron
>>>
>>>
>>> -----Original Message-----
>>> From: Sumandra Majee [mailto:S.Majee@F5.com]
>>> Sent: Wednesday, February 12, 2014 3:04 PM
>>> To: Ron Parker; Linda Dunbar; Joel M. Halpern; sfc@ietf.org
>>> Subject: Re: [sfc] Framework
>>>
>>>>> For all of those reasons, I strongly support a canonical service
>>>>> header that is independent of the transport methodology.
>>>
>>>
>>> I agree. However the format of service header should be standardized in
>a way that is flexible. Some of us would like to see variable length header
>that is also HW friendly. The service header can be represented as a
>mandotory fixed length header (like IP header) along with an optional
>variable length attribute field. Different services can be interested in
>different metadata, for example subscriber ID could be of interest in the
>mobile core service chain only.
>>>
>>> Sumandra
>>>
>>> On 2/12/14, 11:32 AM, "Ron Parker" <Ron_Parker@affirmednetworks.com>
>wrote:
>>>
>>>> Linda,
>>>>
>>>> My interpretation of the architecture docs is that the service
>>>> function chain is built in an abstract manner (i.e., SF-A then SF-B
>then SF-C).
>>>> Separately, a locator table provides network location for each of those
>>>> service functions.   In this way, you can locate the service functions
>in
>>>> a manner appropriate to the type of transport you are using.   If you
>>>> want that to be interface+VLAN, gateway-IP+MPLS label stack, IP
>address,
>>>> GRE tunnel remote IP + key, etc., you can do that.    You can even
>>>> potentially locate different service functions that reside in the same
>>>> chain with different flavors of network locators.    Another
>>>> justification to separate the identity of a service function from its
>>>> network location is load balancing.   If, for example, SF-A had 3 IP
>>>> addresses, that would imply load balancing to 3 instances using IP
>>>> as a transport layer.
>>>>
>>>> For all of those reasons, I strongly support a canonical service header
>>>> that is independent of the transport methodology.    At a particular
>>>> node, the decision as to where to go next should be based solely on
>>>> information carried in the canonical service header and not on the
>fields
>>>> in the transport header.   That is, the SFC node discards the transport
>>>> header and extracts the chain ID from the service header.    Through
>>>> mechanisms we have not yet begun to discuss, the SFC node knows how
>>>> to interpret the chain ID and ultimately how to progress the packet.
>>>>
>>>>    Ron
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: sfc [mailto:sfc-bounces@ietf.org] On Behalf Of Linda Dunbar
>>>> Sent: Wednesday, February 12, 2014 12:01 PM
>>>> To: Joel M. Halpern; sfc@ietf.org
>>>> Subject: Re: [sfc] Framework
>>>>
>>>> Agree with Joel's statement.
>>>>
>>>> I think a simple sentence below should be added Section 5.2 (SFC
>>>> Classifier) to emphasize this point.
>>>>
>>>>     "A Service Chain Classifier node can associate a unique Layer 2 or
>>>> 3 Label (e.g. VLAN, MPLS label) to the packets in the flow. Those
>>>> Layer
>>>> 2 or 3 Label makes it easier for subsequent nodes along the flow
>>>> path to steer the flow to the service functions specified by the
>>>> flow's service chain."
>>>>
>>>>
>>>> Linda
>>>> -----Original Message-----
>>>> From: sfc [mailto:sfc-bounces@ietf.org] On Behalf Of Joel M. Halpern
>>>> Sent: Wednesday, February 12, 2014 10:20 AM
>>>> To: sfc@ietf.org
>>>> Subject: [sfc] Framework
>>>>
>>>> I was looking at the framework proposal.
>>>> The proposal has a very specific model of the scope of the transport
>>>> header (that it is derived from, and relates only to, the first
>>>> service function to which the packet will be directed.
>>>> That is clearly an operational model we need to support.
>>>>
>>>> However, I would like to allow other transport operational models,
>>>> such as the use of a VLAN to direct traffic along a chain.  Or the
>>>> use of an MPLS label, or an MPLS label stack.
>>>>
>>>> Yours,
>>>> Joel M. Halpern
>>>>
>>>> _______________________________________________
>>>> sfc mailing list
>>>> sfc@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/sfc
>>>>
>>>> _______________________________________________
>>>> sfc mailing list
>>>> sfc@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/sfc
>>>>
>>>> _______________________________________________
>>>> sfc mailing list
>>>> sfc@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/sfc
>>>
>>> _______________________________________________
>>> sfc mailing list
>>> sfc@ietf.org
>>> https://www.ietf.org/mailman/listinfo/sfc
>>
>> _______________________________________________
>> sfc mailing list
>> sfc@ietf.org
>> https://www.ietf.org/mailman/listinfo/sfc
>>
>
>_______________________________________________
>sfc mailing list
>sfc@ietf.org
>https://www.ietf.org/mailman/listinfo/sfc
>
>
>
>_______________________________________________
>sfc mailing list
>sfc@ietf.org
>https://www.ietf.org/mailman/listinfo/sfc