Re: [Last-Call] Tsvart last call review of draft-ietf-sfc-multi-layer-oam-23

Greg Mirsky <gregimirsky@gmail.com> Tue, 23 May 2023 03:07 UTC

Return-Path: <gregimirsky@gmail.com>
X-Original-To: last-call@ietfa.amsl.com
Delivered-To: last-call@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E3F0BC14CE42; Mon, 22 May 2023 20:07:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.985
X-Spam-Level:
X-Spam-Status: No, score=-1.985 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, HTML_TAG_BALANCE_BODY=0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_HTML_ATTACH=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 (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 8dL3jIK9ChyN; Mon, 22 May 2023 20:07:32 -0700 (PDT)
Received: from mail-yw1-x1129.google.com (mail-yw1-x1129.google.com [IPv6:2607:f8b0:4864:20::1129]) (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 0331BC14CEF9; Mon, 22 May 2023 20:07:31 -0700 (PDT)
Received: by mail-yw1-x1129.google.com with SMTP id 00721157ae682-5619032c026so87971817b3.1; Mon, 22 May 2023 20:07:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684811251; x=1687403251; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=bZg0d5x6ThIZk02sOUIc0RPH8c1D2pjPFtuTmcwzdrg=; b=DYBgnZ3hf+k2L991hfNj6Qly2fdMsEOc0KIvxH9pL8zvDlz5+DOhaRtQemUInkdfJT T+/QITBbBiJKyhCog7ZsCAOTUisNP3pMdCXvWEzNUb5HzGpqxLPUrBoP166tlVrMYJxj N8kaV4T831JJtCgQdlrGaxTgskLlUJ3C+vDTyGVrFKDX2k9Qthw45z05xMEKonSqfU0w l1EiFS1ZEzMRaf9xlBGFHOF/Z5k7oU7DXCJNvCdc9OoyAAYY8S4P/dqobVAUR7kXZBPe DKsvdfJYO97RJfDsKpL8PLE+wNTKx5U7rRCrG1U3OGw4tYuX76nNWPhrxpPGGJWagJoL wq7Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684811251; x=1687403251; h=cc: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=bZg0d5x6ThIZk02sOUIc0RPH8c1D2pjPFtuTmcwzdrg=; b=lOfVsJA6fU9SIwvQKNhdlJYGLsqnPprzPR3Bdyr/ECotVvVtToYVu5yG/XXfxvi2W9 ryk2mvZvuwpDW4tvjtGZWnKsce8KBXrzFoC3QzbZhCEcdRhL/LVkcBgDzwS5C2PngUP+ ToCfZn9RLVdjYrm9xoSKea6zZ7jmG7Ya5bpXteZmnX1++/WsuyvygabRRnPlZyC/ZxO9 ZzsWDww6t1glVI3oHFJ7+gkzRS31YODeeQMrdhGbX8rMSJ1kteGB9AmMdLA78Kj94M3o Sz3o1X95GCtZiEoyzJts1mgZ3LKSMyZQxn59I+yGxJTblRODvdv7LGFrxKrhtpPw1cbD uwLQ==
X-Gm-Message-State: AC+VfDzjkgEeK82jRsyaXc26wwm6w/NIff+w1LS+9lvmsvh35nAoqVXO CgqpuSWe7G4HhVks12dTwJER8f2tqWrYB6wsk2QhsEJkmZk=
X-Google-Smtp-Source: ACHHUZ6/Kv74x6DWjl8tdnmv6OrJgUx60rGqk7oBnmn7YpuGigQ2pwcHzJqM98hO0MgJft1G4qMWTVGVcvfuG0tuZ4E=
X-Received: by 2002:a0d:d105:0:b0:559:ed0a:96c4 with SMTP id t5-20020a0dd105000000b00559ed0a96c4mr12723761ywd.44.1684811249768; Mon, 22 May 2023 20:07:29 -0700 (PDT)
MIME-Version: 1.0
References: <168474763785.26177.372039134036115277@ietfa.amsl.com>
In-Reply-To: <168474763785.26177.372039134036115277@ietfa.amsl.com>
From: Greg Mirsky <gregimirsky@gmail.com>
Date: Mon, 22 May 2023 20:07:18 -0700
Message-ID: <CA+RyBmUogYrUr0G1YCx-uBgu7V4Tra9DphWhZfY8y4gsxjSJww@mail.gmail.com>
To: Olivier Bonaventure <Olivier.Bonaventure@uclouvain.be>
Cc: tsv-art@ietf.org, draft-ietf-sfc-multi-layer-oam.all@ietf.org, last-call@ietf.org, sfc@ietf.org
Content-Type: multipart/mixed; boundary="0000000000000e8e7d05fc53b02a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/last-call/Pn36BCYp2H4ua7g5hedRtIKn-5w>
Subject: Re: [Last-Call] Tsvart last call review of draft-ietf-sfc-multi-layer-oam-23
X-BeenThere: last-call@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: IETF Last Calls <last-call.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/last-call>, <mailto:last-call-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/last-call/>
List-Post: <mailto:last-call@ietf.org>
List-Help: <mailto:last-call-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/last-call>, <mailto:last-call-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2023 03:07:37 -0000

Hi Oliver,
I greatly appreciate your thoughtful questions and comments. Please find my
notes inline below tagged with GIM>>. Also, attached are the diff and the
new working version (please note that updates reflect discussions
with reviewers from RtgDir and TsvArt).

Regards,
Greg

On Mon, May 22, 2023 at 2:27 AM Olivier Bonaventure via Datatracker <
noreply@ietf.org> wrote:

> Reviewer: Olivier Bonaventure
> Review result: Ready with Nits
>
> This document has been reviewed as part of the transport area review team's
> ongoing effort to review key IETF documents. These comments were written
> primarily for the transport area directors, but are copied to the
> document's
> authors and WG to allow them to address any issues raised and also to the
> IETF
> discussion list for information.
>
> When done at the time of IETF Last Call, the authors should consider this
> review as part of the last-call comments they receive. Please always CC
> tsv-art@ietf.org if you reply to or forward this review.
>
> This review looked specifically at the transport related issues. The
> reviewer
> did not find any specific transport issue beyond those related to the base
> SFC
> and NSH specification. However, while reading the document, there are some
> parts which could be clearer.
>
> Section 5. It is a bit strange to have a version number in the SFC OAM
> control
> packet and then again a version number in the Echo message. I failed to
> see the
> rationale for these two levels of version numbers.
>
GIM>> Figure 2 displays the SFC Active OAM Header with its versioning. In
fact, this header can be used as SFC NSH Associated Channel Header, similar
to one defined for PW in RFC 5085 <https://www.rfc-editor.org/rfc/rfc5085>.
It is possible that a different format of this header could be defined in
the future (similar to DetNet MPLS d-ACH using ACH's versioning mechanism).
Would re-naming Figure 2 be helpful?
Figure 3 displays the SFC Echo Request/Reply message with its versioning
mechanism that could be helpful if a new format of the message is defined.

>
> In Figure 2, there is a set of 8 bits Flags which is indicated, but no
> flag is
> defined. Why not simply indicating that this field is reserved (must be
> zero
> when transmitted and ignored on reception) ?
>
GIM>> Thank you for the suggestion. Accepted. As a result of this change, I
removed the request for IANA to create in the SFC Active OAM Registry the
sub-registry SFC Active OAM Flags.

>
> In Figure 3, the sequence number is encoded in 32 bits, but the document
> does
> not specify that it contains an unsigned integer that wraps around. This
> should
> be indicated since the initial sequence number must be pseudo randomly
> generated.
>
GIM>>  Thank you for the suggestion. I updated the text as follows:
OLD TEXT:
      The Sequence Number is a four-octet field, and it is assigned by
      the sender and can be, for example, used to detect missed replies.
      The initial Sequence Number MUST be pseudo-randomly generated
      [RFC4086] and then SHOULD be monotonically increasing in the
      course of the test session.
NEW TEXT:
      The Sequence Number is a four-octet field, and it is assigned by
      the sender and can be, for example, used to detect missed replies.
      The initial Sequence Number contains an unsigned integer that
      wraps around.  It MUST be pseudo-randomly generated [RFC4086] and
      then SHOULD be monotonically increasing in the course of the test
      session.
I that acceptable?

>
> In Figure 3, the role of the Echo requests flags is unclear.
>
GIM>> Updated the definition of the Echo Request Flags field as follows:
      The Echo Request Flags is a two-octet bit vector field.
      Section 10.3.1 requests IANA to create a new registry for flags.
      This specification defines all flags for future use.  Flags
      MUST be zeroed on transmission and ignored on receipt.

>
> Figure 4 shows that the SFC Echo Rquest/Reply TLV as a multiple of 32
> bits. Is
> this a requirement (all TLV must end at 32 bits boundaries or not) ? This
> is
> not clear from the text.
>
GIM>> Thank you for pointing that out. Added a note about the four-octet
alignment. I hope it is clearer now:

TLV is a variable-length construct whose length is multiple of four-octet
words.
Multiple TLVs MAY be placed in an SFC Echo Request/Reply packet. None,
one or more sub-TLVs may be enclosed in the value part of a TLV, subject to
the semantics of the (outer) TLV.


> If the Source TLV is used, it is not clear from the document how the
> return UDP
> packet will be composed and what information it will contain. An example
> could
> be useful.
>
GIM>> Would the following update make the description more helpful:
OLD TEXT:
    A single Source ID TLV for each address family, i.e., IPv4 and IPv6,
   MAY be present in an SFC Echo Request message.  If the Source TLVs
   for both address families are present in an SFC Echo Request message,
   the SFF MUST NOT replicate an SFC Echo Reply but choose the
   destination IP address for the one SFC Echo Reply it sends based on
   the local policy.  The value of the Port Number field MUST be used as
   the destination UDP port number in the IP/UDP encapsulation of the
   SFC Echo Reply message.  If more than one Source ID TLV per the
   address family is present, the receiver MUST use the first TLV and
   ignore the rest.
NEW TEXT:

   A single Source ID TLV for each address family, i.e., IPv4 and IPv6,
   MAY be present in an SFC Echo Request message.  If the Source TLVs
   for both address families are present in an SFC Echo Request message,
   the SFF MUST NOT replicate an SFC Echo Reply but choose the
   destination IP address for the one SFC Echo Reply it sends based on
   the local policy.  The source IP address used in the IP/UDP
   encapsulation of SFC Echo Reply is one of the IP addresses associated
   with the responder.  The value of the Port Number field MUST be used
   as the destination UDP port number in the IP/UDP encapsulation of the
   SFC Echo Reply message.  The responder selects the source UDP port
   number from the dynamic range of port numbers.  If more than one
   Source ID TLV per the address family is present, the receiver MUST
   use the first TLV and ignore the rest.  The Echo Reply message,
   including relevant TLVs, follows the IP/UDP headers immediately.