[mpls] Fwd: Notes on draft-jags-mpls-mna-hdr-04

Greg Mirsky <gregimirsky@gmail.com> Thu, 05 January 2023 15:21 UTC

Return-Path: <gregimirsky@gmail.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 9A4D2C14CF19 for <mpls@ietfa.amsl.com>; Thu, 5 Jan 2023 07:21:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.093
X-Spam-Level:
X-Spam-Status: No, score=-2.093 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 (2048-bit key) header.d=gmail.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 J4i8ZUPSxhhM for <mpls@ietfa.amsl.com>; Thu, 5 Jan 2023 07:21:37 -0800 (PST)
Received: from mail-qk1-x72a.google.com (mail-qk1-x72a.google.com [IPv6:2607:f8b0:4864:20::72a]) (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 ietfa.amsl.com (Postfix) with ESMTPS id D195FC14CF14 for <mpls@ietf.org>; Thu, 5 Jan 2023 07:21:37 -0800 (PST)
Received: by mail-qk1-x72a.google.com with SMTP id l1so5962905qkg.11 for <mpls@ietf.org>; Thu, 05 Jan 2023 07:21:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=8nwJHZmai+oAZzNs4XPjyaKcWdXVKdVgocrTOVc7ako=; b=kyL4KL2XXo/jmMfTKjNf+oIlkj5pPQRNc6lwGHofarIFZTscC7SVKhxD+rO0WTsH6E x+JMMNytOm6koYK1nRLyOwKmQqQPavH14GjckRfXMCpQ5fcIyYQrUPokz8SMFdNVXjD+ qz2HSn0ebjKwI49qnE8Q9wsTjtjqYmsYvl2VAv76uUESRZkwKRsmNE/wcTyDWQsdYcfB JU/aPkI+2AR8VWgjXqhf6NkGDtZSdefMLiG+77KUyEmUztrXW/aOis1zN83xt9j/2NyD 9u5qJfHjx8IvshXgLMYtBbvRq0w/7sdM5bGri3SOvgvd5JqzWBK5V/SHFJgRePvR1Drd 4VJA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8nwJHZmai+oAZzNs4XPjyaKcWdXVKdVgocrTOVc7ako=; b=Afa+5WPXKz2Wz7KX1Hh6sZy72nkpUhaQ+5OyoZq1GAUTKIQA0CebvNKEuFnAzhqbRj 9e6rY+l/UU0dJtkIS4N7x/JOUixzfdSKpGCfpjpYSsPHwbDyt9xsDtplvRYk4Xb0crcH H2YpMnsft1KMolMzXUK1aEYZAFxV6qJLuoU7ZYdi//05EOJ0CgjmUBF64bcnE9RIKteB 1ZIYVXqsti4xIvOysEpAB89hCX7a/3wXv4BGR62h6/N5s3b/ipoZb4qHbewJRLZ59IPK FBksL+0pOUP1nZqXHReYQ4u0JWWkw4wA1vcF9dJ1kZi9oc32eQgiFOOuR9Su2DW4cnnE +pqA==
X-Gm-Message-State: AFqh2kp461e4JwGdAvWZ6XLRaI7DM3dK6DmaKonf3F6PrQAY7qT3gt5m Uj37mCJga/tA9aWxTco4Oa3MOBrMCpjbW6jdWKF5Oaf9
X-Google-Smtp-Source: AMrXdXsadll1arTE9mW2d3b/AZWohJqiTBcdd95ascbvFzfvRFQto8y/gM4Az25oYMQZjjUCmCNghFysxLtsDGHBQH8=
X-Received: by 2002:a37:5d4:0:b0:702:5acf:48d0 with SMTP id 203-20020a3705d4000000b007025acf48d0mr2273111qkf.556.1672932096218; Thu, 05 Jan 2023 07:21:36 -0800 (PST)
MIME-Version: 1.0
References: <CA+RyBmX14e=5P6jxpxCm1LYVJZet2bn-OjzXkTSAJ9VGDAZoBw@mail.gmail.com>
In-Reply-To: <CA+RyBmX14e=5P6jxpxCm1LYVJZet2bn-OjzXkTSAJ9VGDAZoBw@mail.gmail.com>
From: Greg Mirsky <gregimirsky@gmail.com>
Date: Thu, 05 Jan 2023 07:21:25 -0800
Message-ID: <CA+RyBmUMp6Zxit=_qnrOCjMAG0uQ5XNwE7A2vCBoZUnviqfZ_w@mail.gmail.com>
To: mpls <mpls@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000541ac705f185dbaf"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/1oCfSQQ0VGB_Dz8YrFmQp7R_Y3I>
Subject: [mpls] Fwd: Notes on draft-jags-mpls-mna-hdr-04
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, 05 Jan 2023 15:21:39 -0000

Happy New Year to All, and apologies for missing sending my notes to the
MPLS WG.

Regards,
Greg

---------- Forwarded message ---------
From: Greg Mirsky <gregimirsky@gmail.com>
Date: Sun, Jan 1, 2023 at 4:06 PM
Subject: Notes on draft-jags-mpls-mna-hdr-04
To: <draft-jags-mpls-mna-hdr@ietf.org>, MPLS Working Group <
mpls-chairs@ietf.org>, <pals@ietf.org>, DetNet WG <detnet@ietf.org>


Dear All,
firstly, many thanks to the draft authors for their dedication and hard
work on this document. I've read the latest version, and below you can find
my notes (and nits):

   - the scope of the draft is characterized in the Abstract as the
   "solution for carrying Network Actions and Ancillary Data in the label
   stack" and as "This document defines the syntax and semantics of network
   actions encoded within an MPLS Label Stack" in the Introduction. That may
   be viewed as excluding handling of a post-stack placing of MNA and AD. In
   particular, how is a PSD-based MNA disposed of (more use cases below)?
   - s/OAM logging/OAM action/?
   - User-defined actions are mentioned twice in the document. Considering
   the extent of the document, a new document documenting user-defined
   actions, their scope, etc., would be a reasonable format. What do you think?
   - Would NASes be a better plural form of NAS?
   - What is the purpose of the Overview section? Could it be merged with
   the Introduction?
   - What could be the practical outcome of this case:

   If the node performing this copy is not

   aware of MNA, this could overwrite the values in the first LSE of the

   MNA sub-stack.


   - As indicated in Section 6.3, Format D may be used to list MAIs without
   ancillary data. If that is the case, then the title of Section 4.4 LSE
   Format D: Additional Ancillary Data seems to not reflect that use case.
   Perhaps removing "ancillary" be acceptable?
   - What could be the reason for the modification of the AD by a transient
   node, as suggested in the second paragraph of Section 5.2? Which use cases
   listed in draft-ietf-mpls-mna-usecases
   <https://datatracker.ietf.org/doc/draft-ietf-mpls-mna-usecases/> (minus
   APN, as the group agreed) requires AD modification by a transient node?
   - Perhaps s/multiple NASs may be/multiple NASs MAY be/?
   - It is not clear what is the scope of the "last copy" in the following
   requirement:

penultimate node MUST NOT remove the last copy of a HBH NAS

Could it be that the "penultimate node MUST NOT remove NAS that includes
MNA of HBH scope"?


   - Could it be that the following requirement restricts how MNAs are
   processed at the egress node:

   An I2E scope NAS MUST be encoded after any HBH or Select scope NASs.

I imagine that some I2E NAS has to be processed by the egress before the
particular HBH NAS. It looks like the requirement prohibits that.


   - The following text defines the interpretation of O-bit being set:

   If the 'O' bit is set in a Format B LSE (Section 4.2) then it
   indicates that the network actions encoded in the NAS MUST be
   processed in the order that they appear in the NAS, from the top of
   the NAS to the bottom.

Is there a particular interpretation of the case when the O bit is cleared?
If there is no particular order of processing NASes, perhaps there is no
practical need for the O bit, and the processing rule can be defined as the
general requirement?


   - It seems like Opcode == 1 is intended, at least partially, to handle
   PSD MNA for non-IP payload, i.e., PW. I am not sure that encoding PSD as
   part of the PW payload is the best option.
   - A couple of questions on Flag based NAIs with AD (Opcode == 3):
      - Can the same Format C's LSE combine NAI and associated AD?
      - Can the same Format D's LSE be used to list additional NAIs as well
      as associated AD?
      - Consider that Format D's LSEs are used to encode ancillary data for
      a number of NAIs. Can a node that supports only some of these NAIs find
      ancillary data for NAIs it does support if there's no uniform format for
      the ISD-based AD?
   - Could MNA be used in an LDP-based IP/MPLS network, as it is excluded
   from mentioning in the text?
   - What constitutes the "entire NAS" that is mentioned in Section 7? AS I
   understand it, NAS is defined as a sequence of LSE following a new bSPL:

   In stack actions and ancillary data are contained in a
   Network Action Sub-Stack (NAS), which is recognized by a new base
   Special Purpose Label (bSPL) (value TBA).

Furthermore, multiple NASes may be used to signal specific ordering of
NAIs. If that is the case, then what is the  "entire NAS"?


   - Some questions about the Select scope of NAS.
      - What are the restrictions of using the Select scope in NAS? For
      example. is the Select scope associated with only ISD or PSD or
both types
      may be used in the same NAS?
      - Furthermore, if HBH and Select scopes are used in subsequent NASes,
      then is there a recommended order similar to the requirement in
Section 5.3
      for I2E?
   - In Section 9.1 seems like s/each LSP/each LSE/ is needed.
   - Is the following requirement equally apply to the ISD- and PSD-located
   ancillary data:

   A transit node MAY change the Ancillary Data found in the least
   significant 8 bits of an LSE.


   - In Section 10, it seems like "must" and "should" need to be
   capitalized.
   - It seems like captions for Table 4 and Table 5 need to be swapped.
   Also, if the initial allocation in the "Network Action Flags Without
   Ancillary Data" registry is 0-469, it seems logical to do the same for the
   "Network Action Flags With Ancillary Data" regstry.

And here are some questions about use cases. Pleased let me know if any of
them is real or I'm way off:

   - As I understand it, MNA can be used in SR-MPLS. In that case, multiple
   NASes may be present in the label stack. Since I couldn't find any
   restrictions for use of multiple NASes, these might be different, i.e.,
   include different NAI and/or different ADs. Is that right?
   - Also, for the SR-MPLS case that uses PSD. Would there be a single PSD
   or a copy for every ISD NAS?
   - If there's a single PSD for all NASes in the stack, which node must
   remove the PSD?
   - If there the PSD is per NAS then the node that disposes of NAS must
   remove corresponding PSD. Right? But that might affect the offset from BoS
   for remaining PSD.

Thank you for your kind consideration of my notes and questions. Looking
forward for our discussion.

Happy New Year and Best Wishes to All!

Regards,
Greg