Re: [yang-doctors] Yangdoctors early review of draft-ietf-tcpm-yang-tcp-06

Mahesh Jethanandani <mjethanandani@gmail.com> Fri, 17 June 2022 17:53 UTC

Return-Path: <mjethanandani@gmail.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 31AFDC14F73F; Fri, 17 Jun 2022 10:53:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.108
X-Spam-Level:
X-Spam-Status: No, score=-7.108 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_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] 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 MBa4_7ssMyWf; Fri, 17 Jun 2022 10:53:34 -0700 (PDT)
Received: from mail-oi1-x22a.google.com (mail-oi1-x22a.google.com [IPv6:2607:f8b0:4864:20::22a]) (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 D3340C14792A; Fri, 17 Jun 2022 10:53:34 -0700 (PDT)
Received: by mail-oi1-x22a.google.com with SMTP id v143so6206263oie.13; Fri, 17 Jun 2022 10:53:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=Gm1NAqnkmRY2oJ70g0zyLUT15DPLWf3MwkqA4PKMoS8=; b=iVj2NiONI7Hfa9Y3CoHxoeHmpX1MzRH+JKxBIOgFwHIDki97WMgm4DdkNCz4Gh/wQG +eFzy8mmBOzP6g/I44Oo+D/jitHa4n8esIf7i5ILs7bj70oqZi6/5/XJyHK+RjRyERz+ VbNkWqr/WaZK8DtD97hnvDi8MA1j2eIpzFB1i3T7FxLtbncyD5J38H8UCGFXnAMG9t64 igKSDqZayouF+HAQLE/POR6iSP5lk/uT97Nc+56sIjmRzNJPOuwNzGbTg8+qiwaXV7st x5wXJFM2s3ogAAJ4+xNNr3Fp5VWB1g3tzMD4Ch9CovFBGGWajT0qZjf22/6rwBEdEAg5 rsnA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=Gm1NAqnkmRY2oJ70g0zyLUT15DPLWf3MwkqA4PKMoS8=; b=B3X5n3R/8YaJyV4LB+Ln6Tc0JpZQj3cQppvdZzqdPrwR9E9VdWp09G2iNXDk91RAl0 pfzci1PtLWA+QTl9xKcEAqxixXmBACAnw4ANBSl0ryWbvaoi1c/vcm9rYaZtZN39yNyr Jsnq5NNTCfd9qMoZxqAF/G/xwDLZHcbPUktIWAqKew4odneB6jDOVdvO3nFvFuPyGJMA 5Io4mV6jLm84ddvZ7FiSKj8aFDuQLi7SLSW4s2ek0VG7MqGvC7g5Dg2IiEgsSwOYhFr6 a79CKkVx/78L7V0IMeN0I2l+Egj24fc2OxE4vWr7Sop9uZY7R+GBG2aNtTKx6B2MmPUB 7SlA==
X-Gm-Message-State: AJIora+g1GgLiENsbM/Y0U88bsfzPh/F7+YnFXxYC3QiPmHHaewjpabZ ylvpbfZNiG1zb+BVXVgnEpeVoeu/pDw=
X-Google-Smtp-Source: AGRyM1vbmFH5OWdnhGRBJ4IuunqgHyj5DSwBdNTwUKDVOY2DU/DtLeWe8WgtCBumR/chK7OQFVag6g==
X-Received: by 2002:a05:6808:1527:b0:32e:e4a0:d819 with SMTP id u39-20020a056808152700b0032ee4a0d819mr6024301oiw.237.1655488413773; Fri, 17 Jun 2022 10:53:33 -0700 (PDT)
Received: from smtpclient.apple (adsl-70-234-233-187.dsl.rcsntx.sbcglobal.net. [70.234.233.187]) by smtp.gmail.com with ESMTPSA id r24-20020a9d30d8000000b006060322124csm2834598otg.28.2022.06.17.10.53.33 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Jun 2022 10:53:33 -0700 (PDT)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Message-Id: <AA7D63D8-D1C3-421D-8EE5-5D71B3C956FF@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_F1BD1119-2452-4F22-9BAA-21CF6C3F5DF7"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
Date: Fri, 17 Jun 2022 10:53:32 -0700
In-Reply-To: <164661435641.9057.1721002349923203081@ietfa.amsl.com>
Cc: yang-doctors@ietf.org, draft-ietf-tcpm-yang-tcp.all@ietf.org, tcpm@ietf.org
To: Ebben Aries <exa@juniper.net>
References: <164661435641.9057.1721002349923203081@ietfa.amsl.com>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/dQd7Nvz4egv-Bc9harzz6165O0A>
Subject: Re: [yang-doctors] Yangdoctors early review of draft-ietf-tcpm-yang-tcp-06
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Jun 2022 17:53:39 -0000

Hi Ebben,

Thanks first of all for reviewing the draft and the model. We have tried to address most of the comments in the -07 version of the draft. Please see inline for more specific comments.

> On Mar 6, 2022, at 4:52 PM, Ebben Aries via Datatracker <noreply@ietf.org> wrote:
> 
> Reviewer: Ebben Aries
> Review result: On the Right Track
> 
> 1 module in this draft:
> - ietf-tcp@2022-02-04.yang
> 
> YANG compiler errors or warnings (pyang 2.5.2, yanglint 2.0.112, yangson 1.4.13)
> - No compiler errors or warnings.  Instance data verified with features
> 
> Module ietf-tcp@2022-02-04.yang:
> - Overall the module is concise and conforms to the guidelines put forth in
>  RFC8409.  Only a few minor nits as well as some comments and questions on
>  the draft itself
> - L#91 - Is there any reason to put a range that covers the entire uint8
>  space?
> - L#104 - Same as L#91

When a type is defined, it is not necessary that the entire range is applicable. For example, a VLAN might be defined as a uint16 type, however, the valid range is only 1..4096. By stating the max range, it is making it clear that the entire range is applicable.

> 
> General comments on the draft/modules:
> - The title is "A YANG Model for TCP Configuration" however the intent is to
>  cover TCP connection tables and statistics.  While configuration parameters
>  are introduced, is it not likely that as the model progresses will encompass
>  additional state over time?  I would suggest readjusting wording to
>  accomodate that this is not only geared towards configuration of TCP
>  parameters (which multiple sections concentrate on) and more to TCP
>  configuration, connection tables and state

Ok. Updated the title and description to reflect that the model covers both configuration and state.

> 
> - Section 3.3 - Tree Diagram.  If you are calling out this section is only for
>  the abridged version you may want to include a reference to the full diagram
>  in Appendix C

Added.

> 
> - Appendix B.2 - Use IPv6 addresses from the documentation prefixes defined
>  inRFC3849 (draft-ietf-tcpm-ao-test-vectors should be updated accordingly as
>  well)

With the new model to configure TCP-AO, this comment is no longer applicable.

> 
> - Understood that it is mentioned in the introduction this is a minimal set of
>  features but statistics wise, there are currently only aggregate/global TCP
>  statistics defined. Has there been any consideration for per-connection
>  statistics and additional attributes much like outputs of `ss -tpi`
>  (processes, counters, mss, pmtu, congestion ctl alg, etc..)? Or is the
>  intent this will be served by a future version or separate
>  module/augmentation at a later date?

This was something that was discussed early on when the scope of the draft was being considered in TCPM. At that time, the consensus was to provide only an aggregate set of statistics. It however, does not preclude a subsequent model to augment this model to expand the collection of statistics.

Thanks.

> 
> 
> 


Mahesh Jethanandani
mjethanandani@gmail.com