Re: [tcpm] [Last-Call] Opsdir telechat review of draft-ietf-tcpm-yang-tcp-07

Robert Raszuk <robert@raszuk.net> Mon, 04 July 2022 19:39 UTC

Return-Path: <robert@raszuk.net>
X-Original-To: tcpm@ietfa.amsl.com
Delivered-To: tcpm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5810BC14F726 for <tcpm@ietfa.amsl.com>; Mon, 4 Jul 2022 12:39:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.105
X-Spam-Level:
X-Spam-Status: No, score=-7.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, 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=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=raszuk.net
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 KUrviLHU1zFL for <tcpm@ietfa.amsl.com>; Mon, 4 Jul 2022 12:39:29 -0700 (PDT)
Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) (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 E0515C14F74B for <tcpm@ietf.org>; Mon, 4 Jul 2022 12:39:29 -0700 (PDT)
Received: by mail-lf1-x132.google.com with SMTP id i18so17196465lfu.8 for <tcpm@ietf.org>; Mon, 04 Jul 2022 12:39:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raszuk.net; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dcFFydKq3fhaLaCymAeb/rHSUBPfFUTDssVqJ8AIX5k=; b=VBLt1to5nF6H7E/Y9eMcS10ubc1lSSEx011HgaSqlWNsVeS/bcCHelnKPHMD4XKPhc xvNJVT+sTuDLGPs3aWmLnS/klZKNLeAKPXXOtxAy8sRmZXcoKN0vV8ujH27d5kd1UIfo FW9dkvmcycmh+bJyGgLJEeyHGs3Pi6eUOptdaEWpXB2oxoTtA+/KTKma1VthdRDw2/JQ 5niTW4SfS5zs3PakgGI4FRkK0/PQBB4fk8vttEo6/9aT/YbeeJEIMIGVrvawZv1JDJ8o XIQG3ic51RW90r/mJSP7z76YDT4KhYrnpsZCiBRtfyRbf8EfhM3kka1MSm6pAXFTlLuK dwWw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dcFFydKq3fhaLaCymAeb/rHSUBPfFUTDssVqJ8AIX5k=; b=FaDXmsd68NipQqfLpEO1QvjJ6r8h623ZYeebEc0IybNAdvtBGBJUkO7D0YpVn5jjlO JriQh8wP6B7f7eOsSqx65+rvkf4mKc4QjWpfpr1Qbr1JYzgJwVCZ+b54ARZfgnn3IAlj REbCVHKOuk+UyHDnVhUQsiDn4+StG5BCmQAkVHFsfNPxHyDQ84M9SBHlU6UF+B6m0ajZ zhWnF+8mOA0/miZD/6vK6t8TazTXRot5jycWkSgNf2u+TtUlFeDdyas/jCu0w4V9mpmY dMucYfbsAUb/bKlKTqGOWKD5orLUAUCJLGlu5zelCXGJ0r75aQcMIgTTARrMFic1sW8O t8Bg==
X-Gm-Message-State: AJIora9MjT+AudCZX6SXY6fpCc5s1UVju/f7/7MBdKNy6wlUdPfA64wo QkwwrjRh/boBI2qSAxC7QWIIAWL+eEDijN15i4S/Hg==
X-Google-Smtp-Source: AGRyM1tj1u0h+dGAV7nEfLDtMAqHFoGhVwOrqpWafmbgi+tfOaRhlsgBwnKDJ+1qtBACWiX60RARjN0AthdE4W5NK9Y=
X-Received: by 2002:a05:6512:41a:b0:47f:a121:610a with SMTP id u26-20020a056512041a00b0047fa121610amr20787798lfk.433.1656963567650; Mon, 04 Jul 2022 12:39:27 -0700 (PDT)
MIME-Version: 1.0
References: <165690747653.9313.6940379164951428048@ietfa.amsl.com> <DF6CF2BD-8418-4386-BB78-6E011A523FBA@strayalpha.com> <CABNhwV1SN+Ei_TScwUsg1scKhAAoxixfFTtXXghLXEPspU6gZA@mail.gmail.com> <893612ED-91B7-4492-8000-EF2D54AC49BC@strayalpha.com> <4688b79370e94df6b8af107a97be0a7f@hs-esslingen.de> <CAOj+MMGxUxqFko1R5yVkpc6Ujw6SJcOjB209YNKuGJo+MOZfvA@mail.gmail.com> <B130CC17-B93A-4D3F-90B1-01E29BDD6975@strayalpha.com>
In-Reply-To: <B130CC17-B93A-4D3F-90B1-01E29BDD6975@strayalpha.com>
From: Robert Raszuk <robert@raszuk.net>
Date: Mon, 04 Jul 2022 21:39:26 +0200
Message-ID: <CAOj+MMFeQ6AEQ_=yCurmE0tg2XqogtfmwL7EW5L0XhsN48h2uw@mail.gmail.com>
To: "touch@strayalpha.com" <touch@strayalpha.com>
Cc: "Scharf, Michael" <Michael.Scharf@hs-esslingen.de>, Gyan Mishra <hayabusagsm@gmail.com>, Last Call <last-call@ietf.org>, "draft-ietf-tcpm-yang-tcp.all@ietf.org" <draft-ietf-tcpm-yang-tcp.all@ietf.org>, "ops-dir@ietf.org" <ops-dir@ietf.org>, "tcpm@ietf.org" <tcpm@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000db223505e2ffe4dd"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/yYO3N9LSHCvQ-oaCwOby3822KoU>
Subject: Re: [tcpm] [Last-Call] Opsdir telechat review of draft-ietf-tcpm-yang-tcp-07
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tcpm>, <mailto:tcpm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tcpm/>
List-Post: <mailto:tcpm@ietf.org>
List-Help: <mailto:tcpm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tcpm>, <mailto:tcpm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Jul 2022 19:39:34 -0000

Hi,

I think the crux is here:

> remotely managed.

For me YANG is about visibility (or nowadays observability) (like was/is
SNMP MIB) and not about remote management. I would never set any TCP
parameters remotely as it does not make sense. That's role of client app
via socket API.

So lot's of TCP parameters makes sense to me to observe state of TCP
session irrespective on what is the client above it from remote controller.
Especially that telemetry may use YANG format for packing this info.

Then what is missing - everything which I could see by using local OS hooks
into kernel. That is all TCP parameters as well as connection state.

Thx.
R.

On Mon, Jul 4, 2022 at 9:30 PM touch@strayalpha.com <touch@strayalpha.com>
wrote:

> > On Jul 4, 2022, at 12:15 PM, Robert Raszuk <robert@raszuk.net> wrote:
> >
> > Hi,
> >
> > > Any application can decide to configure TCP parameters as far as
> possible in the given operation
> > > system, e.g., via the sockets API. That is orthogonal to the internals
> of the TCP implementation and the TCP protocol.
> >
> > While clients running on top of TCP can configure its parameters I would
> at least expect to be able to report such values (local and remote) when
> using the TCP YANG model. For example I can not find the Urgent Flag in the
> current YANG model.
>
> That’s because URG is not a property of the TCP connection; it’s a
> property of a segment, not the connection. The same is true for PSH.
>
> > Same for elementary window size of any given connection, same for
> connection duration, .
>
> There is no such thing as “elementary window size”. There are a variety of
> window parameters, i.e., send window, congestion window, receive window.
> Only the send and receive windows are application / OS set.
>
> If there’s a list of desired parameters, it would be useful to start by
> stating them in terms of the TCP specs and explaining why they need to be
> remotely managed.
>
> Joe