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

Robert Raszuk <robert@raszuk.net> Fri, 18 July 2014 07:26 UTC

Return-Path: <rraszuk@gmail.com>
X-Original-To: spring@ietfa.amsl.com
Delivered-To: spring@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3E94E1A0198; Fri, 18 Jul 2014 00:26:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.277
X-Spam-Level:
X-Spam-Status: No, score=-1.277 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-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 2wW3sf9bamzH; Fri, 18 Jul 2014 00:26:53 -0700 (PDT)
Received: from mail-ie0-x22d.google.com (mail-ie0-x22d.google.com [IPv6:2607:f8b0:4001:c03::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1CDA21A0195; Fri, 18 Jul 2014 00:26:53 -0700 (PDT)
Received: by mail-ie0-f173.google.com with SMTP id tr6so4157525ieb.4 for <multiple recipients>; Fri, 18 Jul 2014 00:26:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=C+M5wQkfS8QrxXgvxHCtmQjOhx6rE5hLRCsCvC4FHEs=; b=tzl3iLewdy4ZVE0aQF0TCOuPI3/c/F06+JR5dpeSpjRJjLWk5EeCtSQ+RFoaWVxyc5 4wDfkwhfX9QkkBo2EzpT2wAK69m8O6O9d0SeYYMyuIwmUHuOH5iZt13z7epWMckX2MIW q/LCAHl+QVtWInQedm9yC3MVuTVpGkE2elMkql7X1O/IwJnoD7AmUS36jLT8zi6lmWaA Hw4CdYzlf3+mS6ZjdyIIRbULZYh8ohzgLA/avPcTEOYMbUs82QV0RdK6QyB7Tw5RbORP yTsudWgEBOimXS3tQgPSdDfJ0FppQxkhv9vJFpe+s8z7mb010BxPvjBeGPQm+2/ROkc3 +C0A==
MIME-Version: 1.0
X-Received: by 10.50.12.38 with SMTP id v6mr35920569igb.29.1405668412382; Fri, 18 Jul 2014 00:26:52 -0700 (PDT)
Sender: rraszuk@gmail.com
Received: by 10.64.89.38 with HTTP; Fri, 18 Jul 2014 00:26:52 -0700 (PDT)
In-Reply-To: <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE08294118@NKGEML512-MBS.china.huawei.com>
References: <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE08294118@NKGEML512-MBS.china.huawei.com>
Date: Fri, 18 Jul 2014 09:26:52 +0200
X-Google-Sender-Auth: iizaAMQ0lVE2RL8TC1vgTCKRyYE
Message-ID: <CA+b+ERk_nd1QLrTPB78jZ15pm3t5QfusLxfhoYhwqA-NfLPiqQ@mail.gmail.com>
From: Robert Raszuk <robert@raszuk.net>
To: Xuxiaohu <xuxiaohu@huawei.com>, "sfc@ietf.org" <sfc@ietf.org>
Content-Type: multipart/alternative; boundary="089e0112c39c647f9c04fe72ae95"
Archived-At: http://mailarchive.ietf.org/arch/msg/spring/A2xELdlRh0yh1c6AwRnQZVxWH20
Cc: "mpls@ietf.org" <mpls@ietf.org>, "<spring@ietf.org>" <spring@ietf.org>
Subject: Re: [spring] How to carry metadata/context in an MPLS packet
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Stacked Tunnels for Source Routing \(STATUS\)." <spring.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spring>, <mailto:spring-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/spring/>
List-Post: <mailto:spring@ietf.org>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spring>, <mailto:spring-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Jul 2014 07:26:55 -0000

All,

Is the idea of using data plane to carry complete metadata is "the way" or
"a way" of approaching the problem ? Has this been already discussed ?

I would rather consider to carry metadata in control plane and only attach
a reference_id (and only when it is needed) to the data plane.

Rgs,
R.





On Fri, Jul 18, 2014 at 3:58 AM, Xuxiaohu <xuxiaohu@huawei.com> wrote:

> 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
>
> _______________________________________________
> spring mailing list
> spring@ietf.org
> https://www.ietf.org/mailman/listinfo/spring
>