Re: [mpls] On the use of GAL in MPLS-SFC OAM

Stewart Bryant <stewart.bryant@gmail.com> Wed, 10 March 2021 17:44 UTC

Return-Path: <stewart.bryant@gmail.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 8156B3A149E; Wed, 10 Mar 2021 09:44:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.403
X-Spam-Level:
X-Spam-Status: No, score=0.403 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, RCVD_IN_SORBS_WEB=1.5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 tL8yUQiCNADV; Wed, 10 Mar 2021 09:44:27 -0800 (PST)
Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 487663A14AF; Wed, 10 Mar 2021 09:44:27 -0800 (PST)
Received: by mail-wr1-x431.google.com with SMTP id l12so24254567wry.2; Wed, 10 Mar 2021 09:44:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=0Z59pQzzohvhcpljDcPbO2lqZGzfolNAJs2y14uQtW8=; b=TmU2Rsd1NwJBmto04XafKFSYwN1f/TnyNmfnAaHZeKNQcRg3YC7dVSHNWO0J/tvCJG BJtdacMkVlDd9XfxTo+uWQytPNASC1o9TPCWyo0Np9kKGpVaZFP1vvTdZWXXK7Pj+Ymg BTyctUpBPtUP722B3iDh11PB7Q5LTBfpSlXBPoPnTxhSieRi7e+PmF+kt0O5nH8Adl4p jmdMD7SfnEzmSiYI/Y1HvjFUlB/NexBUV4Bw9un3JEBvJECJecuO+301snEsVKCZd5da TH0kkYQsogzvQ90hMKFS2lsyNcFYBtUAOMIVcurkDXXvEhyTLqqh8ohcbHeyNWSg2JDk qIjA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=0Z59pQzzohvhcpljDcPbO2lqZGzfolNAJs2y14uQtW8=; b=Z5QQgk2OPBwvHorHfEMGlQkCibBVCTt28rj6qiZw11yC1AveGJ0kszyEXI3onUvLBp cqpB6ht+tFX8cRE/jm2aYFFIMTQX8tfZfOP71zswhp9js9iMPvwQv/wKUTL6eQLO1sxa GjNzojg4Z8djv/5GMKjwsLqmYd/oaWoITLvSkuPA8sCHDVQmS2ecNQzFLyMnuQ42yRwB /N2Goo/SRmch6N2ZByAyhQ+Hry1SUwHcIk9GNYnTHebKmtOrBoaIQ4jNIltiuGzI2rtf mT2zMhMVawYOVr20TfSiqqpFGVNFT4m4wP0M+p5v50LLDRsZ601OlPS5jhkCwHG0FHsv a0cg==
X-Gm-Message-State: AOAM532MGkfd160yU/j6K8Bt36dCDZwJwlZLBdNzEQMWi0vuTSFeMklR P7Kvu0S/SkaUopLBYY8D3KE=
X-Google-Smtp-Source: ABdhPJzi1uxd2rYqLsZ1ujR9OcqKDBArlSg6th4pxnlk7WedzF5t5jeF1/O6snwKkf7o97wPYDqWDw==
X-Received: by 2002:adf:e412:: with SMTP id g18mr4773536wrm.159.1615398263673; Wed, 10 Mar 2021 09:44:23 -0800 (PST)
Received: from [192.168.8.102] ([185.69.145.254]) by smtp.gmail.com with ESMTPSA id y16sm76372wrh.3.2021.03.10.09.44.18 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Mar 2021 09:44:23 -0800 (PST)
From: Stewart Bryant <stewart.bryant@gmail.com>
Message-Id: <E79EAA91-BEAD-402F-848E-F7AD94F50548@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_956B580E-AEDE-43E5-89B1-72B701225DE3"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
Date: Wed, 10 Mar 2021 17:44:15 +0000
In-Reply-To: <E338C962-6BCC-4916-96FB-DC99FFDE6F14@juniper.net>
Cc: Stewart Bryant <stewart.bryant@gmail.com>, "adrian@olddog.co.uk" <adrian@olddog.co.uk>, Greg Mirsky <gregimirsky@gmail.com>, mpls <mpls@ietf.org>, "draft-lm-mpls-sfc-path-verification@ietf.org" <draft-lm-mpls-sfc-path-verification@ietf.org>, MPLS Working Group <mpls-chairs@ietf.org>
To: Tarek Saad <tsaad@juniper.net>
References: <CA+RyBmXf_Nzn3GxW+1Q1LFjcQ8zUpR9YEMBGyQJ0ODJPcBtD3g@mail.gmail.com> <3688C3DB-2583-4A8D-A9F6-1AF2D05875D0@gmail.com> <CA+RyBmViEB0A-EG6x31E8wes+ytzaLosu4SNzFusOKDM+op8+Q@mail.gmail.com> <0a4201d715af$5605f4d0$0211de70$@olddog.co.uk> <E338C962-6BCC-4916-96FB-DC99FFDE6F14@juniper.net>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/cAXA16pe0AmQnfzOWx_1qEf4Epg>
Subject: Re: [mpls] On the use of GAL in MPLS-SFC OAM
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: Wed, 10 Mar 2021 17:44:36 -0000

In thinking about this, I don’t see why multiple GALs would do harm.

If there is any doubt we should update RFC6423/RFC5586 to remove that doubt. Though I would prefer to do that in a document in its own right rather than as a side effect of another document.

- Stewart



