Re: [mpls] MPLS-RT Review of draft-gandhi-mpls-ioam-sr-04

Mach Chen <mach.chen@huawei.com> Thu, 07 January 2021 08:08 UTC

Return-Path: <mach.chen@huawei.com>
X-Original-To: mpls@ietfa.amsl.com
Delivered-To: mpls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A94DD3A098C; Thu, 7 Jan 2021 00:08:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 RBYtc1jju8DM; Thu, 7 Jan 2021 00:08:50 -0800 (PST)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 592023A0983; Thu, 7 Jan 2021 00:08:50 -0800 (PST)
Received: from fraeml742-chm.china.huawei.com (unknown [172.18.147.206]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4DBJgS3mMPz67YMx; Thu, 7 Jan 2021 16:05:08 +0800 (CST)
Received: from fraeml742-chm.china.huawei.com (10.206.15.223) by fraeml742-chm.china.huawei.com (10.206.15.223) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Thu, 7 Jan 2021 09:08:48 +0100
Received: from DGGEML404-HUB.china.huawei.com (10.3.17.39) by fraeml742-chm.china.huawei.com (10.206.15.223) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.1.2106.2 via Frontend Transport; Thu, 7 Jan 2021 09:08:48 +0100
Received: from DGGEML510-MBS.china.huawei.com ([169.254.3.132]) by DGGEML404-HUB.china.huawei.com ([fe80::b177:a243:7a69:5ab8%31]) with mapi id 14.03.0487.000; Thu, 7 Jan 2021 16:08:46 +0800
From: Mach Chen <mach.chen@huawei.com>
To: Loa Andersson <loa@pi.nu>, Greg Mirsky <gregimirsky@gmail.com>
CC: Stewart Bryant <stewart.bryant@gmail.com>, "Rakesh Gandhi (rgandhi)" <rgandhi=40cisco.com@dmarc.ietf.org>, mpls <mpls@ietf.org>, "draft-gandhi-mpls-ioam-sr@ietf.org" <draft-gandhi-mpls-ioam-sr@ietf.org>, mpls-chairs <mpls-chairs@ietf.org>
Thread-Topic: [mpls] MPLS-RT Review of draft-gandhi-mpls-ioam-sr-04
Thread-Index: AQHW2hyDHDvVF1VdnUGaj2r8EB36K6oPXEywgAe3xoCAAB+GgIAD2h+AgAAC04CAAImZwP//kvKAgACcrUA=
Date: Thu, 07 Jan 2021 08:08:46 +0000
Message-ID: <F73A3CB31E8BE34FA1BBE3C8F0CB2AE2980D53C4@dggeml510-mbs.china.huawei.com>
References: <CAA=duU21PHQoJP0cEX6o1K=EwUFqeH19YvcDPNJVKE9c2szS6w@mail.gmail.com> <F73A3CB31E8BE34FA1BBE3C8F0CB2AE2980ACEB1@dggeml530-mbs.china.huawei.com> <DM6PR11MB3115122E45D5D9734E2A7023BFD20@DM6PR11MB3115.namprd11.prod.outlook.com> <E683497C-449B-4756-90CA-F01A8D7983E8@gmail.com> <bb8796b9-b4c9-1c04-c348-3a8624ddecaa@pi.nu> <CA+RyBmUAvbUJ1xmvZUspiu3kJbuqOhFs=CguM_PFOpq=UjnERw@mail.gmail.com> <F73A3CB31E8BE34FA1BBE3C8F0CB2AE2980D52FE@dggeml510-mbs.china.huawei.com> <8813ba4d-76b7-ba83-c396-d6795de074b8@pi.nu>
In-Reply-To: <8813ba4d-76b7-ba83-c396-d6795de074b8@pi.nu>
Accept-Language: en-US, zh-CN
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.108.243.140]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/Bbks7W4CwvWB1mypWzstB4ZA47U>
Subject: Re: [mpls] MPLS-RT Review of draft-gandhi-mpls-ioam-sr-04
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mpls>, <mailto:mpls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mpls/>
List-Post: <mailto:mpls@ietf.org>
List-Help: <mailto:mpls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mpls>, <mailto:mpls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Jan 2021 08:08:53 -0000

Hi Loa,

It depends where to put the (e)SPL and how to process the eSPL. If we define an eSPL and always put the eSPL on the top of the label stack. It means when sending a packet to next LSR, an eSPL will be put on the top of the stack, when the next LSR received the packet, the eSPL indicates iOAM related process needed, then pop off eSPL and process the next label that will result in forwarding the packet to the next LSR. When sending the packet to next LSR, an eSPL will be put back on the top of the stack. It just likes popping off two labels and pushing one label back. But this requires that all the LSRs along the packet MUST know how to process the eSPL, otherwise, the packet may be discarded.

Best regards,
Mach

