Re: [mpls] Some following questions about ISD

"Dongjie (Jimmy)" <jie.dong@huawei.com> Fri, 15 September 2023 08:37 UTC

Return-Path: <jie.dong@huawei.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 9D4E5C14F747 for <mpls@ietfa.amsl.com>; Fri, 15 Sep 2023 01:37:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.803
X-Spam-Level:
X-Spam-Status: No, score=-1.803 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
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 olaSnh2VfW-D for <mpls@ietfa.amsl.com>; Fri, 15 Sep 2023 01:37:08 -0700 (PDT)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 69664C14CEFE for <mpls@ietf.org>; Fri, 15 Sep 2023 01:37:07 -0700 (PDT)
Received: from lhrpeml500002.china.huawei.com (unknown [172.18.147.226]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Rn6vT4c1Dz6D8cV for <mpls@ietf.org>; Fri, 15 Sep 2023 16:35:17 +0800 (CST)
Received: from kwepemi500017.china.huawei.com (7.221.188.110) by lhrpeml500002.china.huawei.com (7.191.160.78) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Fri, 15 Sep 2023 09:37:04 +0100
Received: from kwepemi500017.china.huawei.com (7.221.188.110) by kwepemi500017.china.huawei.com (7.221.188.110) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Fri, 15 Sep 2023 16:37:03 +0800
Received: from kwepemi500017.china.huawei.com ([7.221.188.110]) by kwepemi500017.china.huawei.com ([7.221.188.110]) with mapi id 15.01.2507.031; Fri, 15 Sep 2023 16:37:03 +0800
From: "Dongjie (Jimmy)" <jie.dong@huawei.com>
To: John E Drake <jdrake=40juniper.net@dmarc.ietf.org>, Joel Halpern <jmh@joelhalpern.com>, Greg Mirsky <gregimirsky@gmail.com>
CC: "mpls@ietf.org" <mpls@ietf.org>
Thread-Topic: [mpls] Some following questions about ISD
Thread-Index: AdnlIokYDZfJmd6vSRCNurBLJziKr///o6sA//712YCAAb6/AP/+ujoggAIdDAD//hB7MACDoeUAAAFj1wD//lEFAA==
Date: Fri, 15 Sep 2023 08:37:02 +0000
Message-ID: <120e71330cfb409c8f40ccf15e6cf8c5@huawei.com>
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> <e3ea4292-93f0-af5b-8e12-fb995ea73f9e@joelhalpern.com> <DM4PR05MB9536A4A3502C49941F66CBCBC7F7A@DM4PR05MB9536.namprd05.prod.outlook.com>
In-Reply-To: <DM4PR05MB9536A4A3502C49941F66CBCBC7F7A@DM4PR05MB9536.namprd05.prod.outlook.com>
Accept-Language: en-US, zh-CN
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.112.40.66]
Content-Type: multipart/alternative; boundary="_000_120e71330cfb409c8f40ccf15e6cf8c5huaweicom_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/C-EauqiIguY0c8-19bdtNY0VYA4>
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: Fri, 15 Sep 2023 08:37:11 -0000

Hi John,

Please see inline:

From: John E Drake [mailto:jdrake=40juniper.net@dmarc.ietf.org]
Sent: Thursday, September 14, 2023 10:43 PM
To: Joel Halpern <jmh@joelhalpern.com>; Dongjie (Jimmy) <jie.dong@huawei.com>; Greg Mirsky <gregimirsky@gmail.com>
Cc: mpls@ietf.org
Subject: RE: [mpls] Some following questions about ISD

Hi,

Comment inline.

Yours Irrespectively,

John



