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

Greg Mirsky <gregimirsky@gmail.com> Tue, 09 March 2021 20:34 UTC

Return-Path: <gregimirsky@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 68D8F3A0B62; Tue, 9 Mar 2021 12:34:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 f6VHqtk_ZWHu; Tue, 9 Mar 2021 12:34:22 -0800 (PST)
Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) (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 0485A3A0B59; Tue, 9 Mar 2021 12:34:21 -0800 (PST)
Received: by mail-lf1-x12c.google.com with SMTP id p21so29445130lfu.11; Tue, 09 Mar 2021 12:34:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rdweaEepk4naapM8q+WyDWX/Awu2tlVqW735lrJa2ck=; b=Xsb5+YTUJPQSzDI9aag/3rk8kPoc29ANY71ZgaZ+R/G9hB6khZxnWDrvk/P1pnoiwk W+TTmohsXflKKqE8KAM2IOYP8WTneeOILOSOMPwYgTN+h4+px5iqNA4MI259md6xMnAy rkPKpodNIhArRsftxlCxOQee/eU5r6ZxZnltUaN5HW5E1jMx1ScGzFQOWzwbg1V0U4S8 JCzFkZZ6xyLYmX3/LKjHd8fmdASc0GFbJx+fvITLXFP5oqPmItkFVU8gq11zThA3PktZ 3GCu+1sv3RrteTwtIhg/5nfiJYD9Q8sPBPrZLyCJIQz+6hc2U5rTMkuuu2yNSqU1k3Fm VyGQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rdweaEepk4naapM8q+WyDWX/Awu2tlVqW735lrJa2ck=; b=custEU7Rv6w3IA7gr/7N+7vcMwzQPz1zbMFn+bjUl7msdZ1h855b9e9IdoSqqqrxe2 DnToC6Jempph2pe4OU5bmVZ7Qvyk/fCRs16YZoS5IUc/ziU0wd5Jczz5NrRaCOXNlt/a JMH+K+VBI6vOAxE0tH15Ns3AjhvHmZNZk9pekUANNEiNQOmQQXP5yuy2n/d4Uww+TKLF o6mJ+LrOON6evwHlFlngBQOJyZKO7qCdVNNLiymHq4i8/vmIkmim5huW5l5VecvWgU+u TgDIwHdn54XBsI7yfPIdX3udj6brMIc4+YJOtd2V1wBM73TE0gFNVlcbU1vS9vJs3UMs 1qmQ==
X-Gm-Message-State: AOAM533L7uYwpxyFaPoKhXt6NYkUUBeJ0HGNqrJWuJZNwe7wLbQdO+Fx ScjeBltz/2H776XRKNNEmjWKGMbloENrbpk3SN/vLXsqAbA=
X-Google-Smtp-Source: ABdhPJyf06Hg5x3zmf+m9g1ANBUmZMHCHFBNvo7MB+K612/d1RgvQ01n9179FKITXdwbW4yPYDr+JSIWEb5kfXm1FSs=
X-Received: by 2002:a05:6512:108e:: with SMTP id j14mr17770320lfg.364.1615322058347; Tue, 09 Mar 2021 12:34:18 -0800 (PST)
MIME-Version: 1.0
References: <CA+RyBmXf_Nzn3GxW+1Q1LFjcQ8zUpR9YEMBGyQJ0ODJPcBtD3g@mail.gmail.com> <3688C3DB-2583-4A8D-A9F6-1AF2D05875D0@gmail.com>
In-Reply-To: <3688C3DB-2583-4A8D-A9F6-1AF2D05875D0@gmail.com>
From: Greg Mirsky <gregimirsky@gmail.com>
Date: Tue, 09 Mar 2021 12:34:06 -0800
Message-ID: <CA+RyBmViEB0A-EG6x31E8wes+ytzaLosu4SNzFusOKDM+op8+Q@mail.gmail.com>
To: Stewart Bryant <stewart.bryant@gmail.com>
Cc: Tarek Saad <tsaad.net@gmail.com>, MPLS Working Group <mpls-chairs@ietf.org>, mpls <mpls@ietf.org>, draft-lm-mpls-sfc-path-verification@ietf.org
Content-Type: multipart/alternative; boundary="0000000000007c585b05bd2079e5"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/s3qqb3cEmcdC11FXM5srCrE6HgM>
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: Tue, 09 Mar 2021 20:34:25 -0000

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>
wrote:

>
>
> On 9 Mar 2021, at 17:05, Greg Mirsky <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
>
>
>