> -----Original Message-----
> From: Loa Andersson [mailto:loa@pi.nu]
> Sent: Thursday, January 7, 2021 1:13 PM
> To: Mach Chen <mach.chen@huawei.com>; Greg Mirsky
> <gregimirsky@gmail.com>
> Cc: Stewart Bryant <stewart.bryant@gmail.com>; Rakesh Gandhi (rgandhi)
> <rgandhi=40cisco.com@dmarc.ietf.org>; mpls <mpls@ietf.org>;
> draft-gandhi-mpls-ioam-sr@ietf.org; mpls-chairs <mpls-chairs@ietf.org>
> Subject: Re: [mpls] MPLS-RT Review of draft-gandhi-mpls-ioam-sr-04
> 
> Maach,
> 
> If it is a requirement from iOAM to do hop by hop processing, then the SPL/eSPL
> is a very blunt tool, there is is always a risk that the (e)SPL label that indicate
> the special behavior is below the maximum stack depth that can be scanned.
> 
> Right?
> 
> If we create a FEC that says "this packet has a hop by hop processing
> requirement, go find the ACH-header immediately after the label stack to see
> what you need to do." That would not solve the immediate problem but also be
> useful for the future.
> 
> /Loa
> 
> 
> On 07/01/2021 11:50, Mach Chen wrote:
> > Hi all,
> >
> > IMHO, I think the key issue is that there is no hop-by-hop option in
> > MPLS, but the iOAM requires that.
> >
> > There are three potential options:
> >
> > 1)Scan the stack and find the (e)SPL label that indicate the special
> > behavior;
> >
> > 2)Introduce an (e)SPL and always keep it on the top of the label
> > stack;
> >
> > 3)Use the way as Stewart suggested, a new FEC, just like the SFL;
> >
> > Best regards,
> >
> > Mach
> >
> > *From:*Greg Mirsky [mailto:gregimirsky@gmail.com]
> > *Sent:* Thursday, January 7, 2021 11:30 AM
> > *To:* Loa Andersson <loa@pi.nu>
> > *Cc:* Stewart Bryant <stewart.bryant@gmail.com>; Rakesh Gandhi
> > (rgandhi) <rgandhi=40cisco.com@dmarc.ietf.org>; mpls <mpls@ietf.org>;
> > draft-gandhi-mpls-ioam-sr@ietf.org; mpls-chairs <mpls-chairs@ietf.org>
> > *Subject:* Re: [mpls] MPLS-RT Review of draft-gandhi-mpls-ioam-sr-04
> >
> > Hi Loa, et al.,
> >
> > RFC 8169 uses TTL expiration to achieve processing at each RTM-capable
> > node. That approach creates a state in transient nodes and may not fit
> > with the "no state" paradigm of the Segment Routing.
> >
> > And I've got a question. AFAIK, the presence of ACH in an MPLS LSP is
> > indicated by GAL. Is there an intention to introduce another (E)SPL
> > for that?
> >
> > Regards,
> >
> > Greg
> >
> > On Wed, Jan 6, 2021 at 7:20 PM Loa Andersson <loa@pi.nu
> > <mailto:loa@pi.nu>> wrote:
> >
> >     Stewart,
> >
> >     If we want to make sure that packets are processed at evey node, is the
> >     new FEC complementary to the ACH-header or an alternative?
> >
> >     /Loa
> >
> >     On 05/01/2021 00:30, Stewart Bryant wrote:
> >     >
> >     >
> >     >> On 4 Jan 2021, at 14:38, Rakesh Gandhi (rgandhi)
> >     >> <rgandhi=40cisco.com@dmarc.ietf.org
> <mailto:40cisco.com@dmarc.ietf.org>
> >     >> <mailto:rgandhi <mailto:rgandhi>=40cisco.com@dmarc.ietf.org
> >     <mailto:40cisco.com@dmarc.ietf.org>>> wrote:
> >     >>
> >     >> <RG> Yes, this is similar to the entropy label where a mid-point node
> >     >> needs to scan the label stack to find the indicator label. We can add
> >     >> some text to clarify this. There is already an optimization to use a
> >     >> different indicator label for HbH compared to E2E case to
> >     >> unnecessarily avoid parsing the IOAM data fields.
> >     >
> >     > The EL is entirely optional to process. It is no more than a hint to use
> >     > in ECMP and there is no architectural requirement to find it to operate
> >     > correctly.
> >     >
> >     > If iOAM is purely a option then you could scan the stack and hope that
> >     > you can reach down far enough to find it. Though there is a fight to
> see
> >     > who gets to be the lowest label in range of the forwarding parser.
> >     >
> >     > If you want to be sure that iOAM is processed HxH then you really
> need
> >     > to run it on a new FEC with that behaviour built into the FEC. That
> >     > would be the architected way of doing this in MPLS.
> >     >
> >     > - Stewart
> >     >
> >     >
> >     >
> >     > _______________________________________________
> >     > mpls mailing list
> >     > mpls@ietf.org <mailto:mpls@ietf.org>
> >     > https://www.ietf.org/mailman/listinfo/mpls
> >     <https://www.ietf.org/mailman/listinfo/mpls>
> >     >
> >
> >     --
> >
> >     Loa Andersson                        email: loa@pi.nu
> <mailto:loa@pi.nu>
> >     Senior MPLS Expert loa.pi.nu@gmail.com
> <mailto:loa.pi.nu@gmail.com>
> >     Bronze Dragon Consulting             phone: +46 739 81 21 64
> >
> >     _______________________________________________
> >     mpls mailing list
> >     mpls@ietf.org <mailto:mpls@ietf.org>
> >     https://www.ietf.org/mailman/listinfo/mpls
> >     <https://www.ietf.org/mailman/listinfo/mpls>
> >
> 
> --
> 
> Loa Andersson                        email: loa@pi.nu
> Senior MPLS Expert                          loa.pi.nu@gmail.com
> Bronze Dragon Consulting             phone: +46 739 81 21 64