Re: [mpls] [EXTERNAL] Indicators in the stack and ancillary data after the BoS

Loa Andersson <loa@pi.nu> Thu, 17 June 2021 14:46 UTC

Return-Path: <loa@pi.nu>
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 C0B1B3A22F9 for <mpls@ietfa.amsl.com>; Thu, 17 Jun 2021 07:46:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=unavailable 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 VmkgbVIgQavZ for <mpls@ietfa.amsl.com>; Thu, 17 Jun 2021 07:46:22 -0700 (PDT)
Received: from pipi.pi.nu (pipi.pi.nu [83.168.239.141]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 618963A22EE for <mpls@ietf.org>; Thu, 17 Jun 2021 07:46:22 -0700 (PDT)
Received: from [192.168.0.3] (c83-250-139-108.bredband.tele2.se [83.250.139.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: loa@pi.nu) by pipi.pi.nu (Postfix) with ESMTPSA id 60FE8348949; Thu, 17 Jun 2021 16:46:19 +0200 (CEST)
To: "Jeffrey (Zhaohui) Zhang" <zzhang=40juniper.net@dmarc.ietf.org>, Alexander Vainshtein <Alexander.Vainshtein@rbbn.com>, Stewart Bryant <stewart.bryant@gmail.com>
Cc: "mpls@ietf.org" <mpls@ietf.org>
References: <c7d696de-4d83-6e3b-7d10-dc787fdabc73@pi.nu,> <MW4PR03MB639576D1C4B872AA0F5A8553F6309@MW4PR03MB6395.namprd03.prod.outlook.com> <202106170323552620410@zte.com.cn> <MW4PR03MB6395DE6E57E7CBF041ABE8E2F60E9@MW4PR03MB6395.namprd03.prod.outlook.com> <E512176A-02D5-4F74-8644-EAC4E3938AEF@gmail.com> <MW4PR03MB6395DA0A79E5882ECAC2B7E4F60E9@MW4PR03MB6395.namprd03.prod.outlook.com> <BL0PR05MB5652F9023D07DA3FC8479DDCD40E9@BL0PR05MB5652.namprd05.prod.outlook.com>
From: Loa Andersson <loa@pi.nu>
Message-ID: <ed6341bc-5508-5fb6-f5c2-e55154c22f2e@pi.nu>
Date: Thu, 17 Jun 2021 16:46:18 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <BL0PR05MB5652F9023D07DA3FC8479DDCD40E9@BL0PR05MB5652.namprd05.prod.outlook.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/5dwrykggnAmEHC8Qmw0i371pisk>
Subject: Re: [mpls] [EXTERNAL] Indicators in the stack and ancillary data after the BoS
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, 17 Jun 2021 14:46:29 -0000

DT,

Responded to Jeffrey's mail, but it is intended to address the entire 
discussion.

There seem to be enough issues to sort out around the GAL/ACH pair, and 
I was worried about a set of other indicators and the data that they 
might want to put "after the BoS". So far I have seen no real effort to 
address the interference's this might lead to.

Further inline


On 17/06/2021 16:15, Jeffrey (Zhaohui) Zhang wrote:
> Hi,
> 
> It’s not clear how we could put a GAL not at a BoS:
> 
>     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> 
>     |                              ACH                              |
> 
>     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> 
>     |                         ACH TLV Header                        |
> 
>     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> 
>     |                                                               ~
> 
>     ~                     zero or more ACH TLVs                     ~
> 
>     ~                                                               |
> 
>     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> 
>     |                                                               ~
> 
>     ~                        G-ACh Message                          ~
> 
>     ~                                                               |
> 
>     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> 
>                        Figure 2: G-ACh Packet Payload
> 
> If the GAL does not have S-bit set, wouldn’t a transit LSR treat any 
> 4-ocet field (i.e. those in the above Figure) after that GAL as a 
> label+TOS+S+TTL? If that 4-octet field has the S-bit set, the transit 
> LSR will think the label stack ends there even though that’s just part 
> of the ACH.
> 
> Or are you saying that a GAL not at the BoS will not have the ACH 
> following it?

Well, as far as I understand a GAL which does not have the NoS-bit set 
will have other labels after itself. The BoS-bit will be found deeper 
down stack and the ACH will immediately fo9llow the BoS.

Yes there are issues here, but I'd like to see the DT address multiple 
indicators in the stack and multiple sets of ancillary data after the BoS.

I think we need to nail down the relevant questiuons first, and start 
working on solutions after that.

/Loa
> 
> Jeffrey
> 
> *From:*mpls <mpls-bounces@ietf.org> *On Behalf Of *Alexander Vainshtein
> *Sent:* Thursday, June 17, 2021 5:07 AM
> *To:* Stewart Bryant <stewart.bryant@gmail.com>
> *Cc:* mpls@ietf.org
> *Subject:* Re: [mpls] [EXTERNAL] Indicators in the stack and ancillary 
> data after the BoS
> 
> *[External Email. Be cautious of content]*
> 
> Stewart,
> 
> I fully agree with your statement that “an old implementation that 
> received a ToS GAL not at BoS would at best throw an exception or worst 
> be unpredictable”.
> 
> Regarding your statement “it is OK to have multiple GALs and GALs not at 
> BoS IFF the creator of the LSP ensured that all LSRs on the LSP, 
> including ECMP and FRR paths that found the GAL at ToS were known to be 
> able to process it correctly”:
> 
>  1. I fully agree with this statement as a general restriction
>  2. Quite a lot of things have to be done in order to make this
>     restriction work including at least:
> 
>      1. The definition of correct processing of GAL at ToS but not at
>         BoS must be provided
>      2. Advertisement of ability to process GAL not at BoS correctly in
>         IGP and BGP must be defined
>      3. Ability to set up network-wide paths that only cross nodes that
>         process GAL correctly must be provided for different techniques
>         (RSVP-TE, SR-TE, FlexAlgo. BGP-LU etc.)
> 
> It is still possible that, after all this work, we shall find out  that 
> the benefits of supporting GAL at ToS but not BoS will be only available 
> in the networks where all the nodes support the new functionality 
> because presence of non-supporting nodes imposes too many restrictions 
> on connectivity and/or resilience.
> 
> Regards,
> 
> Sasha
> 
> Office: +972-39266302
> 
> Cell:      +972-549266302
> 
> Email: Alexander.Vainshtein@rbbn.com <mailto:Alexander.Vainshtein@rbbn.com>
> 
> *From:*Stewart Bryant <stewart.bryant@gmail.com 
> <mailto:stewart.bryant@gmail.com>>
> *Sent:* Thursday, June 17, 2021 10:36 AM
> *To:* Alexander Vainshtein <Alexander.Vainshtein@rbbn.com 
> <mailto:Alexander.Vainshtein@rbbn.com>>
> *Cc:* Stewart Bryant <stewart.bryant@gmail.com 
> <mailto:stewart.bryant@gmail.com>>; gregory.mirsky@ztetx.com 
> <mailto:gregory.mirsky@ztetx.com>; mpls@ietf.org <mailto:mpls@ietf.org>
> *Subject:* Re: [mpls] [EXTERNAL] Indicators in the stack and ancillary 
> data after the BoS
> 
>     On 17 Jun 2021, at 07:45, Alexander Vainshtein
>     <Alexander.Vainshtein@rbbn.com
>     <mailto:Alexander.Vainshtein@rbbn.com>> wrote:
> 
>     While that might be the case, I think that the Open DT may give it a
>     try and investigate how the existing systems will handle GAL being
>     not the BoS label.
> 
>     */[[Sasha]] Great minds think alike! One useful step could be
>     collecting the known actual behavior of popular implementations in
>     this case, say, by running a survey among the vendors – what do you
>     think?/*
> 
> That is actually a considerable amount of work that will take a while.
> 
> It seems to me that an old implementation that received a ToS GAL not at 
> BoS would at best throw an exception or worst be unpredictable.
> 
> The original assumed processing model is to take the context of the PW 
> label or PW+FAT label, discover the GAL and then process the GAL in the 
> context of the PW label.
> 
> When we extended GAL to apply to LSPs we again had the model that the 
> GAL operated in the context of the LSP label that preceded it for 
> context. It was still BoS.
> 
> Putting the GAL further up the stack is a new behaviour.
> 
> If it arrives at an LSR that knows the new semantic all is good.
> 
> If it arrives at an LSR that does not know the new semantic then
> 
> a) An error has occurred either in setting up the LSP, or in forwarding.
> 
> b) The behaviour at the receiving node is unpredictable, but in any well 
> written implementation should just result in the packet being dropped 
> and counted as with any other Mal-formed packet.
> 
> So I would think that it is OK to have multiple GALs and GALs not at BoS 
> IFF the creator of the LSP ensured that all LSRs on the LSP, including 
> ECMP and FRR paths that found the GAL at ToS were known to be able to 
> process it correctly.
> 
> A GAL not at BoS and not at ToS should not be inspected or processed by 
> any LSR that did not know what it was doing, and to attempt to precess 
> it would be a violation of the normal MPLS processing model.
> 
> - Stewart
> 
> 
> Notice: This e-mail together with any attachments may contain 
> information of Ribbon Communications Inc. and its Affiliates that is 
> confidential and/or proprietary for the sole use of the intended 
> recipient. Any review, disclosure, reliance or distribution by others or 
> forwarding without express permission is strictly prohibited. If you are 
> not the intended recipient, please notify the sender immediately and 
> then delete all copies, including any attachments.
> 
> 
> Juniper Business Use Only
> 
> 
> _______________________________________________
> mpls mailing list
> mpls@ietf.org
> 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