Re: [sfc] How to carry metadata/context in an MPLS packet

Xuxiaohu <xuxiaohu@huawei.com> Fri, 18 July 2014 06:42 UTC

Return-Path: <xuxiaohu@huawei.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 01B921B2906; Thu, 17 Jul 2014 23:42:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.202
X-Spam-Level:
X-Spam-Status: No, score=-4.202 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham
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 2OIgelks77rO; Thu, 17 Jul 2014 23:42:11 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 36AB11B2904; Thu, 17 Jul 2014 23:42:10 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml403-hub.china.huawei.com) ([172.18.7.190]) by lhrrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BKF19478; Fri, 18 Jul 2014 06:42:08 +0000 (GMT)
Received: from NKGEML402-HUB.china.huawei.com (10.98.56.33) by lhreml403-hub.china.huawei.com (10.201.5.217) with Microsoft SMTP Server (TLS) id 14.3.158.1; Fri, 18 Jul 2014 07:42:07 +0100
Received: from NKGEML512-MBS.china.huawei.com ([169.254.8.48]) by nkgeml402-hub.china.huawei.com ([10.98.56.33]) with mapi id 14.03.0158.001; Fri, 18 Jul 2014 14:41:56 +0800
From: Xuxiaohu <xuxiaohu@huawei.com>
To: Xuxiaohu <xuxiaohu@huawei.com>, "l.wood@surrey.ac.uk" <l.wood@surrey.ac.uk>, "mpls@ietf.org" <mpls@ietf.org>
Thread-Topic: How to carry metadata/context in an MPLS packet
Thread-Index: Ac+iK9IiUw61Lt1oTZi1TxTMkTltPwACfNZjAAAtuoAAADRSVwAGdgOQAAB4rkA=
Date: Fri, 18 Jul 2014 06:41:55 +0000
Message-ID: <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE082941CD@NKGEML512-MBS.china.huawei.com>
References: <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE08294118@NKGEML512-MBS.china.huawei.com> <1405653056176.39234@surrey.ac.uk>, <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE08294173@NKGEML512-MBS.china.huawei.com> <1405653745773.33083@surrey.ac.uk>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.111.98.134]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: http://mailarchive.ietf.org/arch/msg/sfc/JwSMO26y_Wtyu5qVk91UGt25cNg
Cc: "spring@ietf.org" <spring@ietf.org>, "sfc@ietf.org" <sfc@ietf.org>
Subject: Re: [sfc] How to carry metadata/context in an MPLS packet
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: Fri, 18 Jul 2014 06:42:13 -0000


> -----Original Message-----
> From: Xuxiaohu
> Sent: Friday, July 18, 2014 2:33 PM
> To: 'l.wood@surrey.ac.uk'; mpls@ietf.org
> Cc: spring@ietf.org; sfc@ietf.org
> Subject: RE: How to carry metadata/context in an MPLS packet
> 
> 
> 
> > -----Original Message-----
> > From: l.wood@surrey.ac.uk [mailto:l.wood@surrey.ac.uk]
> > Sent: Friday, July 18, 2014 11:22 AM
> > To: Xuxiaohu; mpls@ietf.org
> > Cc: spring@ietf.org; sfc@ietf.org
> > Subject: RE: How to carry metadata/context in an MPLS packet
> >
> > No, my "why" is "why have metadata in the MPLS header at all"?
> 
> You could choose to carry the metadata context instead of the metadata itself in
> the data packet (See section 3.5 of the following draft
> (http://tools.ietf.org/html/draft-rijsman-sfc-metadata-considerations-00#page-
> 8)).
> 
> > Why does this have to be done inband?
> 
> It doesn't have to be done inband. However, since In-band marking (see section
> 3.1 of the following draft
> (http://tools.ietf.org/html/draft-rijsman-sfc-metadata-considerations-00#page-
> 8)) ) is one of the approaches of metadata sharing, I'm just considering how to
> realize that in-band approach in the MPLS case.
> 
> Best regards,
> Xiaohu
> 
> > I am questioning the basis for doing this. There is no "must" here.

