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

Greg Mirsky <gregimirsky@gmail.com> Thu, 18 May 2023 19:16 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 4E46DC14CEFA; Thu, 18 May 2023 12:16:09 -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 SEFlQpT5YYbp; Thu, 18 May 2023 12:16:04 -0700 (PDT)
Received: from mail-yb1-xb36.google.com (mail-yb1-xb36.google.com [IPv6:2607:f8b0:4864:20::b36]) (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 A0FBAC1519AF; Thu, 18 May 2023 12:15:02 -0700 (PDT)
Received: by mail-yb1-xb36.google.com with SMTP id 3f1490d57ef6-b9246a5f3feso4000301276.1; Thu, 18 May 2023 12:15:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684437300; x=1687029300; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=f4DlC89pxqyS9yg41MbKWHLt3qR8hmV5jEU1irGpUlQ=; b=LUiLg932UIPTUcJaBdiYzs0sHZgOxoRKtLMgMyBDSiC/JydwwUGMd4fE+1vJyrTNKV 5JqoDj2Veo/e3L78/lChU5DD0m05WRM5dwlzGAO7LrXrcV1b2+0MSQQmbbknfupU6Dyd C1e+KqenhQcfrr0BPL0WQGMy/mQ/39Bu/sEcBKuRluR0+h7rv+MO7Axyz7zi0XIGEjS0 Kb/wLbwMUDgPgCfuj475vhbLHeHWywdgdbuohX0fpzEP1xWND+9K4N1PofYUU9LVympW 6ko4elvYEgNI31LlVyavFZPV46qqD2LiKvG6t9DMTOrqXeRvtDj7+CXa0LAM+tpKgazK SUKQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684437300; x=1687029300; 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=f4DlC89pxqyS9yg41MbKWHLt3qR8hmV5jEU1irGpUlQ=; b=TjgSi5wcdsQLvpt0ahxOhqN1ZHjapyeJShgNsTVEx26a7deGt/qkhgMLx0LwcJ0szC AgFjy4F011HmBjP5orPFDDbXnLHV3O3doc7/mYoyOEUGgAxn+xWwqP9KjoY2E9b/YlAm VZ4ptaSZ+S+nAsUCy7SmZAWZxevxhSn23WPNSvBXARNF+/AhNwtuTEAbLbRE7n4+b1An TCZRrUii/dQjjcU256Dxz1FRXqSVls3wqvnfBv0LYSrx9jmA4Oqof0cgaJ5RD5MkKDJq YAHSNfOhgCLv2fRODnIC8KtF+n9NK/kZsbEi4/xDDMs0MzRPpRYgOKFF89gzoAYBjYEa fIcA==
X-Gm-Message-State: AC+VfDx39lCItZCi1FM00gG079H8PsLGPY1wRYGDdr7jMPl3LynAPRVN 7/aFynKH3S5UAX7ubnoUqrORPuhfFOcvY2rOc5N8sFIXk7M=
X-Google-Smtp-Source: ACHHUZ5YjoRnggxqbhbCz++LmgIwnBVPAfkgvvSJ345adASq6NK3oq8KvdXFKULOwqtsu4spV6BLLhw1xh9N1Kl9BpQ=
X-Received: by 2002:a25:ae5c:0:b0:b9d:9500:9d29 with SMTP id g28-20020a25ae5c000000b00b9d95009d29mr64558ybe.45.1684437299705; Thu, 18 May 2023 12:14:59 -0700 (PDT)
MIME-Version: 1.0
References: <da1eb053-78c4-ad2e-962a-7685e0fb543d@labn.net>
In-Reply-To: <da1eb053-78c4-ad2e-962a-7685e0fb543d@labn.net>
From: Greg Mirsky <gregimirsky@gmail.com>
Date: Thu, 18 May 2023 12:14:48 -0700
Message-ID: <CA+RyBmWOLjLgTKTky_ynf0Ogp3MuHLdK_32js1R+kQUc70Ntgg@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="000000000000e53c9005fbfc9e16"
Archived-At: <https://mailarchive.ietf.org/arch/msg/detnet/2xjpSGe_u-R3Lb-a7rHSEhvYqk0>
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: Thu, 18 May 2023 19:16:09 -0000

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
>