Re: [tcpm] Robert Wilton's No Objection on draft-ietf-tcpm-yang-tcp-07: (with COMMENT)

Mahesh Jethanandani <mjethanandani@gmail.com> Thu, 08 September 2022 19:58 UTC

Return-Path: <mjethanandani@gmail.com>
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 892EBC15339B; Thu, 8 Sep 2022 12:58:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.104
X-Spam-Level:
X-Spam-Status: No, score=-2.104 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_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=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 16gDwJ_L-B4D; Thu, 8 Sep 2022 12:58:28 -0700 (PDT)
Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) (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 AB3D8C153398; Thu, 8 Sep 2022 12:58:28 -0700 (PDT)
Received: by mail-pj1-x102c.google.com with SMTP id q3so18821863pjg.3; Thu, 08 Sep 2022 12:58:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date; bh=IIuBafJuy66KP7mEhAZqfo6zrHPTF+ocGQhWFd76uYA=; b=XxAyML1RespTUmvsWt+0MWxP3TNH7Jxa6HuF3Lg7ho8iSQx7cx6iny7EKTgtgzQXZB 3ZKY0QXOmW/OhcQE0DqrjTM5dv+8zeTb9Km58Qy2vXEVYn9jBtXkGZxDWjf6YRZLLVHE flZf813rJUj30Xb0T24By6LlOBJzNTZi+jh0qd+miiG4qcvfs/XYXHMoOsOAjDMnMYvT glCXsQtP+yg6k0CTBF7an/DKvatmtqA90gwS57c1I+b9Iolg1FduZTXTNd2h55Q0/y+3 FUqTFmIRKMplkibqoQ/Nr56Ej8q826t6y95W/343vKZ+I5RJLn9/fHHgmDw7J7SRosux NoIw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date; bh=IIuBafJuy66KP7mEhAZqfo6zrHPTF+ocGQhWFd76uYA=; b=d1Ig+Dv0EDX6h95UJvCcPenNy4wy/fT7V2AXSWP3UBPgcfFViMhDHttFag2wgAMnh3 JQyaOXl2XNdkDX77sLI/ZsAzsTB7g+JppyZ8PzOtaMsj5iHC4bdu+spM06J+RcxcBWa1 VKZqyshgFv8Yj0+1CbDSSbC0B5s/yZZVH2Rd/I4wqONvn4xobi9E4eNm9To/8HCoOd3S L0UkGv18Gr2kxlf0Xui/t7KAG95GGvp9p/kPPXhaNFY7ZxI3pe58Cw1AHVqDInzQKDGZ Y4URXj8dRg9mpNcK/04gTL2q5aQ6zBT7EzjGprwYbmHxOHiisK/2BpRYyUrML/DktkCr G0og==
X-Gm-Message-State: ACgBeo27b+ALRtdZRQwTYt3fxKF0Wv2NZc7o6UP370IR48nge2QMAuDM aIerTUTXXz1NTWkN06cn4x0=
X-Google-Smtp-Source: AA6agR6nAYwwqa+WBTizFjWNruQIURFpSSofLdRs3XvKSJvJsfgjx7YecTjOYgC7oFyxcMcDiAdABA==
X-Received: by 2002:a17:902:ba8f:b0:175:42c1:61ce with SMTP id k15-20020a170902ba8f00b0017542c161cemr10834211pls.130.1662667107759; Thu, 08 Sep 2022 12:58:27 -0700 (PDT)
Received: from smtpclient.apple ([70.234.233.187]) by smtp.gmail.com with ESMTPSA id p4-20020aa79e84000000b0053e7d3b8d6dsm8758pfq.1.2022.09.08.12.58.26 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Sep 2022 12:58:27 -0700 (PDT)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Message-Id: <6CDF73EE-91D2-46A2-BFFC-D368DC3D2A45@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_890CDB5C-A1E7-42C3-9EAC-D801307423F1"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
Date: Thu, 08 Sep 2022 12:58:25 -0700
In-Reply-To: <MN2PR11MB420768DEB66C89EEDC86BB16B5409@MN2PR11MB4207.namprd11.prod.outlook.com>
Cc: The IESG <iesg@ietf.org>, "draft-ietf-tcpm-yang-tcp@ietf.org" <draft-ietf-tcpm-yang-tcp@ietf.org>, "tcpm-chairs@ietf.org" <tcpm-chairs@ietf.org>, "tcpm@ietf.org" <tcpm@ietf.org>, "nsd.ietf@gmail.com" <nsd.ietf@gmail.com>
To: Robert Wilton <rwilton@cisco.com>
References: <165659575476.26185.3417581885981216323@ietfa.amsl.com> <8B635F11-6A25-4FC5-82BA-F4012F234C16@gmail.com> <MN2PR11MB420768DEB66C89EEDC86BB16B5409@MN2PR11MB4207.namprd11.prod.outlook.com>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/2ZocFaw_deUB2SlS8Coi6s-JWvk>
Subject: Re: [tcpm] Robert Wilton's No Objection on draft-ietf-tcpm-yang-tcp-07: (with COMMENT)
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: Thu, 08 Sep 2022 19:58:32 -0000

Hi Rob,

No nothing in particular. I was only wondering how it will be rendered, since it is a zero length string. I guess much as what the description says - ‘’h.

> On Sep 8, 2022, at 12:47 AM, Rob Wilton (rwilton) <rwilton@cisco.com> wrote:
> 
> Hi Mahesh,
>  
> Yes, the YANG that you have below looks semantically right to me.  Is some tooling complaining about it?
>  
> Regards,
> Rob
>  
>  
> From: Mahesh Jethanandani <mjethanandani@gmail.com> 
> Sent: 07 September 2022 22:48
> To: Rob Wilton (rwilton) <rwilton@cisco.com>
> Cc: The IESG <iesg@ietf.org>; draft-ietf-tcpm-yang-tcp@ietf.org; tcpm-chairs@ietf.org; tcpm@ietf.org; nsd.ietf@gmail.com
> Subject: Re: [tcpm] Robert Wilton's No Objection on draft-ietf-tcpm-yang-tcp-07: (with COMMENT)
>  
> Hi Rob,
>  
> A question. See inline.
> 
> 
> On Jun 30, 2022, at 6:29 AM, Robert Wilton via Datatracker <noreply@ietf.org <mailto:noreply@ietf.org>> wrote:
>  
> Robert Wilton has entered the following ballot position for
> draft-ietf-tcpm-yang-tcp-07: No Objection
> 
> When responding, please keep the subject line intact and reply to all
> email addresses included in the To and CC lines. (Feel free to cut this
> introductory paragraph, however.)
> 
> 
> Please refer to https://www.ietf.org/about/groups/iesg/statements/handling-ballot-positions/ <https://www.ietf.org/about/groups/iesg/statements/handling-ballot-positions/> 
> for more information about how to handle DISCUSS and COMMENT positions.
> 
> 
> The document, along with other ballot positions, can be found here:
> https://datatracker.ietf.org/doc/draft-ietf-tcpm-yang-tcp/ <https://datatracker.ietf.org/doc/draft-ietf-tcpm-yang-tcp/>
> 
> 
> 
> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
> 
> Hi,
> 
> Thanks for another YANG module!
> 
> I have some non-blocking comments, I suspect that many of these have already
> been raised/discussed so really just want to check that they had been
> proactively considered.
> 
> 1)
>      TCP connection list: Access to status information for all TCP
>      connections.  Note, the connection table is modeled as a list that
>      is read-writeable, even though a connection cannot be created by
>      adding entries to the table.  Similarly, deletion of connections
>      from this list is implementation-specific.
> 
> I think that it would be helpful to further describe and perhaps constrain the
> behaviour here:
> - I would suggest clarifying that the list is read/writable to allow
> configuration to be associated with existing connections, or connections that
> may be subsequently made. - It would be helpful to understand what happens if
> the configuration for a connection changes for an existing connection.  Does
> it force the connection to be closed and reopened?  Or does it depend on the
> configuration change? - I don't think that deleting the configuration
> properties should cause a connection to be closed (although it might cause the
> connection to flap, as per my comment above.)  E.g., for BGP, isn't it the BGP
> neighbour configuration that should control whether a connection logically
> exists?
> 
> 2) With the ambiguity regarding YANG IP address and zones, can I clarify that
> in all cases, the intention is that zoned ip-addresses are allowed where the
> inet:ip-address type is used?
> 
> 3) leaf enable-ao {
> I presume that there was a conscious decision not to use a presence container
> here (and hence avoid the need for the must statements)?
> 
> 4) leaf enable-md5 {
> I presume that implementations won't need to add extra MD5 specific parameters?
> I.e., it doesn't make sense for this to be a presence container?
> 
> 5) Connection is closed. Connections in this state
>                    may not appear in this list.";
> 
> In the operational state tree then what does the tcp/connections list
> represent?  Does it contain all connections that either exist or have some
> configuration associated with them?
> 
> 6) I think that leaf "state" (describing the connection state) should be marked
> as "config false".  A client should not be able to configure the current
> protocol "state".
> 
> 7)      leaf address {
>           type union {
>             type string;
>             type inet:ip-address;
>           }
> 
> Given the described behaviour, then I think that you should probably:
> (i) List the inet:ip-address type first.
> (ii) Add a length "0" restriction to the string type.
>  
> I am trying to model (ii) but do not know how. If we are trying to model ‘’h, a zero length octet-string, what would the restriction look like?
>  
> leaf address {
>   type union {
>     type string {
>       length 0;
>     }
>     type inet:ip-address;
>   }
> }
> 
> 
> 
> 8)              For an application willing to accept both IPv4 and
>                 IPv6 datagrams, the value of this object must be
>                 ''h (a zero-length octet-string), with the value
>                 of the corresponding 'type' object being
>                 unknown (0).
> 
> What does the h mean?  I've got a nagging feeling that this is a known
> convention ...  I presumed that the WG considered and dismissed the option of
> having two separate listeners listed, one for v4 and one for v6 rather than the
> union with the string type?
> 
> 9)
> list tcp-listeners {
>         key "type address port";
> This allows multiple listeners for the same port.  I just wanted to check that
> is allowed/expected?
> 
> 10) container statistics
> 
> These counters are global level, so there are not many of them.  Some of these
> counters are 32 bits, I presume that there is no reasonable risk that they
> would overflow over a reasonable time frame?
> 
> Nits:
> 
> included in TCP MIB => included in the TCP MIB
> TCP-AO TCP-AO [RFC5925] => Duplicate TCP-AO.
> 
> Thanks,
> Rob
> 
> 
> 
>  
> 
> Mahesh Jethanandani
> mjethanandani@gmail.com <mailto:mjethanandani@gmail.com>

Mahesh Jethanandani
mjethanandani@gmail.com