[mpls] Re: Working Group Last Call on draft-ietf-mpls-mna-hdr

Joel Halpern <jmh@joelhalpern.com> Wed, 12 June 2024 13:55 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 1F90FC18DB86 for <mpls@ietfa.amsl.com>; Wed, 12 Jun 2024 06:55:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 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, RCVD_IN_ZEN_BLOCKED_OPENDNS=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
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 WT5PMI3pKBAs for <mpls@ietfa.amsl.com>; Wed, 12 Jun 2024 06:55:07 -0700 (PDT)
Received: from maila2.tigertech.net (maila2.tigertech.net [208.80.4.152]) (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 CBDCDC14F712 for <mpls@ietf.org>; Wed, 12 Jun 2024 06:55:07 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by maila2.tigertech.net (Postfix) with ESMTP id 4Vzn9R2rtVz6G9Cp; Wed, 12 Jun 2024 06:55:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelhalpern.com; s=2.tigertech; t=1718200507; bh=2jpaq8FBEdIajQp5eI7szyyQhNiXPpm0xPC7Z3HiwSU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=V5t6++mA41P/8yFjuPK5wwC/gzW02Xu0cfsgpZDAU0FLp7VVQdfBZsfk8smQp2kYM Iddwqz9SbS1hhk0lYliss9If1YdLTkWy7HO/74SmlnxZg4aVnIR8OnLvSBYicTBHcA CT5K6e69t61eez6XXTlyiBiBOg9H0wnoKNmSGVLs=
X-Quarantine-ID: <rMv_3mPnicWY>
X-Virus-Scanned: Debian amavisd-new at a2.tigertech.net
Received: from [192.168.22.41] (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) server-digest SHA256) (No client certificate requested) by maila2.tigertech.net (Postfix) with ESMTPSA id 4Vzn9Q2CQdz6G7rZ; Wed, 12 Jun 2024 06:55:03 -0700 (PDT)
Content-Type: multipart/alternative; boundary="------------JuHLlnK0xhHrH1IHDL9J0zqd"
Message-ID: <17571b95-7b7d-4097-8869-14c815f2782d@joelhalpern.com>
Date: Wed, 12 Jun 2024 09:55:01 -0400
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: "Dongjie (Jimmy)" <jie.dong@huawei.com>
References: <E4B10F7A-6E4D-46DC-9830-11FF7FD14307@yahoo.com> <db508e17-d107-4cb0-832c-998a2a1b8131@joelhalpern.com> <MN2PR11MB406448E4033A385D9BF0661ED0F92@MN2PR11MB4064.namprd11.prod.outlook.com> <25024a7f878d44088b7070ba7da14702@huawei.com> <MN2PR11MB40642AF6E9AA95FB8020DDEBD0FA2@MN2PR11MB4064.namprd11.prod.outlook.com> <2398d56947d744bfbe99ea6206248ec9@huawei.com> <MN2PR11MB406459208B637FD4516BA662D0FA2@MN2PR11MB4064.namprd11.prod.outlook.com> <701f8ce534d842f38c7ec03939c6a5d5@huawei.com> <MN2PR11MB406410F0FD4FC3C0E3E314C8D0FA2@MN2PR11MB4064.namprd11.prod.outlook.com> <53ef3e878549452d8dd33cde48a14f07@huawei.com>
Content-Language: en-US
From: Joel Halpern <jmh@joelhalpern.com>
In-Reply-To: <53ef3e878549452d8dd33cde48a14f07@huawei.com>
Message-ID-Hash: N6ZP77FBSR4HH2TIPIZ3D65HQZHQMQCM
X-Message-ID-Hash: N6ZP77FBSR4HH2TIPIZ3D65HQZHQMQCM
X-MailFrom: jmh@joelhalpern.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-mpls.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: "mpls@ietf.org" <mpls@ietf.org>, "Zhukeyi(Kaiyin,Datacom Standard&Patent)" <zhukeyi@huawei.com>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [mpls] Re: Working Group Last Call on draft-ietf-mpls-mna-hdr
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/R5zOV2Zv7pownN3s7Wu6RkTY9Dk>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mpls>
List-Help: <mailto:mpls-request@ietf.org?subject=help>
List-Owner: <mailto:mpls-owner@ietf.org>
List-Post: <mailto:mpls@ietf.org>
List-Subscribe: <mailto:mpls-join@ietf.org>
List-Unsubscribe: <mailto:mpls-leave@ietf.org>

It seems Jie that you have a clear model in your head as to how this 
grouping will work and why / when it will save bytes.  While I can make 
guesses, none of them seem to work since a generic grouping seems to 
still require that we specify exactly which opcodes reuse which information.