> On 10 Mar 2021, at 14:11, Tarek Saad <tsaad@juniper.net> wrote:
> 
> Thanks Greg for following up and all for the clarifications.
> Rereading rfc6423, I understand the presence of a GAL (anywhere in the stack) is merely to indicate an ACH immediately follows the BoS (at least my reading of it).
>  
> “
>       is replaced by:
>  
>          In MPLS-TP, the GAL MUST be used with packets on a G-ACh on
>          LSPs, Concatenated Segments of LSPs, and with Sections, and MAY
>          be used with PWs.  The presence of a GAL indicates that an ACH
>          immediately follows the MPLS label stack.
> “
>  
>  
> In Greg’s proposal, my understanding is the presence of GAL in the label stack carries additional semantics (depending on type of previous label), quoting
> “GAL: G-ACh Label. If the GAL immediately follows the SFC Context label, then the packet is recognized as an SFP OAM packet.”
>  
> Hence, this may be updating rfc6423?
>  
> Regards,
> Tarek
>  
>  
> On 3/10/21, 8:14 AM, "Adrian Farrel" <adrian@olddog.co.uk <mailto:adrian@olddog.co.uk>> wrote:
>  
> Top post.
>  
> Yes, I don’t think there was ever a requirement that only one GAL be present. It was a result of requiring GAL as BoS.
> When that requirement went, multiple GALs could be present.
>  
> I believe that one of the issues was to allow OAM along an LSP in the hierarchy without requiring dive to BoS to hunt for GAL.
>  
> Greg’s use cases are new in the sense that MPLS-SFC OAM is new.
>  
> Cheers,
> Adrian
>  
> From: mpls <mpls-bounces@ietf.org> On Behalf Of Greg Mirsky
> Sent: 09 March 2021 20:34
> To: Stewart Bryant <stewart.bryant@gmail.com>
> Cc: mpls <mpls@ietf.org>; draft-lm-mpls-sfc-path-verification@ietf.org; MPLS Working Group <mpls-chairs@ietf.org>
> Subject: Re: [mpls] On the use of GAL in MPLS-SFC OAM
>  
> Hi Stewart,
> thank you for your comments and questions. Please find my notes in-lined below under the GIM>> tag.
>  
> Regards,
> Greg
>  
> On Tue, Mar 9, 2021 at 9:49 AM Stewart Bryant <stewart.bryant@gmail.com <mailto:stewart.bryant@gmail.com>> wrote:
>>  
>>  
>> 
>>> On 9 Mar 2021, at 17:05, Greg Mirsky <gregimirsky@gmail.com <mailto:gregimirsky@gmail.com>> wrote:
>>>  
>>> Hi Tarek,
>>> thank you for your comment on our draft at the MPLS WG meeting earlier this week. If I captured your comment correctly, you've pointed out that RFC 5586 defined that GAL MUST be at the bottom of the stack. And, because of that, it can appear only once in the label stack. I agree with you that that is the definition of GAL in RFC 5586 but I have several clarifications to the current GAL definition:
>>> ·         firstly, the requirement that GAL MUST be at the bottom of the stack in RFC 5586 is applicable only to the MPLS-TP network. For other MPLS environments RFC 5586 "places no restrictions on where the GAL may appear within the label stack". Obviously, for any MPLS environment, the presence of GAL in the label stack means that ACH immediately follows the bottom-of-the-stack label.
>>> ·         also, will note that RFC 6423 updated the requirement of where in the label stack GAL is placed to the following:
>>>          In MPLS-TP, the GAL MUST be used with packets on a G-ACh on
>>>          LSPs, Concatenated Segments of LSPs, and with Sections, and MAY
>>>          be used with PWs.  The presence of a GAL indicates that an ACH
>>>          immediately follows the MPLS label stack.
>>>> As I interpret the text, the requirement for placing GAL as BoS in the MPLS-TP environment has been lifted by RFC 6423.
>>>  
>>> To conclude, I don't find in the current normative documents related to the use of GAL any requirements to use it only as the BoS label or that it cannot appear more than once in the label stack. Perhaps I've missed something in documents that specify the applicability of GAL. I much appreciate your thoughts, comments on the use of GAL proposed in our draft
>>  
>> Greg
>>  
>> I can see that RFC6423 lifts the restriction on where the GAL may me placed in the stack, although I cannot work out from the text and cannot remember why we lifted the restriction.
>>  
>> What I cannot see is a lifting of the restriction that GAL can only appear once in the label stack.
> GIM>> I couldn't find an explicit requirement that GAL must appear only once in a label stack. I think that that limitation was the logical consequence of the requirement included in RFC 5586 for the MPLS-TP network. Once the requirement to place GAL at the BoS removed, I cannot find any normative text to suggest that GAL cannot appear more than once in the label stack.
>>  
>> I am not quite sure I understand why you would need it more than once.
> GIM>> This is resulting from RFC 8595 <https://tools.ietf.org/html/rfc8595> that defines MPLS-SFC for two modes - swapping and stacking. For MPLS-SFC OAM, we propose using GAL in each Basic Unit of the MPLS label stack for SFC. Thus, in the stacking mode of MPLS-SFC GAL appears as many times as many basic units are present in the label stack.
>> If you find a GAL and need to access the ACH as a result, you need to be able to find the BOS. If you can find BOS then you could find the GAL at the BOS.
> GIM>> I think that there could be a problem for some systems to inspect the label stack of every MPLS packet whether there's GAL and the bottom of the stack. Finding GAL as the next label, in our opinion, avoids that unnecessary lookup. Besides, systems can access only a certain number of labels in the fast path. For some systems that number is relatively small.
>>  
>> Why do we need to have the GAL in the packet more than once, and why not at BOS?
> GIM>> I hope that we've explained the use case in our draft-lm-mpls-sfc-path-verification <https://datatracker.ietf.org/doc/draft-lm-mpls-sfc-path-verification/>. Much appreciate your questions and comments on the draft. 
>>  
>> Thanks
>>  
>> Stewart
>>  
>>  
> 
> Juniper Business Use Only
>