Re: [sfc] MD Class registry - Vendor Extensibility

<mohamed.boucadair@orange.com> Mon, 20 February 2017 12:11 UTC

Return-Path: <mohamed.boucadair@orange.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 13452128824 for <sfc@ietfa.amsl.com>; Mon, 20 Feb 2017 04:11:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.62
X-Spam-Level:
X-Spam-Status: No, score=-2.62 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham autolearn_force=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 83FLIXFXR2lt for <sfc@ietfa.amsl.com>; Mon, 20 Feb 2017 04:10:59 -0800 (PST)
Received: from relais-inet.orange.com (mta239.mail.business.static.orange.com [80.12.66.39]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7132A1299BC for <sfc@ietf.org>; Mon, 20 Feb 2017 04:10:59 -0800 (PST)
Received: from opfedar02.francetelecom.fr (unknown [xx.xx.xx.4]) by opfedar20.francetelecom.fr (ESMTP service) with ESMTP id 1FA1E12018C; Mon, 20 Feb 2017 13:10:58 +0100 (CET)
Received: from Exchangemail-eme2.itn.ftgroup (unknown [xx.xx.31.13]) by opfedar02.francetelecom.fr (ESMTP service) with ESMTP id 02ACC180062; Mon, 20 Feb 2017 13:10:58 +0100 (CET)
Received: from OPEXCLILMA3.corporate.adroot.infra.ftgroup ([fe80::60a9:abc3:86e6:2541]) by OPEXCLILM6D.corporate.adroot.infra.ftgroup ([fe80::54f9:a6c3:c013:cbc7%19]) with mapi id 14.03.0319.002; Mon, 20 Feb 2017 13:10:57 +0100
From: mohamed.boucadair@orange.com
To: "adrian@olddog.co.uk" <adrian@olddog.co.uk>, "'Joel M. Halpern'" <jmh@joelhalpern.com>, "sfc@ietf.org" <sfc@ietf.org>
Thread-Topic: [sfc] MD Class registry - Vendor Extensibility
Thread-Index: AQMojjn5qD4A9VjG0JSRFr/2rcn8uAJIkUo1nrNf2aCAAAs9UA==
Date: Mon, 20 Feb 2017 12:10:57 +0000
Message-ID: <787AE7BB302AE849A7480A190F8B933009E14CFC@OPEXCLILMA3.corporate.adroot.infra.ftgroup>
References: <cfcdcf0a-a934-899a-b83e-e0de9d153b0c@joelhalpern.com> <8dfdb5fc-1da3-5633-81b6-6ac108051dae@joelhalpern.com> <008e01d28b61$ec399150$c4acb3f0$@olddog.co.uk>
In-Reply-To: <008e01d28b61$ec399150$c4acb3f0$@olddog.co.uk>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.168.234.1]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/sfc/GYmrX_vPNXxwez7t6wOva3Pb7IE>
Subject: Re: [sfc] MD Class registry - Vendor Extensibility
X-BeenThere: sfc@ietf.org
X-Mailman-Version: 2.1.17
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: Mon, 20 Feb 2017 12:11:01 -0000

Re-,

Please see inline. 

Cheers,
Med

> -----Message d'origine-----
> De : sfc [mailto:sfc-bounces@ietf.org] De la part de Adrian Farrel
> Envoyé : lundi 20 février 2017 11:13
> À : 'Joel M. Halpern'; sfc@ietf.org
> Objet : Re: [sfc] MD Class registry - Vendor Extensibility
> 
> It seems to me, that we need to sort ourselves out a bit wrt flexibility
> in
> metadata.
> 
> We have a hierarchy:
> MD Class (2^16)
>    MD Type (2^7, about to become 2^8)
>       MD TLVs (different docs)
> 
> AFAICS only one "optional variable length metadata" can be present in an
> NSH.
> 
> So I have some observations...
> 
> o 2^16 is a lot of MD classes. Really a lot!

[Med] Agree.

> o 2^8 is more than plenty MD types in any class

[Med] At least for the mobile case where the practice to "enrich" packets with some data on-path (https://tools.ietf.org/html/draft-ietf-sfc-use-case-mobility-07#section-3.3) is the rule, the type of data that can be inserted may be very "rich"; see for example Section 7.1 of http://www.etsi.org/deliver/etsi_ts/129200_129299/129230/12.06.00_60/ts_129230v120600p.pdf. 

I know that is frightening but the experience from existing IETF protocols is that a 2^8 type registry can be exhausted: see for the example the RADIUS case http://www.iana.org/assignments/radius-types/radius-types.xhtml#radius-types-2.

In order to cover existing use cases while avoiding coming back to the IETF to claim the type resources have been exhausted, I do suggest to use more bits for the type field. 16 bits would be great.
 

> o A vendor-specific MD class only works on an SFP
>     made up *entirely* of products from that vendor
> o A vendor-specific MD type only works on an SFP
>     made up *entirely* of products from that vendor
> o The main (only) place we should care about vendor-
>     specific pieces of metadata is in the definitions of
>     TLVs in MC0/MD2 (not this doc).
> 
> Am I missing a particular use case?
> 
> Cheers,
> Adrian
> 
> > -----Original Message-----
> > From: sfc [mailto:sfc-bounces@ietf.org] On Behalf Of Joel M. Halpern
> > Sent: 20 February 2017 02:09
> > To: sfc@ietf.org
> > Subject: Re: [sfc] MD Class registry - Vendor Extensibility
> >
> > A related topic on the MD Class and MD Type Registry is that of Vendor
> > extensibility.  The current registry text reads:
> >
> >     0x0000 to 0x01ff: IETF Review
> >     0x0200 to 0xfff5: Expert Review
> >     0xfff6 to 0xfffe: Experimental
> >     0xffff: Reserved
> >
> > Even with the minor change I raised for discussion in my previous note,
> > the only space for Vendor's to define their own type values is in the
> > experimental space.  It seems to me that is not sufficient.
> >
> > How do we want to address this?  We could take a portion of the Class
> > space for vendors.  But how would we assign values to vendors for their
> use?
> >
> > Yours,
> > Joel
> >
> > _______________________________________________
> > 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