Re: [Detnet] some comments on draft-ietf-detnet-ip-oam

Greg Mirsky <gregimirsky@gmail.com> Mon, 22 May 2023 22:29 UTC

Return-Path: <gregimirsky@gmail.com>
X-Original-To: detnet@ietfa.amsl.com
Delivered-To: detnet@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 30F91C14CF18; Mon, 22 May 2023 15:29:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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] 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 fSYKp9LoX7bl; Mon, 22 May 2023 15:29:14 -0700 (PDT)
Received: from mail-yw1-x112c.google.com (mail-yw1-x112c.google.com [IPv6:2607:f8b0:4864:20::112c]) (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 840E6C14CE42; Mon, 22 May 2023 15:29:05 -0700 (PDT)
Received: by mail-yw1-x112c.google.com with SMTP id 00721157ae682-5648e904593so47376917b3.3; Mon, 22 May 2023 15:29:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684794544; x=1687386544; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=t+54DaLl+BbmkCRBtkz1kaeunn7qREfHYIglxPLwmFE=; b=dnz49VdoBDilgmKl3GmweusmEz8dc6QGxS/b9u1EJWentrLrTOi66UhJIaUL9o7iPJ ntO4Ta4K0KSUqmWJCnEpVgdIPKd62YV8FjP3APpOWcqIgFm3Sirup3ANgWewxseISc9v PAYP23GIeLzTrAjrKi6NtDrawqGbPTuld1vVfi5eJoX4YewVBA4YSf+mLUjokDoBaDhF n/Avb1rZoHejaO3yQO3tXrK/nSpy+cd8AcSdbb7hTu0SOb3LBs17Hs5pedUF17W/39YJ fMgOEz5P1uf6H/NfZB/ihcbNguuvvA036wTZ43XVuamCHXskEVknJXhRIkKaDvT8wwKP 19xg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684794544; x=1687386544; 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=t+54DaLl+BbmkCRBtkz1kaeunn7qREfHYIglxPLwmFE=; b=QMuKj6RD9f/cDJrjFDiV76mc0FVdWduVp3VQVD4xfjDwPcEzXz2MQXa306kw3Q3e35 tb+sQWFxNwMoBpUYx3yBJM1mXkDODmI9ZfqhlsdJZVr/eDei7m7qx+IPUejHulP11w6/ YByBln4venRiEwZ9TtQs4/UCRZu65Cbml5GbhwVMcdHaa2gBlijn+I3TJzmvjMMr9TCJ 8rpY6S/VgwjQ9KjYlg3zbzH6r3vFTIixeLunOzY0cHaebeAwabqJnPqFPGZlQUFxz+Re t4ng0jSlkrznwXa9Vhq5jKUkvXPxR+RXKY+xlHXnI43xriX9wO/pQTzL4YhQHJi1CiHr vkyg==
X-Gm-Message-State: AC+VfDzA8w7iT0OGCC+p3gTN9ljBbFu3WrnCVVA7boU3XwF+tRMSZPOt I6cQ7v/vYC7UiGA/ENS5CilKiqaAT0UAI1ww7IFqknVy
X-Google-Smtp-Source: ACHHUZ5wiid+zwqv4wsXoRi8I7RLoAPrVlk++5LUHb6WIKyWApusd6t74bdx+HbK3cY9+XWWT9ncHUHvp/ei6vZWyTE=
X-Received: by 2002:a0d:d344:0:b0:565:2d3d:cd07 with SMTP id v65-20020a0dd344000000b005652d3dcd07mr2377024ywd.35.1684794544605; Mon, 22 May 2023 15:29:04 -0700 (PDT)
MIME-Version: 1.0
References: <da1eb053-78c4-ad2e-962a-7685e0fb543d@labn.net> <CA+RyBmWOLjLgTKTky_ynf0Ogp3MuHLdK_32js1R+kQUc70Ntgg@mail.gmail.com> <92147870-273f-a330-34f1-e20d1d442c5e@labn.net>
In-Reply-To: <92147870-273f-a330-34f1-e20d1d442c5e@labn.net>
From: Greg Mirsky <gregimirsky@gmail.com>
Date: Mon, 22 May 2023 15:28:53 -0700
Message-ID: <CA+RyBmX148gimA73XLwkyv8NWSJpPr0BxtRbXpLFS22M2724Zw@mail.gmail.com>
To: Lou Berger <lberger@labn.net>
Cc: "draft-ietf-detnet-ip-oam@ietf.org" <draft-ietf-detnet-ip-oam@ietf.org>, DetNet WG <detnet@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000059cf6005fc4fccfc"
Archived-At: <https://mailarchive.ietf.org/arch/msg/detnet/b6sul3MXqYcv76AOJdGHrg7FaZQ>
Subject: Re: [Detnet] some comments on draft-ietf-detnet-ip-oam
X-BeenThere: detnet@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Discussions on Deterministic Networking BoF and Proposed WG <detnet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/detnet>, <mailto:detnet-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/detnet/>
List-Post: <mailto:detnet@ietf.org>
List-Help: <mailto:detnet-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/detnet>, <mailto:detnet-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 May 2023 22:29:15 -0000

Hi Lou,
thank you for your kind consideration. I've uploaded the new version with
the update. Please advise on the next step to progress this draft.

Regards,
Greg

On Mon, May 22, 2023 at 12:40 PM Lou Berger <lberger@labn.net> wrote:

> Greg,
>
> While a more complete/explicit example would be nice, I do think your
> changes address the core of my comment.
>
> Thank you!
>
> Lou
> On 5/18/2023 3:14 PM, Greg Mirsky wrote:
>
> Hi Lou,
> David, Mach, and I discussed your comments and propose the following
> update:
> OLD TEXT:
>    IP OAM protocols that use UDP transport, e.g., BFD [RFC5880] and
>    STAMP [RFC8762], can be used to detect failures or performance
>    degradation that affects an IP DetNet flow.  When the UDP destination
>    port number used by the OAM protocol is one of the assigned by IANA,
>    then the UDP source port can be used to achieve co-routedness of OAM,
>    and the monitored IP DetNet flow in the multipath environments, e.g.,
>    Link Aggregation Group or Equal Cost Multipath.  (That also applies
>    to encapsulation techniques described in Section 3.2 and
>    Section 3.3.)  To maximize the accuracy of OAM results in detecting
>    failures and monitoring performance of IP DetNet, test packets should
>    receive the same treatment by the nodes as experienced by the IP
>    DetNet packet.  Hence, the DSCP value used for a test packet MUST be
>    mapped to DetNet.
> NEW TEXT:
>    IP OAM protocols are used to detect failures (e.g., BFD [RFC5880])
>    and performance degradation (e.g., STAMP [RFC8762]) that affect an IP
>    DetNet flow.  When the UDP destination port number used by the OAM
>    protocol is one of the assigned by IANA, then the UDP source port can
>    be used to achieve co-routedness of OAM, and the monitored IP DetNet
>    flow in the multipath environments, e.g., Link Aggregation Group or
>    Equal Cost Multipath.  (That also applies to encapsulation techniques
>    described in Section 3.2 and Section 3.3.)  To ensure the accuracy of
>    OAM results in detecting failures and monitoring the performance of
>    IP DetNet, it is essential that test packets not only traverse the
>    same path as the monitored IP DetNet flow but also receive the same
>    treatment by the nodes, e.g., shaping, filtering, policing, and
>    availability of the pre-allocated resources, as experienced by the IP
>    DetNet packet.  That correlation between the particular IP OAM
>    protocol session and the monitored IP DetNet flow can be achieved
>    using the DetNet YANG model [I-D.ietf-detnet-yang].  Each IP OAM
>    protocol session is presented as DetNet Application with related
>    service and forwarding sub-layers.  The forwarding sub-layer of the
>    IP OAM session is identical to the forwarding sub-layer of the
>    monitored IP DetNet flow, except for information in the grouping ip-
>    header, defined in [I-D.ietf-detnet-yang].
>
> Please let us know if the new text sufficiently addresses your concerns.
>
> Best regards,
> Greg
>
>
> On Sun, Mar 12, 2023 at 2:46 PM Lou Berger <lberger@labn.net> wrote:
>
>> Authors (WG),
>>
>> The document seems to be a bit light on how OAM and IP flows are treated
>> the same way by a DetNet when an extra encapsulation layer is NOT used
>> (see section 3.1). I also don't understand the meaning/rational of:
>>
>>  > Hence, the DSCP value used for a test packet MUST be mapped to DetNet.
>>
>> I think it would be very helpful to provide some examples of how the
>> detnet yang model could be used to accomplish such aggregation/shared
>> traffic treatment.  Is this something you could look into/add?
>>
>> Thanks,
>> Lou
>>
>