By the way, you are right that carrying metadata or metadata context within data packets is optional, rather than mandatory.

Best regards,
Xiaohu

> > Lloyd Wood
> > http://about.me/lloydwood
> > ________________________________________
> > From: Xuxiaohu <xuxiaohu@huawei.com>
> > Sent: Friday, 18 July 2014 1:17 PM
> > To: Wood L  Dr (Electronic Eng); mpls@ietf.org
> > Cc: spring@ietf.org; sfc@ietf.org
> > Subject: RE: How to carry metadata/context in an MPLS packet
> >
> > The presence of metadata within an MPLS packet must be indicated in
> > the encapsulation. I think that's the "why" you may want to know.
> >
> > Best regards,
> > Xiaohu
> >
> > > -----Original Message-----
> > > From: l.wood@surrey.ac.uk [mailto:l.wood@surrey.ac.uk]
> > > Sent: Friday, July 18, 2014 11:11 AM
> > > To: Xuxiaohu; mpls@ietf.org
> > > Cc: spring@ietf.org; sfc@ietf.org
> > > Subject: RE: How to carry metadata/context in an MPLS packet
> > >
> > > How? A better question is "why?"
> > >
> > > What has to be done in MPLS that cannot be done outside it?
> > >
> > > Lloyd Wood
> > > http://about.me/lloydwood
> > > ________________________________________
> > > From: mpls <mpls-bounces@ietf.org> on behalf of Xuxiaohu
> > > <xuxiaohu@huawei.com>
> > > Sent: Friday, 18 July 2014 11:58 AM
> > > To: mpls@ietf.org
> > > Cc: <spring@ietf.org>; sfc@ietf.org
> > > Subject: [mpls] How to carry metadata/context in an MPLS packet
> > >
> > > Hi all,
> > >
> > > I'm now considering how to carry metadata/context in an MPLS packet.
> > > I just noticed that draft-guichard-mpls-metadata-00
> > > (http://tools.ietf.org/html/draft-guichard-mpls-metadata-00#page-6)
> > > proposes a way to carry metadata/context in an MPLS packet (see below):
> > >
> > > "3.  Metadata Channel Header Format
> > >
> > >    The presence of metadata within an MPLS packet must be indicated in
> > >    the encapsulation.  This document defines that the G-ACh Generic
> > >    Associated Channel Label (GAL) [RFC5586] with label value 13 is
> > >    utilized for this purpose.  The GAL label provides a method to
> > >    identify that a packet contains an "Associated Channel Header (ACH)"
> > >    followed by a non-service payload.
> > >
> > >    [RFC5586] identifies the G-ACh Generic Associated Channel by setting
> > >    the first nibble of the ACH that immediately follows the bottom label
> > >    in the stack if the GAL label is present, to 0001b.  Further
> > >    [RFC5586] expects that the ACH not be used to carry user data
> > >    traffic.  This document proposes an extension to allow the first
> > >    nibble of the ACH to be set to 0000b and, when following the GAL, be
> > >    interpreted using the semantics defined in
> > >    [I-D.guichard-metadata-header] to allow metadata to be carried
> > >    through the G-ACh channel."
> > >
> > > However, it seems that the special usage of the GAL as mentioned
> > > above still conflicts with the following statement quoted from [RFC5586]:
> > >
> > > "  The GAL MUST NOT appear in the label stack when transporting normal
> > >    user-plane packets.  Furthermore, when present, the GAL MUST NOT
> > >    appear more than once in the label stack."
> > >
> > > I wonder whether the special usage of the GAL as proposed in the
> > > above draft would result in any backward compatibility issue. In
> > > addition, I wonder whether it's worthwhile to reconsider the
> > > possibility of introducing a Protocol Type (PT) field immediately
> > > after the bottom of the MPLS label stack. With such PT field, any
> > > kind of future MPLS payload (e.g., metadata header or NSH) can be easily
> identified.
> > >
> > > Best regards,
> > > Xiaohu
> > >
> > > _______________________________________________
> > > mpls mailing list
> > > mpls@ietf.org
> > > https://www.ietf.org/mailman/listinfo/mpls