[ippm] Comments on draft-ietf-ippm-stamp-yang-11

Rakesh Gandhi <rgandhi.ietf@gmail.com> Fri, 13 October 2023 15:55 UTC

Return-Path: <rgandhi.ietf@gmail.com>
X-Original-To: ippm@ietfa.amsl.com
Delivered-To: ippm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3E895C15108B; Fri, 13 Oct 2023 08:55:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.104
X-Spam-Level:
X-Spam-Status: No, score=-2.104 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_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
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 OZwF0R1gAkb1; Fri, 13 Oct 2023 08:55:49 -0700 (PDT)
Received: from mail-oi1-x235.google.com (mail-oi1-x235.google.com [IPv6:2607:f8b0:4864:20::235]) (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 7824DC151072; Fri, 13 Oct 2023 08:55:49 -0700 (PDT)
Received: by mail-oi1-x235.google.com with SMTP id 5614622812f47-3af6bd48093so1456181b6e.3; Fri, 13 Oct 2023 08:55:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697212548; x=1697817348; darn=ietf.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=GGMpilOO2cN69tkIjoOui+bIelNWZiFmPehw9QKfXbg=; b=bJsishp5vq+Ev6UaXGJOJs/FmYaPMIubQjoiC8aIZeIoKhe+JvffSn0eSVzCgzkc83 0Ef6FYkUObNN3QnLvGa//mf6gYZ2NfNegxLggp3Bvnt22e81wEKX3fmL+jbLlQkM+IGy 9/hp1yr2su7Z2JILP7Y5yfOXNEJ6VGPn9gXRKrIY8npA7diOy2UUIWXNk4Q7lq4fNZ5r J5o9PXVPK7WOIweVFyPfdqd/2IXbNa7CiCE8cAikxUGPsY56y8YNig0u5AEUS0cpNbBw SuX7TyBH2/sJOMuwaqZ8cRY2O8y+K6596stA1diEPxTE8AFfUm6AA2PEGWdnpRUsAZbN 4keQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697212548; x=1697817348; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=GGMpilOO2cN69tkIjoOui+bIelNWZiFmPehw9QKfXbg=; b=MoO+JDsOv1Y3/quWP2rYbKeP4GfuQgxqMlR5g6OqkeM7JCiKgE9mMFbrxx47TYmIMb eatIQlqbsW5Ph4fW3Oy2IzUz9hvj6yF1hULMkWSXMXmP5gPWitaSkfywFlyEae3tA9YR 0v9Xayhu4CToVtAYjnQ8GURW7O865TxypUS517MV5EuM8T19X3FFFHY689/UGcgzbKYq YHQJ5bIRcpjjrmspvuSiz9RxPilgXoGKaH6tcFAghH2zoTK38H6tLBi07qGsBHJRFAVY HKSeWh2xNJ7ujlnn3vG8Qq/zWZfV9iDJ8HqhbVxTBfRYM6+Q66HAYRkjJE+3mh9KVuCk 2uCQ==
X-Gm-Message-State: AOJu0Ywy66Ear3H0vhMFL2KzfmVI0CL4TbkHoYChS4lSEl+ErgAiam5l 5B4xS3xpDXQ4RNVddGmOzvMLHCwRJW6sYEW9WzFAGIMb18YWkEE=
X-Google-Smtp-Source: AGHT+IFqfNRhJ2dk+tr1NwN7vDEqfHAXZHq00zeTWlujUasNrcVOvr2le9JA1VIME8JOO3UW1vYmcCMYP0RUhEivCqY=
X-Received: by 2002:a05:6808:1484:b0:3a9:ea90:5901 with SMTP id e4-20020a056808148400b003a9ea905901mr34526786oiw.56.1697212548348; Fri, 13 Oct 2023 08:55:48 -0700 (PDT)
MIME-Version: 1.0
From: Rakesh Gandhi <rgandhi.ietf@gmail.com>
Date: Fri, 13 Oct 2023 11:55:37 -0400
Message-ID: <CAMZsk6c802i-yvLArbXViZ5DGbgwoy_Tp+0r6StukGfud6n0aw@mail.gmail.com>
To: draft-ietf-ippm-stamp-yang@ietf.org, IETF IPPM WG <ippm@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000000d7e3f06079b17ea"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ippm/aZPcRO3FRNVr_MXiIDkhlzwQyh8>
Subject: [ippm] Comments on draft-ietf-ippm-stamp-yang-11
X-BeenThere: ippm@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: IETF IP Performance Metrics Working Group <ippm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ippm>, <mailto:ippm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ippm/>
List-Post: <mailto:ippm@ietf.org>
List-Help: <mailto:ippm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ippm>, <mailto:ippm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Oct 2023 15:55:53 -0000

Hello authors,

I hope you find the following comments on this draft useful.

https://www.ietf.org/archive/id/draft-ietf-ippm-stamp-yang-11.html

thanks,
Rakesh


--------------------------------------------------------------------------

   - Session id union or unit16?

 Sender

    |  |     +--rw stamp-session-id                union



Reflector

  +--rw stamp-session-id                    uint16

--------------------------------------------------------------------------

   - STAMP test packets may be used in a VRF.
   - vrf-id field in the config and state model

--------------------------------------------------------------------------

More so, to test processing of Class-of-Service along the same route in
Equal Cost Multi-Path environment Session-Sender may perform STAMP test
sessions concurrently using the same source IP address, source UDP port
number, destination IP address, and destination UDP port number. Thus the
only parameter that can be used to differentiate these test sessions would
be DSCP value.



   - IPv6 Flow-label is used for ECMP hash.
   - FL field in config and state model



    |  |  +--rw sender-test-session* [session-sender-ip

    |  |        session-sender-udp-port session-reflector-ip

    |  |        session-reflector-udp-port dscp-value]



   - >> Add IPv6 Flow-label in above?
   - >> Add VRF-ID in above?

--------------------------------------------------------------------------

   - Anomaly threshold for delay (micro-sec value) and loss (percentage
   loss). -> For example, it can be used to trigger telemetry events.
   - config model for threshold
   - Anomaly flag in state

--------------------------------------------------------------------------

   - Reflector state model - packet counts –> incoming interface identifier
   might be useful
   - interface identifier in state model

--------------------------------------------------------------------------

   - Session name in text. Could be internal name or user configured name.
   I see the TWAMP Yang model has this and I think it is useful.
   - session name in config and state model

--------------------------------------------------------------------------

Could we have the same range for UDP port for sender port (except 862)?



FYI, there was some discussions for TWAMP yang:

https://mailarchive.ietf.org/arch/msg/ippm/FdaEPf4Z4nczS4swJxPO0YhK6iE/



  leaf session-sender-udp-port {

    type inet:port-number {

      range "49152..65535";





      leaf reflector-udp-port {

        type inet:port-number{

          range "862 | 1024..49151 | 49152..65535";



--------------------------------------------------------------------------

Could current stats and history stats be available on “stateful” reflector?

       |     +--ro current-stats

--------------------------------------------------------------------------

RPC: Typo?

          +---w stamp-stamp-session-id    uint16



Could be stamp-session-id uint16

--------------------------------------------------------------------------

Does failed or error state make sense, for example, to indicate that
packets are sent but not received back?



      leaf sender-session-state {

        type enumeration {

          enum active {

            description "Test session is active";

          }

          enum ready {

            description "Test session is idle";

          }

        }

        description

          "State of the particular STAMP test

          session at the sender";

      }



--------------------------------------------------------------------------

It is not clear how the wait timer would be used in the STAMP protocol,
stop reflecting packets after timeout?

    leaf ref-wait {

      type uint32 {

        range 1..604800;

      }

      units seconds;

      default 900;

      description

        "REFWAIT(STAMP test session timeout in seconds),

        the default value is 900";

    }

--------------------------------------------------------------------------

I think security considerations from RFC8762 would apply to this document.

--------------------------------------------------------------------------

I do not see feature definitions for any tlv used in the model. E.g.,

feature hmac-tlv



Section 1 seems to indicate TLVs for the future. Is this in the scope of
this draft?

                    The defined STAMP data model can be augmented to
include STAMP extensions, for example, described in [RFC8972
<https://www.rfc-editor.org/info/rfc8972>].

--------------------------------------------------------------------------