Re: [tcpm] [GROW] How to reuse the tcp model in the BMP model - asking for suggestions

"Scharf, Michael" <Michael.Scharf@hs-esslingen.de> Mon, 05 September 2022 09:29 UTC

Return-Path: <Michael.Scharf@hs-esslingen.de>
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 1FF7AC15256F; Mon, 5 Sep 2022 02:29:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.104
X-Spam-Level:
X-Spam-Status: No, score=-7.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_NONE=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 (1024-bit key) header.d=hs-esslingen.de
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 lkxAaKd_OVCb; Mon, 5 Sep 2022 02:29:13 -0700 (PDT)
Received: from mail.hs-esslingen.de (mail.hs-esslingen.de [134.108.32.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E99AAC152584; Mon, 5 Sep 2022 02:29:04 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.hs-esslingen.de (Postfix) with ESMTP id 84C5025A3F; Mon, 5 Sep 2022 10:53:00 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hs-esslingen.de; s=mail; t=1662367980; bh=JYShVkNq0oAjGgWVxEOT5+JStNxofFxC8qbZCQg44H4=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=DnyvwJVH2/B6nKQA1USRrqgaKt1C/fEOEqkBQeLxg23XQyHuxMBDRyXqiFhdSBKUU ZZBAeEvJj8kFrZ8V8by+HodgLYBXUMP21y142oDKgotkmZPn2+RPEs+bitLYiWxECG IuwxDIdUoJ4f6ZxH9fUTqHM7gNJDFRJVi5hhN3Ck=
X-Virus-Scanned: by amavisd-new-2.7.1 (20120429) (Debian) at hs-esslingen.de
Received: from mail.hs-esslingen.de ([127.0.0.1]) by localhost (hs-esslingen.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vSTW4uRrdHCe; Mon, 5 Sep 2022 10:52:59 +0200 (CEST)
Received: from rznt8201.rznt.rzdir.fht-esslingen.de (rznt8201.hs-esslingen.de [134.108.48.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.hs-esslingen.de (Postfix) with ESMTPS; Mon, 5 Sep 2022 10:52:59 +0200 (CEST)
Received: from rznt8202.rznt.rzdir.fht-esslingen.de (134.108.48.165) by rznt8201.rznt.rzdir.fht-esslingen.de (134.108.48.164) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 5 Sep 2022 10:52:58 +0200
Received: from rznt8202.rznt.rzdir.fht-esslingen.de ([fe80::aca4:171a:3ee1:57e0]) by rznt8202.rznt.rzdir.fht-esslingen.de ([fe80::aca4:171a:3ee1:57e0%3]) with mapi id 15.01.2375.031; Mon, 5 Sep 2022 10:52:58 +0200
From: "Scharf, Michael" <Michael.Scharf@hs-esslingen.de>
To: Jeffrey Haas <jhaas@pfrc.org>, Mahesh Jethanandani <mjethanandani@gmail.com>
CC: Camilo Cardona <camilo@gin.ntt.net>, "draft-ietf-tcpm-yang-tcp.authors@ietf.org" <draft-ietf-tcpm-yang-tcp.authors@ietf.org>, "draft-ietf-tcpm-yang-tcp@ietf.org" <draft-ietf-tcpm-yang-tcp@ietf.org>, "tcpm@ietf.org" <tcpm@ietf.org>, "grow@ietf.org" <grow@ietf.org>
Thread-Topic: [GROW] How to reuse the tcp model in the BMP model - asking for suggestions
Thread-Index: AQHYXwQeN+SwQl3LFEmMyted4jIbUq1Tl5FwgAA4QgCABg4gQIA15qsAgASogICAEohEMIAAKsCAgAFnEhCAExvoAIABw3gAgAAL/QCADa1ogA==
Date: Mon, 05 Sep 2022 08:52:58 +0000
Message-ID: <e88b57ef02984116bf96da85b606b3bb@hs-esslingen.de>
References: <39BBD72C-808D-45CF-B832-9EF786F45F06@gin.ntt.net> <a8e7d4449ded44cd805f2a20f75b14e8@hs-esslingen.de> <7F96BC15-66B6-4F6B-9B68-AC59FAA0FF39@gin.ntt.net> <3577f12509e949a49ba9494c4f9bb1d7@hs-esslingen.de> <20220725181224.GC14067@pfrc.org> <73CA533F-0911-4A4A-9FF2-21377E3185F4@gin.ntt.net> <47bee885617e4694a6735b80aea9d352@hs-esslingen.de> <20220809145355.GA26219@pfrc.org> <3d87ff887dc74f26b011acc31ac967be@hs-esslingen.de> <20220822160754.GA14484@pfrc.org> <C20B8AFF-9C51-4102-8D55-3FD900DE8938@gmail.com> <E2EC0EAB-3F24-426A-A6C7-85BD0961538D@pfrc.org>
In-Reply-To: <E2EC0EAB-3F24-426A-A6C7-85BD0961538D@pfrc.org>
Accept-Language: de-DE, en-US
Content-Language: de-DE
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [134.108.140.249]
Content-Type: multipart/alternative; boundary="_000_e88b57ef02984116bf96da85b606b3bbhsesslingende_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/TSBkym7v2vDK6ZplNAbxNzMdLz0>
Subject: Re: [tcpm] [GROW] How to reuse the tcp model in the BMP model - asking for suggestions
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, 05 Sep 2022 09:29:17 -0000

Hi Jeff,

The authors have published version -08 to address feedback from various reviewers, including your one.

As you can see at the page https://www.ietf.org/rfcdiff?url2=draft-ietf-tcpm-yang-tcp-08, we added a typedef for MSS and leafs for MSS and PMTUD. Please review this change and let us know if this works for you.

We have _not_ added further nodes, as the use case is not clear and there has been no specific suggestion how the draft should be updated. As mentioned before, this document does not try to comprehensively model all potential parameters of a TCP stack.

Thanks

Michael


From: Jeffrey Haas <jhaas@pfrc.org>
Sent: Tuesday, August 23, 2022 9:47 PM
To: Mahesh Jethanandani <mjethanandani@gmail.com>
Cc: Scharf, Michael <Michael.Scharf@hs-esslingen.de>; Camilo Cardona <camilo@gin.ntt.net>; draft-ietf-tcpm-yang-tcp.authors@ietf.org; draft-ietf-tcpm-yang-tcp@ietf.org; tcpm@ietf.org; grow@ietf.org
Subject: Re: [GROW] How to reuse the tcp model in the BMP model - asking for suggestions

Mahesh,


On Aug 23, 2022, at 3:03 PM, Mahesh Jethanandani <mjethanandani@gmail.com<mailto:mjethanandani@gmail.com>> wrote:

In addition, I have now also checked the OpenConfig YANG models, and they also have ways to set the MSS, for instance:

   leaf tcp-mss {
     type uint16;
     description
       "Sets the max segment size for BGP TCP sessions.";
   }

An example above, where a typedef for the uint16 might be helpful.

Not clear on why you would like to see a typedef rather than a definition for MSS node as suggested by Michael. Or did you mean to put a range for the MSS value?

For individual instances implementing the MSS, you'll want a leaf.

The purpose of a typedef is having each of the places where MSS configuration or operational state is used have a consistent type/constraint and perhaps pointer into the TCP specs.

That way, as a theoretical example, you don't define MSS in one model as uint16 and another as uint32 with a range restriction - which might be how someone's implementation does it.

-- Jeff