Re: [mpls] Some following questions about ISD

"Dongjie (Jimmy)" <jie.dong@huawei.com> Thu, 14 September 2023 09:28 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 1DB19C151077; Thu, 14 Sep 2023 02:28:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.903
X-Spam-Level:
X-Spam-Status: No, score=-1.903 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, 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=ham 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 6pfz7oixAFvo; Thu, 14 Sep 2023 02:28:48 -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 8A241C151073; Thu, 14 Sep 2023 02:28:47 -0700 (PDT)
Received: from lhrpeml500003.china.huawei.com (unknown [172.18.147.207]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4RmX5b0B4Bz67DfB; Thu, 14 Sep 2023 17:26:59 +0800 (CST)
Received: from kwepemi500017.china.huawei.com (7.221.188.110) by lhrpeml500003.china.huawei.com (7.191.162.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Thu, 14 Sep 2023 10:28:43 +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; Thu, 14 Sep 2023 17:28:41 +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; Thu, 14 Sep 2023 17:28:41 +0800
From: "Dongjie (Jimmy)" <jie.dong@huawei.com>
To: Greg Mirsky <gregimirsky@gmail.com>
CC: Tony Li <tony.li@tony.li>, "mpls@ietf.org" <mpls@ietf.org>, MPLS Working Group <mpls-chairs@ietf.org>, "draft-ietf-mpls-mna-hdr@ietf.org" <draft-ietf-mpls-mna-hdr@ietf.org>
Thread-Topic: [mpls] Some following questions about ISD
Thread-Index: AdnlIokYDZfJmd6vSRCNurBLJziKr///o6sA//712YCAAb6/AP/+ujoggAIdDAD//hB7MABuI/CA//8oU6A=
Date: Thu, 14 Sep 2023 09:28:41 +0000
Message-ID: <b1f97ab17e05414e8f34f4c4b9b539d8@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> <CA+RyBmVqA6NpPPw9AkTuR3AVDjtQ6A5dbazmMaCcq7wd2kWt+A@mail.gmail.com>
In-Reply-To: <CA+RyBmVqA6NpPPw9AkTuR3AVDjtQ6A5dbazmMaCcq7wd2kWt+A@mail.gmail.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_b1f97ab17e05414e8f34f4c4b9b539d8huaweicom_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/n1hm38ztzgkEG5I91nz0KUkWXIw>
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 09:28:52 -0000

Hi Greg,

Please see inline:

From: Greg Mirsky [mailto:gregimirsky@gmail.com]
Sent: Thursday, September 14, 2023 11:47 AM
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,
thank you for further clarifications. Please find my notes below tagged GIM>>.

Regards,
Greg

On Wed, Sep 13, 2023 at 7:43 PM Dongjie (Jimmy) <jie.dong@huawei.com<mailto:jie.dong@huawei.com>> 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?
GIM>> It is unclear to me what you mean by "both ISD and PSD are required in the framework". The current version of the MNA framework already states:
A solution may optionally carry some data as PSD.
Do you consider this being insufficient and not conforming to the outcome of the WG poll? Do you propose to add or modify the text?


[Jie] Thanks for pointing out this. Since the consensus of the WG poll was:

A packet may carry Ancillary Data using one or both of the following methods:

    (1) in-stack, and

      (2) post-stack.

  It shows the current text in the framework draft has a nit, and some clarification update would be needed.

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.
GIM>> That is where we differ. I don't see you suggesting that the MNA solution MUST specify the presence of PSD as consequential to the text in the MNA framework. I understand that text as a future-proofing of the MNA solution. AFAICS, because the MNA solution has a sufficient number of reserved bits as well as space for new OpCodes, it is future-proof. If and when there's a use case that requires the use of PSD, updating MNA to add the PSD presence is possible (IMHO, indication is the easiest part, PSD disposal should be on the drawing board of the PSD proponents).

[Jie] As I mentioned in below replies, updating the MNA reserved bits with the indicator of PSD later would cause nodes which comply to the first version of the MNA header to ignore the PSD indicator and the existence of any PSD, this may not be the expected behavior.

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.
GIM>> What kind of problems do you foresee? Can you be a bit more specific?

[Jie] For example, if a PSD with select scope is carried in the packet, and the MNA node is required to process the PSD before forwarding the packet further, or the packet should be dropped (the U bit set to 1). But if the MNA node treats the PSD indicator as reserved bits and ignores it, the packet may be forwarded incorrectly.

Hope this helps.

Best regards,
Jie

Best regards,
Jie

From: Greg Mirsky [mailto:gregimirsky@gmail.com<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://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<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