[mpls] Re: Poll: IOAM and PSD

Greg Mirsky <gregimirsky@gmail.com> Sun, 11 August 2024 22:53 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 9678CC14F5F5 for <mpls@ietfa.amsl.com>; Sun, 11 Aug 2024 15:53:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.105
X-Spam-Level:
X-Spam-Status: No, score=-2.105 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_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-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 jPjb_LSgQa3d for <mpls@ietfa.amsl.com>; Sun, 11 Aug 2024 15:53:26 -0700 (PDT)
Received: from mail-oo1-xc2d.google.com (mail-oo1-xc2d.google.com [IPv6:2607:f8b0:4864:20::c2d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A180DC14F5F3 for <mpls@ietf.org>; Sun, 11 Aug 2024 15:53:26 -0700 (PDT)
Received: by mail-oo1-xc2d.google.com with SMTP id 006d021491bc7-5d5e97b8a22so2174489eaf.2 for <mpls@ietf.org>; Sun, 11 Aug 2024 15:53:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723416806; x=1724021606; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=VEjIhQFPHQ3heXmkPgd5/Xr8pYnZDAzRNEfQkxvwFSY=; b=E610vBKjNLOAEvvu8z+D3mS3dzflmLzoPcVlKig7Be6jXzTwNWfYESPHvmzNCAOl7X a1w0fs2BssHZHah2/Ar2ET6SSJsESLF4SJ8cf1ZxvAhJMETSjs6je/VQdkPbdLi4NLRl ZwxF97YBQIiK0sZjxQEoTb7QnjXz/unm51lGgYY6EzYRGpS/ymudIqje/Xz00PwpzzkF EA5qrOaaqAq52nNST6XyBhm0ptFOypFleb7OqHFd7OOVVUSOUZUxEqd9KOWhcAR/QcBu /YeIZ8d68OAuzAos0jSuEos8p2IO89ELRnjMQPzT3VzuFnxRpvNO+/AyUg12u5Fikn7Y q3Fw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723416806; x=1724021606; 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=VEjIhQFPHQ3heXmkPgd5/Xr8pYnZDAzRNEfQkxvwFSY=; b=NVdb2ZbNUYgoxfORkosFwHhbVaKNAZUETdOpThUVLUi09gUTkeHCz/moU/KvCU1NV5 3d13TsVr4IJB3Hck9hx01xfT9afImc9f+aDgKLzH9sGa9pjVyCcuv2I/t5aRvUS3SWpo pJbiRrGvohyo5b1kr3IPN6L/Mnvf9Pth+DtNsZokf+99widoOfZcDz8EHVVNGsup9Ju4 piIAkap4p4URb8nxJX12Wg5BVOOyUw5d5xTVrSjrMcDlISbZytLI3/zQanVzCuzCh2PQ ynTY8ikMMYjfOIPJ9WuFO2pkRTF3sMV6u6oqNTyi+3WywR6P1roV8q/EooGqO4Xn+fBD 59kg==
X-Forwarded-Encrypted: i=1; AJvYcCXfzwX03Paeym8cUbNz8JfW4M1jLvZHoSYlfUxAwFQ9QZ0shQ6LD4GR44xYG86omcUZACQnuRxosLQFZ35i
X-Gm-Message-State: AOJu0Yz7shxudTLe+JpyXb770TGcc/32B9QC/TwP7lfYVV418PbklYtZ ptF8BVJAF3jmp4/HOI+RTduSAvfqtEAF0FV80o3JwqlhM3rHtBGejF0NF1wRFZ4Bst47xXtVeQy qu5R0jlZ1TZ8fohPtMTFNFgwISSc=
X-Google-Smtp-Source: AGHT+IGN0ntnYBMdqiCYCDDpunXLJO9blzrEiKa5ukRs0Kdm5sQjXTUOGrpS/Gjmc4se7r48L0FDfJAGGeB791dFP0c=
X-Received: by 2002:a05:6358:4196:b0:1aa:a177:359b with SMTP id e5c5f4694b2df-1b176f7d537mr1070431455d.15.1723416805553; Sun, 11 Aug 2024 15:53:25 -0700 (PDT)
MIME-Version: 1.0
References: <F78CB19B-2880-48AB-99CE-D46280014A87@tony.li> <CAMZsk6fHoUgNg8psgTPmFgwopnPprPiL95Q7QLnsic6CJyHgQQ@mail.gmail.com> <CA+RyBmXavHMDHbC1OoCyZAW12CXPA80MHZBfcawJ=gt0JdSubw@mail.gmail.com> <CAMZsk6djDU8uQ=_dCQ-zWsmOC6W5-Tm=adYZm6s0pMzxEe5qBQ@mail.gmail.com>
In-Reply-To: <CAMZsk6djDU8uQ=_dCQ-zWsmOC6W5-Tm=adYZm6s0pMzxEe5qBQ@mail.gmail.com>
From: Greg Mirsky <gregimirsky@gmail.com>
Date: Sun, 11 Aug 2024 15:53:13 -0700
Message-ID: <CA+RyBmXv9FM59Lx7kUKdVWk0Z2SrJNDfzyOjvLwOONpZH9T6NQ@mail.gmail.com>
To: Rakesh Gandhi <rgandhi.ietf@gmail.com>
Content-Type: multipart/alternative; boundary="0000000000007ebeb6061f703e4d"
Message-ID-Hash: 6ZFIGNYJTZHUANKJXAQP3ON4H6ZHYVKX
X-Message-ID-Hash: 6ZFIGNYJTZHUANKJXAQP3ON4H6ZHYVKX
X-MailFrom: gregimirsky@gmail.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 <mpls@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [mpls] Re: Poll: IOAM and PSD
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/Ck_7MO3vtTaC_DmcUfWFW7O9wE0>
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>

Hi Rakesh,
thank you for referencing individual drafts under discussion in IPPM WG.
Although there are different views about these proposals in IPPM WG, I
don't think that the decision of MPLSWG must be based on not yet adopted
work (if I remember correctly, the MPLS WG used the same test when
considering cases that benefit from MNA (draft-ietf-mpls-mna-usecases
<https://datatracker.ietf.org/doc/draft-ietf-mpls-mna-usecases/>).

Regards,
Greg

On Sun, Aug 11, 2024 at 8:36 AM Rakesh Gandhi <rgandhi.ietf@gmail.com>
wrote:

> Hi Greg,
>
> Sorry for top posting, I am replying to the following comment:
>
> Regarding:
> GIM>> Could you please point me where the use of Timestamp in RFC 9326
> IOAM-DEX is required or even discussed as optional?
>
> <RG>
>
> As IOAM DEX option-type is extensible using the Extension-Flags defined in
> RFC 9326, there are new drafts proposed in the IPPM WG to take advantage of
> it, i.e. to add additional metadata and telemetry information in
> direct-export option.
>
>
>
> https://datatracker.ietf.org/doc/html/rfc9326
>
>     0                   1                   2                   3
>
>     0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
>
>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>    |        Namespace-ID           |     Flags     |*Extension-Flags*|
>
>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>    |               IOAM-Trace-Type                 |   Reserved    |
>
>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>    |                         Flow ID (Optional)                    |
>
>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>    |                     Sequence Number  (Optional)               |
>
>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>
>
>    1. *Adding Measurement period number information for alternate
>    marking:*
>
>
>    -
>    https://datatracker.ietf.org/doc/draft-he-ippm-integrating-am-into-ioam/
>
>
>
>         0                   1                   2                   3
>
>         0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
>
>        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>        |        Namespace-ID           |     Flags     |*Extension-Flags*|
>
>        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>        |               IOAM-Trace-Type                 |D|L| Reserved  |
>
>        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>        |                         Flow ID (Optional)                    |
>
>        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>        |                     Sequence Number  (Optional)               |
>
>        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
> *       |             Measurement Period Number  (Optional)             |*
>
>        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>
>
>                Figure 1: The Extended DEX Option-Type Format
>
>
>
>    - IANA has created the "IOAM DEX Extension-Flags" registry. This
>    registry includes 8 flag bits. Bit 0 (the most significant bit) and bit 1
>    in the registry are allocated by [RFC9326]. IANA is requested to allocate
>    bit 2 as Measurement Period Number in the registry and described in Section
>    5.
>
>
>
> *(2): Adding timestamp information:*
>
>    -
>    https://www.ietf.org/archive/id/draft-ahuang-ippm-dex-timestamp-ext-00.txt
>
>
>
>      0                   1                   2                   3
>
>      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
>
>      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>      |        Namespace-ID           |     Flags     |*Extension-Flags*|
>
>      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>      |               IOAM-Trace-Type                 |   Reserved    |
>
>      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>      |                         Flow ID (Optional)                    |
>
>      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>      |                     Sequence Number  (Optional)               |
>
>      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
> *     |                   Timestamp Seconds  (Optional)               |*
>
> *     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+*
>
> *     |                  Timestamp Fraction  (Optional)               |*
>
>      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>
>
>        Figure 1: IOAM DEX Option-Type Format including the timestamps
>
>
>
>
>
> Thanks,
>
> Rakesh
>
>
>
>
> On Mon, Aug 5, 2024 at 6:43 PM Greg Mirsky <gregimirsky@gmail.com> wrote:
>
>> Hi Rakesh,
>> I have a number of questions based on you responses and would greatly
>> appreciate your helping me to better understand. I'll top-post below and
>> tag my questions with GIM>>:
>>
>>    - Based on my understanding, two IOAM option-types, namely,
>>    Pre-allocated Trace (value 0) and Direct-Export (value 4) are popular.
>>
>> GIM>> What is the measure of "popular"? HW implementations?
>>
>>    - Data fields such as 32-bit Sequence Number or 32-bit Timestamp in
>>    In-Stack LSE can lead to undesired ECMP behavior on nodes that use labels
>>    for ECMP hashing
>>
>> *GIM>> Could you please point me where the use of Timestamp in RFC 9326
>> IOAM-DEX is required or even discussed as optional?*
>>
>> Regards,
>> Greg
>>
>> On Mon, Aug 5, 2024 at 3:32 PM Rakesh Gandhi <rgandhi.ietf@gmail.com>
>> wrote:
>>
>>> Hi Tony,
>>>
>>>
>>>
>>> Although not directly related to the question in the poll but since PSD
>>> is mentioned in the title of this email for poll, like to highlight the
>>> certain advantages of adding IOAM data fields in Post-Stack Network Action
>>> for both post-card based and passport-based methods.
>>>
>>>
>>>
>>>    1. IOAM E2E/POT/TRACE/DEX option-types contain various data fields
>>>    as defined in RFC 9197 and RFC 9326
>>>    <https://datatracker.ietf.org/doc/html/rfc9326>.
>>>    2. Data fields such as 32-bit Sequence Number or 32-bit Timestamp in
>>>    In-Stack LSE can lead to undesired ECMP behavior on nodes that use labels
>>>    for ECMP hashing
>>>       - Data fields in Post-Stack are not included in ECMP hashing
>>>    3. 32-bit data fields do not fit into 30-bit data in In-Stack LSE,
>>>    limited to 11-bit as variable or mutable data
>>>    - RFC standard IOAM format data fields fit well into 32-bit
>>>       Post-Stack Network Action Data
>>>       4. IOAM option types support extensibility to optionally add many
>>>    data fields
>>>       - Node can easily skip In-Stack network action and process the
>>>       next one even when Data in Post-Stack is outside RLD
>>>    5. IOAM-DEX data fields can be seen as metadata in the received
>>>    packets that data plane exports
>>>       - Metadata could easily be in Post-Stack
>>>
>>>
>>> P.S. The IOAM network action and offset for the data fields for both
>>> IOAM methods would be in-stack. The above points are for the data fields.
>>>
>>>
>>> Thanks,
>>>
>>> Rakesh
>>>
>>>
>>>
>>> On Tue, Jul 30, 2024 at 11:27 AM Tony Li <tony.li@tony.li> wrote:
>>>
>>>> [WG chair hat: on]
>>>>
>>>>
>>>>
>>>> Hi all,
>>>>
>>>>
>>>>
>>>> We’ve had many discussions about IOAM and PSD over the last few years.
>>>> We need to reach consensus on the problems that need to be addressed in
>>>> these areas. Therefore, we would like to hear from everyone, especially
>>>> independent operators:
>>>>
>>>>
>>>>
>>>>    1.
>>>>
>>>>    There are many flavors of IOAM.  Which ones would you like to
>>>>    deploy/implement with MNA?
>>>>    2.
>>>>
>>>>    Do you have other applications of MNA that have not been proposed
>>>>    yet?
>>>>
>>>>
>>>>
>>>>  This poll will close in two weeks, at 9am PDT, Aug 13.
>>>>
>>>>
>>>>
>>>> Regards,
>>>>
>>>> MPLS 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
>>>
>>