Juniper Business Use Only
From: mpls <mpls-bounces@ietf.org<mailto:mpls-bounces@ietf.org>> On Behalf Of Joel Halpern
Sent: Thursday, September 14, 2023 10:03 AM
To: Dongjie (Jimmy) <jie.dong=40huawei.com@dmarc.ietf.org<mailto:jie.dong=40huawei.com@dmarc.ietf.org>>; Greg Mirsky <gregimirsky@gmail.com<mailto:gregimirsky@gmail.com>>
Cc: mpls@ietf.org<mailto:mpls@ietf.org>
Subject: Re: [mpls] Some following questions about ISD

[External Email. Be cautious of content]


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.

[JD]   Correct.  The Sub-stack draft initially had a post-stack MNA offset opcode.  If we brought it back and allowed a value of zero, we would not need a bit

[Jie] This PSD offset opcode is now specified in the mpls-ps-mna-hdr draft. Currently it says:

   “In the absence of this opcode, the Post-Stack Network Action is encoded immediately after the MPLS BOS”.

IMO this helps to improve the ISD encoding efficiency when PSD offset is zero. If we remove the P bit and allows the an offset value of zero, it means the PSD indicator will always occupy one LSE in the NAS.

Best regards,

Jie

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><mailto:jie.dong@huawei.com>
Cc: Tony Li <tony.li@tony.li><mailto:tony.li@tony.li>; mpls@ietf.org<mailto:mpls@ietf.org>; MPLS Working Group <mpls-chairs@ietf.org><mailto:mpls-chairs@ietf.org>; draft-ietf-mpls-mna-hdr@ietf.org<mailto: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<mailto: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<mailto:gregimirsky@gmail.com>]
Sent: Tuesday, September 12, 2023 11:57 PM
To: Dongjie (Jimmy) <jie.dong@huawei.com<mailto:jie.dong@huawei.com>>
Cc: Tony Li <tony.li@tony.li<mailto:tony.li@tony.li>>; mpls@ietf.org<mailto:mpls@ietf.org>; MPLS Working Group <mpls-chairs@ietf.org<mailto:mpls-chairs@ietf.org>>; draft-ietf-mpls-mna-hdr@ietf.org<mailto: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://urldefense.com/v3/__https:/datatracker.ietf.org/doc/draft-ietf-mpls-mna-usecases/__;!!NEt6yMaO-gk!DhopefDoBxI7JKu--ZjvHWAmj7VHH7eVzRgHZB9wNjNqMf4OLELL2yylC7mW9UF9VfbAdxN_HU29edM$>, 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<mailto:40huawei.com@dmarc.ietf.org>> wrote:
Hi Tony,

Thanks for the response. Please see further inline:

From: Tony Li <tony1athome@gmail.com<mailto:tony1athome@gmail.com>> On Behalf Of Tony Li
Sent: Tuesday, September 12, 2023 1:10 PM
To: Dongjie (Jimmy) <jie.dong@huawei.com<mailto:jie.dong@huawei.com>>
Cc: mpls@ietf.org<mailto:mpls@ietf.org>; MPLS Working Group <mpls-chairs@ietf.org<mailto:mpls-chairs@ietf.org>>; draft-ietf-mpls-mna-hdr@ietf.org<mailto: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<mailto:mpls@ietf.org>
https://www.ietf.org/mailman/listinfo/mpls<https://urldefense.com/v3/__https:/www.ietf.org/mailman/listinfo/mpls__;!!NEt6yMaO-gk!DhopefDoBxI7JKu--ZjvHWAmj7VHH7eVzRgHZB9wNjNqMf4OLELL2yylC7mW9UF9VfbAdxN_HSljsGs$>


_______________________________________________

mpls mailing list

mpls@ietf.org<mailto:mpls@ietf.org>

https://www.ietf.org/mailman/listinfo/mpls<https://urldefense.com/v3/__https:/www.ietf.org/mailman/listinfo/mpls__;!!NEt6yMaO-gk!DhopefDoBxI7JKu--ZjvHWAmj7VHH7eVzRgHZB9wNjNqMf4OLELL2yylC7mW9UF9VfbAdxN_HSljsGs$>