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

Loa Andersson <loa@pi.nu> Mon, 21 June 2021 09:40 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 95A143A2A62 for <mpls@ietfa.amsl.com>; Mon, 21 Jun 2021 02:40:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.334
X-Spam-Level:
X-Spam-Status: No, score=-0.334 tagged_above=-999 required=5 tests=[NICE_REPLY_A=-0.338, 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 WjDDOJmeDTu7 for <mpls@ietfa.amsl.com>; Mon, 21 Jun 2021 02:40:01 -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 25F583A2A55 for <mpls@ietf.org>; Mon, 21 Jun 2021 02:40:00 -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 CFB653489FA; Mon, 21 Jun 2021 11:39:57 +0200 (CEST)
To: Haoyu Song <hsong@futurewei.com>, "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> <ed6341bc-5508-5fb6-f5c2-e55154c22f2e@pi.nu> <BL0PR05MB5652596A808CD766C250F369D40E9@BL0PR05MB5652.namprd05.prod.outlook.com> <DM6PR13MB2762515FA53CC3403C2DCA44B60E9@DM6PR13MB2762.namprd13.prod.outlook.com>
From: Loa Andersson <loa@pi.nu>
Message-ID: <9f5f81aa-4529-8d83-ef5a-1c809bf3251c@pi.nu>
Date: Mon, 21 Jun 2021 11:39:57 +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: <DM6PR13MB2762515FA53CC3403C2DCA44B60E9@DM6PR13MB2762.namprd13.prod.outlook.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/Oe3EdRmln0Z-nfcuH60yXylwNAk>
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: Mon, 21 Jun 2021 09:40:14 -0000

Haoyu, DT

On 17/06/2021 18:56, Haoyu Song wrote:
> My opinion is to not tamper with ACH anymore because it's designed for control channel only and so far for a special scenario. The constraints on GAL and format of ACH are hard to adapt to the new use case requirements.
> 
I think this is a position that is possible to defend.

One question though.

RFC 5586 specifies "that the ACH appears immediately after the bottom of 
the label stack."

If the slot immediately after the label stack is reserved for the ACH 
does this mean the no other ancillary data maybe inserted in this 
position, e.g. MPLS EH's, given that there is a GAL in the stack?

/Loa

> Thanks!
> Haoyu
> 
> -----Original Message-----
> From: mpls <mpls-bounces@ietf.org> On Behalf Of Jeffrey (Zhaohui) Zhang
> Sent: Thursday, June 17, 2021 8:02 AM
> To: Loa Andersson <loa@pi.nu>; Alexander Vainshtein <Alexander.Vainshtein@rbbn.com>; Stewart Bryant <stewart.bryant@gmail.com>
> Cc: mpls@ietf.org
> Subject: Re: [mpls] [EXTERNAL] Indicators in the stack and ancillary data after the BoS
> 
> Hi Loa,
> 
>> 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 the earlier emails of this email thread were talking about multiple indicators in the stack; for multiple set of ancillary data after the BoS, either the extended ACH or the proposed MPLS/generic extension headers or a merge of those proposals should be able to handle it. This is alluded to the DataAfterBOS wiki page.
> 
> Thanks.
> 
> Jeffrey
> 
> -----Original Message-----
> From: Loa Andersson <loa@pi.nu>
> Sent: Thursday, June 17, 2021 10:46 AM
> To: Jeffrey (Zhaohui) Zhang <zzhang@juniper.net>; Alexander Vainshtein <Alexander.Vainshtein@rbbn.com>; 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]
> 
> 
> 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://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Furld
>> efense.com%2Fv3%2F__https%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2F
>> mpls__%3B!!NEt6yMaO-gk!RVgTGVbknjgIjv3x-q8ob1JglFKOP6qKkgAcCSPbeBMMj2A
>> nexFnPevXopeK1a6u%24&amp;data=04%7C01%7Chsong%40futurewei.com%7Ccc49de
>> 9585a24092e29708d931a0e327%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%
>> 7C637595389337881384%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQI
>> joiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=5et4Juc3IjG
>> dfux%2FR5MsJnuTYDWL6S4pZ8uz3F6h34Q%3D&amp;reserved=0
>>
> 
> --
> 
> Loa Andersson                        email: loa@pi.nu
> Senior MPLS Expert                          loa.pi.nu@gmail.com
> Bronze Dragon Consulting             phone: +46 739 81 21 64
> 
> Juniper Business Use Only
> _______________________________________________
> mpls mailing list
> mpls@ietf.org
> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Fmpls&amp;data=04%7C01%7Chsong%40futurewei.com%7Ccc49de9585a24092e29708d931a0e327%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637595389337881384%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=XQlRpwkgODLRxcIjyMYyPMiCF2KDC0Y7GG4O8VGESnw%3D&amp;reserved=0
> 

-- 

Loa Andersson                        email: loa@pi.nu
Senior MPLS Expert                          loa.pi.nu@gmail.com
Bronze Dragon Consulting             phone: +46 739 81 21 64