Separately, there are multiple solutions that can achieve the same 
savings without needing to define a generic container.  As one example, 
suppose we have opcodes C1, C2, and C3 which frequently occur together 
and which all require long ancillary data with the same semantics.  We 
could define in the same draft an opcode C4 with the same semantics as 
C1, and the additional behavior that it retains its data for reuse.  We 
could then define opcodes C5 and C6 with the same semantics as C2 and C3 
except that they are required to follow a C4 and use its retained data 
instead of having a format D of their own.  Whether that is the right 
design I don't know.  It is one of several designs I thought of looking 
at the question you raised.  In fact, different use cases may want 
different specific solutions.  Which is fine.  None of them need to hold 
up the mna-hdr draft as they do not change the base formats.


Yours,

Joel

On 6/12/2024 5:42 AM, Dongjie (Jimmy) wrote:
>
> Hi Jags, Tianran and all,
>
> Regarding the use cases of grouping, section 4 of 
> draft-ietf-mpls-mna-usecases describes the co-existence of multiple 
> MNA use cases (applications) in the same packet, which may require the 
> presence of multiple ancillary data in the packet. If such ancillary 
> data needs to be carried as ISD, the encoding efficiency of ISD needs 
> to be considered.
>
> One example is the coexistence of IOAM and other flow-based actions, 
> such as flow-based load-balancing and PREOF as defined in Detnet. In 
> these applications, the Flow ID and sequence number can be considered 
> as common ancillary data which can be used for multiple actions.
>
> Apparently, carrying Flow ID and/or sequence number multiple times in 
> ISD would cost additional LSEs, and is a waste of the precious ISD 
> space.  In this case, introduce some grouping mechanism for multiple 
> opcodes/actions, and allow the sharing of common ancillary data sounds 
> reasonable to me.
>
> Best regards,
>
> Jie
>
> *From:*Jaganbabu Rajamanickam (jrajaman) 
> [mailto:jrajaman=40cisco.com@dmarc.ietf.org]
> *Sent:* Thursday, June 6, 2024 7:18 PM
> *To:* Tianran Zhou <zhoutianran=40huawei.com@dmarc.ietf.org>; Joel 
> Halpern <jmh@joelhalpern.com>; je_drake@yahoo.com
> *Cc:* mpls@ietf.org; MPLS Working Chairs <mpls-chairs@ietf.org>; 
> draft-ietf-mpls-mna-hdr@ietf.org; Zhukeyi(Kaiyin,Datacom 
> Standard&Patent) <zhukeyi@huawei.com>
> *Subject:* [mpls] Re: Working Group Last Call on draft-ietf-mpls-mna-hdr
>
> Yes, this is per application.
>
> As I mentioned before, I couldn’t see any real application where we 
> need cross application grouping.
>
> Thanx,
>
> Jags
>
> *From: *Tianran Zhou <zhoutianran=40huawei.com@dmarc.ietf.org>
> *Date: *Thursday, June 6, 2024 at 2:03 AM
> *To: *Jaganbabu Rajamanickam (jrajaman) <jrajaman@cisco.com>, Joel 
> Halpern <jmh@joelhalpern.com>, je_drake@yahoo.com <je_drake@yahoo.com>
> *Cc: *mpls@ietf.org <mpls@ietf.org>, MPLS Working Chairs 
> <mpls-chairs@ietf.org>, draft-ietf-mpls-mna-hdr@ietf.org 
> <draft-ietf-mpls-mna-hdr@ietf.org>, Zhukeyi(Kaiyin, Datacom 
> Standard&Patent) <zhukeyi@huawei.com>
> *Subject: *RE: [mpls] Re: Working Group Last Call on 
> draft-ietf-mpls-mna-hdr
>
> Hi Jag,
>
> In your case, if I understand correctly, the application need to know 
> how many actions needed, and predefine/standardize the opcode with for 
> example 4 sub actions (A,B,C,D).
>
> What about other applications? What if an application need 3 sub 
> actions, but are (A, B, *E*)? Where is E?
>
> For option-1, IMHO, you need to define opcode per application. Right?
>
> It’s not scalable.
>
> Tianran
>
> *From:*Jaganbabu Rajamanickam (jrajaman) 
> [mailto:jrajaman=40cisco.com@dmarc.ietf.org 
> <mailto:jrajaman=40cisco.com@dmarc.ietf.org>]
> *Sent:* Thursday, June 6, 2024 9:27 AM
> *To:* Tianran Zhou <zhoutianran@huawei.com>; Joel Halpern 
> <jmh@joelhalpern.com>; je_drake@yahoo.com
> *Cc:* mpls@ietf.org; MPLS Working Chairs <mpls-chairs@ietf.org>; 
> draft-ietf-mpls-mna-hdr@ietf.org; Zhukeyi(Kaiyin,Datacom 
> Standard&Patent) <zhukeyi@huawei.com>
> *Subject:* Re: [mpls] Re: Working Group Last Call on 
> draft-ietf-mpls-mna-hdr
>
> Option-1:
>
> A Single opcode could define their own internal sub-actions as part of 
> their AD and operate on it.
>
> Example: Opcode=10 with AD length as 20 bits
>
>                      The 20 bits AD could be split in to 4 bits 
> sub-actions and 16 bits of AD
>
>                      In this case, we could group four sub-actions and 
> could enable and disable individually.
>
> An application could have multiple network actions, but it might not 
> want to execute all of them. In this case, there is no need to 
> allocate multiple opcodes; a single application opcode could be 
> allocated, and multiple network actions could be encoded as 
> sub-actions within the AD.
>
> For example, if the application allocates the opcode value 10, it 
> could have multiple network actions "A", "B", "C", and "D", which may 
> rely on the same Ancillary Data.
>
> By setting the bits A, B, C, D it could specify the grouping on 
> network actions.
>
> Thanx,
>
> Jags
>
> *From: *Tianran Zhou <zhoutianran=40huawei.com@dmarc.ietf.org>
> *Date: *Wednesday, June 5, 2024 at 9:04 PM
> *To: *Jaganbabu Rajamanickam (jrajaman) <jrajaman@cisco.com>, Joel 
> Halpern <jmh@joelhalpern.com>, je_drake@yahoo.com <je_drake@yahoo.com>
> *Cc: *mpls@ietf.org <mpls@ietf.org>, MPLS Working Chairs 
> <mpls-chairs@ietf.org>, draft-ietf-mpls-mna-hdr@ietf.org 
> <draft-ietf-mpls-mna-hdr@ietf.org>, Zhukeyi(Kaiyin, Datacom 
> Standard&Patent) <zhukeyi@huawei.com>
> *Subject: *RE: [mpls] Re: Working Group Last Call on 
> draft-ietf-mpls-mna-hdr
>
> Looking at existing opcode proposals.
>
> Each opcode is defined by specific atom function.
>
> If there is no such grouping, both option 1 and 2  need a lot of 
> opcode to enumerate all the combinations.
>
> Tianran
>
> *From:*Jaganbabu Rajamanickam (jrajaman) 
> [mailto:jrajaman=40cisco.com@dmarc.ietf.org 
> <mailto:jrajaman=40cisco.com@dmarc.ietf.org>]
> *Sent:* Thursday, June 6, 2024 8:48 AM
> *To:* Tianran Zhou <zhoutianran@huawei.com>; Joel Halpern 
> <jmh@joelhalpern.com>; je_drake@yahoo.com
> *Cc:* mpls@ietf.org; MPLS Working Chairs <mpls-chairs@ietf.org>; 
> draft-ietf-mpls-mna-hdr@ietf.org; Zhukeyi(Kaiyin,Datacom 
> Standard&Patent) <zhukeyi@huawei.com>
> *Subject:* Re: [mpls] Re: Working Group Last Call on 
> draft-ietf-mpls-mna-hdr
>
> I think these grouping should be part of a specific application and 
> not part of generic MNA header solution.
>
> The functionality of the new grouping format mentioned  below could be 
> achieved by the option-1 which I have provided in this email using the 
> current MNA header solution draft.
>
> Also the application that needs grouping should use their own 
> semantics to define whatever they need to achieve.
>
> I couldn’t see any real application use case that may require a new 
> grouping format.
>
> If you have something in your mind please help us to understand.
>
> Thanx,
>
> Jags
>
> *From: *Tianran Zhou <zhoutianran=40huawei.com@dmarc.ietf.org>
> *Date: *Wednesday, June 5, 2024 at 8:25 PM
> *To: *Jaganbabu Rajamanickam (jrajaman) <jrajaman@cisco.com>, Joel 
> Halpern <jmh@joelhalpern.com>, je_drake@yahoo.com <je_drake@yahoo.com>
> *Cc: *mpls@ietf.org <mpls@ietf.org>, MPLS Working Chairs 
> <mpls-chairs@ietf.org>, draft-ietf-mpls-mna-hdr@ietf.org 
> <draft-ietf-mpls-mna-hdr@ietf.org>, Zhukeyi(Kaiyin, Datacom 
> Standard&Patent) <zhukeyi@huawei.com>
> *Subject: *RE: [mpls] Re: Working Group Last Call on 
> draft-ietf-mpls-mna-hdr
>
> I think the new format only need a simple extension to existing mna 
> hdr mechanism.
>
> I can give a reference design for this type C’. It’s just like format C.
>
> GL(group length) indicates the number of LSEs in this group.
>
> If the data is short, I can only use this type C’, as A+B+C’.
>
> It also support A+B+C’+D.
>
> It’s completely  compatible with type C.
>
> Tianran
>
> *From:*Jaganbabu Rajamanickam (jrajaman) 
> [mailto:jrajaman=40cisco.com@dmarc.ietf.org 
> <mailto:jrajaman=40cisco.com@dmarc.ietf.org>]
> *Sent:* Wednesday, June 5, 2024 9:03 PM
> *To:* Joel Halpern <jmh@joelhalpern.com>; Tianran Zhou 
> <zhoutianran@huawei.com>; je_drake@yahoo.com
> *Cc:* mpls@ietf.org; MPLS Working Chairs <mpls-chairs@ietf.org>; 
> draft-ietf-mpls-mna-hdr@ietf.org; Zhukeyi(Kaiyin,Datacom 
> Standard&Patent) <zhukeyi@huawei.com>
> *Subject:* Re: [mpls] Re: Working Group Last Call on 
> draft-ietf-mpls-mna-hdr
>
> I agree with Tony and Joel,
>
> IMO, the grouping may not be required, that could be achieved by the 
> existing MNA hdr solution.
>
> Option-1:
>
> A Single opcode could define their own internal sub-actions as part of 
> their AD and operate on it.
>
> Example: Opcode=10 with AD length as 20 bits
>
> The 20 bits AD could be split in to 4 bits sub-actions and 16 bits of AD
>
> In this case, we could group four sub-actions and could enable and 
> disable individually.
>
> Option-2:
>
> In the worst case a single opcodes could define multiple actions and 
> include a single AD.
>
> Example: Opcode=10, Opcode=11
>
> Could define a new opcode 12, that may execute the network action of 
> 10 and 11 with the same AD
>
> The grouping is going be more complex operations in the forwarding and 
> the same behaviour could be achieved by the above.
>
> Thanx,
>
> Jags
>
> *From: *Joel Halpern <jmh@joelhalpern.com>
> *Date: *Wednesday, June 5, 2024 at 8:39 AM
> *To: *Tianran Zhou <zhoutianran=40huawei.com@dmarc.ietf.org>, 
> je_drake@yahoo.com <je_drake=40yahoo.com@dmarc.ietf.org>
> *Cc: *mpls@ietf.org <mpls@ietf.org>, MPLS Working Chairs 
> <mpls-chairs@ietf.org>, draft-ietf-mpls-mna-hdr@ietf.org 
> <draft-ietf-mpls-mna-hdr@ietf.org>, Zhukeyi(Kaiyin,Datacom 
> Standard&Patent) <zhukeyi@huawei.com>
> *Subject: *Re: [mpls] Re: Working Group Last Call on 
> draft-ietf-mpls-mna-hdr
>
> I can not tell from the descriptions you have posted what change would 
> be applied to the hdr draft.  Just saying "Some type C information can 
> apply to following type C entries" seems so vague that I do not see 
> how an implementor can use that information.  I can see how a specific 
> solution could specify an opcode C1 and a furhter opcode C2 and could 
> say C2 must follow C1 and uses the information from C1.  But that does 
> not need any change to the hdr draft.
>
> Yours,
>
> Joel
>
> On 6/5/2024 8:28 AM, Tianran Zhou wrote:
>
>     I do not really understand your question. Could you please give me
>     more information?
>
>     Let me try to answer. Type c can have data. What l want to do is
>     to reduce the redundant information when there are more than one
>     actions.
>
>     Tianran
>
>     ------------------------------------------------------------------------
>
>
>     Sent from WeLink
>
>     *发**件人:***je_drake@yahoo.com<je_drake=40yahoo.com@dmarc.ietf.org>
>
>     *收件人:***Tianran Zhou<zhoutianran@huawei.com>
>
>     *抄送:***John Drake<je_drake@yahoo.com>;Tarek
>     Saad<tsaad.net@gmail.com>;mpls@ietf.org;MPLS Working
>     Chairs<mpls-chairs@ietf.org>;draft-ietf-mpls-mna-hdr@ietf.org;Zhukeyi(Kaiyin,Datacom
>     Standard&Patent)<zhukeyi@huawei.com>
>
>     *主**题**:***Re: [mpls] Re: Working Group Last Call on
>     draft-ietf-mpls-mna-hdr
>
>     *时间**:***2024-06-05 00:30:48
>
>     You didn’t answer my question
>
>     Sent from my iPhone
>
>         On Jun 4, 2024, at 12:08 PM, Tianran Zhou
>         <zhoutianran=40huawei.com@dmarc.ietf.org>
>         <mailto:zhoutianran=40huawei.com@dmarc.ietf.org> wrote:
>
>         
>
>         Hi John,
>
>         One packet may need multiple actions/opcodes.
>         The group format will indicate several actions can share the
>         same metadata.
>
>         Tianran
>
>         ------------------------------------------------------------------------
>
>
>         Sent from WeLink
>
>         *发**件人:***John Drake<je_drake=40yahoo.com@dmarc.ietf.org>
>
>         *收件人:***Tarek Saad<tsaad.net@gmail.com>;mpls@ietf.org;Tianran
>         Zhou<zhoutianran@huawei.com>
>
>         *抄送:***MPLS Working
>         Chairs<mpls-chairs@ietf.org>;draft-ietf-mpls-mna-hdr@ietf.org;Zhukeyi(Kaiyin,Datacom
>         Standard&Patent)<zhukeyi@huawei.com>
>
>         *主**题**:***Re: [mpls] Re: Working Group Last Call on
>         draft-ietf-mpls-mna-hdr
>
>         *时间**:***2024-06-04 21:36:51
>
>         So, for what are the post opcode bits in each of the
>         subsequent format C LSEs used?
>
>         On Monday, June 3, 2024 at 08:40:12 PM PDT, Tianran Zhou
>         <zhoutianran=40huawei.com@dmarc.ietf.org>
>         <mailto:zhoutianran=40huawei.com@dmarc.ietf.org> wrote:
>
>         Hi WG and Authors,
>
>         This draft proposed the 4 LSE formats with sequence: A-B-C-D.
>
>         I want to propose a new LSE format. Let’s call it C’ temporarily.
>
>         C’ is a kind of group, which can group several C formats.
>
>         So the sequence is A-B-C’-C-D.
>
>         This format can reduce the redundancy of several LSEs.
>
>         For example, if several LSEs have the same flow id, we can
>         just put this flow id at the beginning of the group. And all
>         the following LSEs in this group can use.
>
>         Best,
>
>         Tianran
>
>         *From:*Tarek Saad [mailto:tsaad.net@gmail.com
>         <mailto:tsaad.net@gmail.com>]
>         *Sent:* Tuesday, June 4, 2024 10:50 AM
>         *To:* mpls@ietf.org
>         *Cc:* MPLS Working Chairs <mpls-chairs@ietf.org>
>         <mailto:mpls-chairs@ietf.org>; draft-ietf-mpls-mna-hdr@ietf.org
>         *Subject:* [mpls] Working Group Last Call on
>         draft-ietf-mpls-mna-hdr
>
>         Dear WG,
>
>         This email starts a two-week Working Group last call for
>         draft-ietf-mpls-mna-hdr
>         <https://datatracker.ietf.org/doc/draft-ietf-mpls-mna-hdr/>.
>
>         Please indicate your support or concern for this draft. If you
>         are opposed to the progression of the draft to RFC, please
>         articulate your concern. If you support it, please indicate
>         that you have read the latest version, and it is ready for
>         publication in your opinion. As always, review comments and
>         nits are most welcome.
>
>         Please send your comments to the mpls WG mailing list
>         (mpls@ietf.org)
>
>         If necessary, comments may be sent unidirectional to the WG
>         chairs.
>
>         Note, currently there are 5 IPR disclosures against this
>         document at
>         https://datatracker.ietf.org/ipr/search/?submit=draft&id=draft-ietf-mpls-mna-hdr
>         <https://datatracker.ietf.org/ipr/search/?submit=draft&id=draft-ietf-mpls-mna-hdr>
>
>         This poll runs until June 18, 2024.
>
>         Thank you,
>
>         Tarek (for the MPLS WG co-chairs)
>
>         _______________________________________________
>         mpls mailing list -- mpls@ietf.org
>         To unsubscribe send an email to mpls-leave@ietf.org
>
>         _______________________________________________
>         mpls mailing list -- mpls@ietf.org
>         To unsubscribe send an email to mpls-leave@ietf.org
>
>     _______________________________________________
>
>     mpls mailing list -- mpls@ietf.org
>
>     To unsubscribe send an email to mpls-leave@ietf.org
>