Re: [mpls] Some following questions about ISD

Joel Halpern <jmh@joelhalpern.com> Thu, 14 September 2023 14:02 UTC

Return-Path: <jmh@joelhalpern.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 6C4A5C14CE5F for <mpls@ietfa.amsl.com>; Thu, 14 Sep 2023 07:02:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.196
X-Spam-Level:
X-Spam-Status: No, score=-7.196 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, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.091, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=joelhalpern.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id njTdLlE5Tf3P for <mpls@ietfa.amsl.com>; Thu, 14 Sep 2023 07:02:46 -0700 (PDT)
Received: from mailb2.tigertech.net (mailb2.tigertech.net [208.80.4.154]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AB4A5C14CE4F for <mpls@ietf.org>; Thu, 14 Sep 2023 07:02:46 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mailb2.tigertech.net (Postfix) with ESMTP id 4RmfCm6VWTz1pdPS; Thu, 14 Sep 2023 07:02:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelhalpern.com; s=2.tigertech; t=1694700164; bh=rffEHeINfWk6Y6UOC0OzZ4XodaisGFGhOJzNFdJjglk=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=kEHRO6sCBhw1DMXceAo6JF8QTh/olLdCtOWKBLTGBgi/Qf4KJWCa8uzjYphvbGYrC ZwLrGeEoNJdCntyjspeIeheH4mQb34SULH3clPkRHUDzLy55KdluVyhtfCYNenosS2 qtXJWabWqb0QG5OaKxuS+121nCMvwJOkMIQMpWY4=
X-Quarantine-ID: <flaU4TZLrxCz>
X-Virus-Scanned: Debian amavisd-new at b2.tigertech.net
Received: from [192.168.20.19] (unknown [50.233.136.230]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mailb2.tigertech.net (Postfix) with ESMTPSA id 4RmfCl6KcYz1pdPZ; Thu, 14 Sep 2023 07:02:43 -0700 (PDT)
Content-Type: multipart/alternative; boundary="------------DAvAixQsthwwUHWXoAH8wJsw"
Message-ID: <e3ea4292-93f0-af5b-8e12-fb995ea73f9e@joelhalpern.com>
Date: Thu, 14 Sep 2023 10:02:42 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1
Content-Language: en-US
To: "Dongjie (Jimmy)" <jie.dong=40huawei.com@dmarc.ietf.org>, Greg Mirsky <gregimirsky@gmail.com>
Cc: "mpls@ietf.org" <mpls@ietf.org>
References: <4c1a2fb4e22d40668a2ccb07dc6899ee@huawei.com> <57FED144-B556-42C4-9B72-847197FBA467@tony.li> <2607ceead2264cc095795943f0cb1427@huawei.com> <CA+RyBmVHNeNTd8epDTWw-0-jCWxzL6m6oCW1QUTEJ0LdT5F0KA@mail.gmail.com> <e6fa8fa927364588a8cc7d0323cff831@huawei.com> <CA+RyBmVqej1HBRT2uhEsOED2_Js0oXW+3+SN-ygZed3CAvmBKw@mail.gmail.com> <49ce3dfe370e47d2a01eeb4a2b0532bc@huawei.com>
From: Joel Halpern <jmh@joelhalpern.com>
In-Reply-To: <49ce3dfe370e47d2a01eeb4a2b0532bc@huawei.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/l391netvl-k5Sf_2mMIEEId3H6c>
Subject: Re: [mpls] Some following questions about ISD
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.39
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, 14 Sep 2023 14:02:50 -0000

I see two problems with your assumption taht we need to define the PSD 
bit so that PSD gets properly proessed.

Let us assume that the WG does conclude at some point that we need PSD.  
That conclusion has not been reached, but for purposes of this email let 
us assume that comes to pass.

the first problem I have with your assumption is the need for ALL nodes 
to understand the presence of PSD.  Any node that does not support PSD 
doesn't need to understand it.  ANy node that has been enhanced to 
support PSD (once we have an agreed definition) will understand whatever 
marker we adopt at that time.  So there is no need to define the 
indicator now.

Second, it is not obvious that a bit is the right way to indicate the 
presence and placement of PSD.  It may be.  It may not be.  At the point 
that we agree we need PSD, we will work out what marker we chose for 
it.   Whereas there is no reason to hold up the current draft while we 
work out a marker for an undefined PSD case.

Yours,

Joel

On 9/13/2023 10:43 PM, Dongjie (Jimmy) wrote:
>
> Hi Greg,
>
> My understanding of the WG poll on ISD vs PSD in June of 2022 (quoted 
> in my latest response to Tony) is that both ISD and PSD are required 
> in the framework, and a specific MNA application may use either one or 
> both of them. Do you agree that is the decision made by the WG?
>
> And here we are talking about the general indication of PSD in the MNA 
> header, which needs to align with the content in the MNA framework.
>
> Making the MNA header format future-proof is good, while since the 
> reserved bits would be ignored by MNA nodes, not defining the PSD bit 
> in the first place may cause problem when behavior other than ignoring 
> is required on MNA nodes which cannot parse PSD in the packet.
>
> Best regards,
>
> Jie
>
> *From:*Greg Mirsky [mailto:gregimirsky@gmail.com]
> *Sent:* Wednesday, September 13, 2023 12:47 PM
> *To:* Dongjie (Jimmy) <jie.dong@huawei.com>
> *Cc:* Tony Li <tony.li@tony.li>; mpls@ietf.org; MPLS Working Group 
> <mpls-chairs@ietf.org>; draft-ietf-mpls-mna-hdr@ietf.org
> *Subject:* Re: [mpls] Some following questions about ISD
>
> Hi Jie,
>
> I believe that in his last note, Tony had answered this question 
> already and I concur with him. In my opinion, the MNA header, that the 
> WG adopted is already, is future-proof. I believe that whether one or 
> more reserved bits should be used to signal the presence of PSD in the 
> packet could be decided if and when the WG agrees that the PSD is 
> required (not possible but required) to support a valid use case that 
> cannot be reasonably supported using ISD MNA.
>
> Regards,
>
> Greg
>
> On Tue, Sep 12, 2023 at 8:35 PM Dongjie (Jimmy) <jie.dong@huawei.com> 
> wrote:
>
>     Hi Greg,
>
>     Please see my reply to Tony on this point:
>
>     “Since PSD is described in the MNA framework draft, it is assumed
>     that it is already part of the framework (and remember the WG poll
>     on it last year). What haven’t got converged yet is for specific
>     applications (e.g. IOAM) whether PSD is needed or not. Then why
>     not making the PSD indicator part of the general MNA header
>     encoding in the beginning? The discussion on per-application
>     choice of ISD vs PSD can continue.”
>
>     We have had several presentations about the PSD use cases in the
>     past interim meetings, and there have been presentations about the
>     limitations of ISD both on the interims and IETF 117 meeting.
>     Maybe all of these need to be documented to facilitate people’s
>     review and also to avoid reiterated arguments.
>
>     Best regards,
>
>     Jie
>
>     *From:*Greg Mirsky [mailto:gregimirsky@gmail.com]
>     *Sent:* Tuesday, September 12, 2023 11:57 PM
>     *To:* Dongjie (Jimmy) <jie.dong@huawei.com>
>     *Cc:* Tony Li <tony.li@tony.li>; mpls@ietf.org; MPLS Working Group
>     <mpls-chairs@ietf.org>; draft-ietf-mpls-mna-hdr@ietf.org
>     *Subject:* Re: [mpls] Some following questions about ISD
>
>     Hi Jie,
>
>     top-posting your comment
>
>     [Jie] The PSD draft specifies the detailed encoding of the PSD
>     information, while whether PSD is needed or not as a part of the
>     MNA solution is described in the framework draft. From this
>     perspective we don’t need to wait until the PSD draft gets
>     adopted, as long as we know PSD would be there anyway, and an
>     indicator for it in the NAS is needed.
>
>     I am unsure that "we know that PSD would be there anyway". As I
>     look at the list of the MNA use cases
>     <https://datatracker.ietf.org/doc/draft-ietf-mpls-mna-usecases/>,
>     I cannot find a single case that cannot be realized using the ISD
>     MNA solution. Am I missing something here?
>
>     Regards,
>
>     Greg
>
>     On Tue, Sep 12, 2023 at 8:36 AM Dongjie (Jimmy)
>     <jie.dong=40huawei.com@dmarc.ietf.org> wrote:
>
>         Hi Tony,
>
>         Thanks for the response. Please see further inline:
>
>         *From:*Tony Li <tony1athome@gmail.com> *On Behalf Of *Tony Li
>         *Sent:* Tuesday, September 12, 2023 1:10 PM
>         *To:* Dongjie (Jimmy) <jie.dong@huawei.com>
>         *Cc:* mpls@ietf.org; MPLS Working Group
>         <mpls-chairs@ietf.org>; draft-ietf-mpls-mna-hdr@ietf.org
>         *Subject:* Re: [mpls] Some following questions about ISD
>
>         Hi Jimmy,
>
>             1.Regarding the RLD, one question is: will RLD be
>             considered in path computation/selection for packets with
>             NAS?
>
>         It should be. One approach is to consider RLD to be a
>         constraint for your path computation engine.
>
>         *[Jie] OK, then in which document should this be specified? *
>
>             For example, if it is known that the size of NAS itself
>             (not counting any forwarding or service labels) already
>             exceeds the RLD of some network nodes, how would the NAS
>             imposing node do?
>
>         Pick another path with a higher RLD. If none exists, then
>         notify management and fail.
>
>         *[Jie] For an ingress node, it could pick another path with a
>         higher RLD. But if it is a transit node which adds new
>         actions, it may not have the right/capability to choose
>         another path. The behavior in this case also needs to be
>         specified. *
>
>             2.Since we are considering duplicating ISDs to accommodate
>             to the RLD limitation, one relevant question is: for a
>             node whose RLD can cover more than one NAS, how many NAS
>             should it parse and process?
>
>         As already defined in the framework document, the node should
>         process only one NAS per scope.
>
>         *[Jie] This means a node needs be able to locate multiple NAS
>         labels in the stack, and parse the corresponding multiple
>         NASes, if they are with different scopes. I**’d suggest to add
>         this to the framework document, as it is a new behavior to
>         MPLS label stack processing. *
>
>             If it needs to parse all the NAS in the RLD, it may find
>             the following NAS are duplicated and this would waste the
>             node’s resource. But if it only parses the first NAS,
>             there may be following NAS with another scope which also
>             need to be processed by this node.
>
>         This is correct. Don’t hide your NASes. ;-)
>
>         The key point here is that a node will only need to process
>         the Select and I2E scope NASes if they have a single label
>         above them.  Thus, you only need to scan to the depth of the
>         first HBH NAS, or the second regular label, whichever is greater.
>
>         *[Jie] This may depend on the order of the HBH NAS and the
>         Select/I2E NAS, for example, can HBH NAS precede an select/I2E
>         NAS due to RLD consideration? I don**’t recall the order of
>         NASes with different scopes has been specified in the
>         framework document or somewhere else. But clearly both the
>         order and the parsing procedure need to be documented if it is
>         no there yet. *
>
>             3.Regarding the reserved bits in the MNA header (, one of
>             the bits has been defined as the indicator of PSD by the
>             PSD draft. But if the ISD draft says the reserved bits
>             “MUST be transmitted as zero and ignored upon receipt”, it
>             will make node unable to identify the existence of PSD in
>             the packet. Since we have already considered that PSD
>             would be needed, it would be better to move the definition
>             of the PSD indicator flag to the ISD draft, so that we can
>             have a relative stable MNA header format in one place.
>
>         As discussed, if we choose to adopt the PSD draft, then it can
>         ‘update’ the ISD draft. This is not a conflict and is the
>         normal way that we make use of reserved bits.
>
>         *[Jie] The PSD draft specifies the detailed encoding of the
>         PSD information, while whether PSD is needed or not as a part
>         of the MNA solution is described in the framework draft. From
>         this perspective we don**’t need to wait until the PSD draft
>         gets adopted, as long as we know PSD would be there anyway,
>         and an indicator for it in the NAS is needed. *
>
>         Best regards,
>
>         Jie
>
>         Tony
>
>         _______________________________________________
>         mpls mailing list
>         mpls@ietf.org
>         https://www.ietf.org/mailman/listinfo/mpls
>
>
> _______________________________________________
> mpls mailing list
> mpls@ietf.org
> https://www.ietf.org/mailman/listinfo/mpls