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

"Scharf, Michael" <Michael.Scharf@hs-esslingen.de> Tue, 21 June 2022 09:12 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 2EAEFC15D88C; Tue, 21 Jun 2022 02:12:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.105
X-Spam-Level:
X-Spam-Status: No, score=-2.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_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=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 hffx_z6nTNlh; Tue, 21 Jun 2022 02:12:41 -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 0AA3CC15AAFE; Tue, 21 Jun 2022 02:12:40 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.hs-esslingen.de (Postfix) with ESMTP id 5ADB825A13; Tue, 21 Jun 2022 11:12:38 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hs-esslingen.de; s=mail; t=1655802758; bh=HwkyA5HMzVDq6YeAOjiZdK6iOcjk8MdbnL88ww5kcIc=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=FkjcbeduEFtiu+92kAq6to0D3aSuVFj5mknF/Y0yDbd/2+7Zvd35AVJfIcd1lprJL BK9bSJvbTLi+usnvKR+XGskNz9ciidfhTWPNphu1SJAy6BW5q6lpr/pbWBdC2NgmAT Sd4lZhnV7cy5Ln+ur3g+fFphS3Zx9E8nWcJD2cQg=
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 1JpP4R4Iv6Hu; Tue, 21 Jun 2022 11:12:36 +0200 (CEST)
Received: from rznt8202.rznt.rzdir.fht-esslingen.de (rznt8202.hs-esslingen.de [134.108.48.165]) (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; Tue, 21 Jun 2022 11:12:36 +0200 (CEST)
Received: from rznt8202.rznt.rzdir.fht-esslingen.de (134.108.48.165) by rznt8202.rznt.rzdir.fht-esslingen.de (134.108.48.165) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Tue, 21 Jun 2022 11:12:36 +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.028; Tue, 21 Jun 2022 11:12:36 +0200
From: "Scharf, Michael" <Michael.Scharf@hs-esslingen.de>
To: 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>
CC: "tcpm@ietf.org" <tcpm@ietf.org>, "grow@ietf.org" <grow@ietf.org>
Thread-Topic: How to reuse the tcp model in the BMP model - asking for suggestions
Thread-Index: AQHYXwQeN+SwQl3LFEmMyted4jIbUq1Tl5FwgAA4QgCABg4gQA==
Date: Tue, 21 Jun 2022 09:12:36 +0000
Message-ID: <3577f12509e949a49ba9494c4f9bb1d7@hs-esslingen.de>
References: <39BBD72C-808D-45CF-B832-9EF786F45F06@gin.ntt.net> <a8e7d4449ded44cd805f2a20f75b14e8@hs-esslingen.de> <7F96BC15-66B6-4F6B-9B68-AC59FAA0FF39@gin.ntt.net>
In-Reply-To: <7F96BC15-66B6-4F6B-9B68-AC59FAA0FF39@gin.ntt.net>
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_3577f12509e949a49ba9494c4f9bb1d7hsesslingende_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/PY_Zvu1KDZNUsd38MONvMfXhdbs>
Subject: Re: [tcpm] 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: Tue, 21 Jun 2022 09:12:46 -0000

Hi Camilo,

There are existing examples for YANG modules that model application-specific configuration for TCP connections, such as:

  *   draft-ietf-idr-bgp-model
  *   draft-ietf-netconf-tcp-client-server

I would assume that BMP could be modeled like that.

Note that the model for TCP-AO authentication has changed in draft-ietf-tcpm-yang-tcp-07 because of last call comments, i.e., some model aspects can still be subject to change.

Michael

From: Camilo Cardona <camilo@gin.ntt.net>
Sent: Friday, June 17, 2022 4:37 PM
To: Scharf, Michael <Michael.Scharf@hs-esslingen.de>; draft-ietf-tcpm-yang-tcp.authors@ietf.org; draft-ietf-tcpm-yang-tcp@ietf.org
Cc: tcpm@ietf.org; grow@ietf.org
Subject: Re: How to reuse the tcp model in the BMP model - asking for suggestions


Hello Michael,



First of all, thanks for considering our questions and letting us know about this new version.



Please keep in mind that the BMP model draft is in very early stages, not even a WG draft yet, it might change in the future. So, we apologise if we cannot give you exact requirements.



Having said that, it will feasible that the model will need to include multiple TCP configurations. Defining the connection might be specific to the application, but BMP requires other  features like authentication, MSS, keepalives which seem general enough. What we wanted was to leverage other model for this, if existing.



Thus, I guess the most general question we can make is , How is the recommended way of reusing the tcp model?



Thanks,

Camilo Cardona


From: "Scharf, Michael" <Michael.Scharf@hs-esslingen.de<mailto:Michael.Scharf@hs-esslingen.de>>
Date: Friday, 17 June 2022 at 04:26
To: Camilo Cardona <camilo@gin.ntt.net<mailto:camilo@gin.ntt.net>>, "draft-ietf-tcpm-yang-tcp.authors@ietf.org<mailto:draft-ietf-tcpm-yang-tcp.authors@ietf.org>" <draft-ietf-tcpm-yang-tcp.authors@ietf.org<mailto:draft-ietf-tcpm-yang-tcp.authors@ietf.org>>, "draft-ietf-tcpm-yang-tcp@ietf.org<mailto:draft-ietf-tcpm-yang-tcp@ietf.org>" <draft-ietf-tcpm-yang-tcp@ietf.org<mailto:draft-ietf-tcpm-yang-tcp@ietf.org>>
Cc: "tcpm@ietf.org<mailto:tcpm@ietf.org>" <tcpm@ietf.org<mailto:tcpm@ietf.org>>, "grow@ietf.org<mailto:grow@ietf.org>" <grow@ietf.org<mailto:grow@ietf.org>>
Subject: RE: How to reuse the tcp model in the BMP model - asking for suggestions

Hi Camilo,

We have looked into the question of groupings when preparing version -07, which tries to address other last call reviews (see https://datatracker.ietf.org/doc/html/draft-ietf-tcpm-yang-tcp-07 or https://www.ietf.org/rfcdiff?url2=draft-ietf-tcpm-yang-tcp-07). Yet, we decided not to introduce groupings in -07.

We would like to first better understand the actual use case in your model. Why would the BMP yang model indeed use exactly the same definitions of “common”, and “statistics” sections of ietf-tcpm?

The counters in statistics typically apply the whole TCP stack, not to an application. Why would your model not use application-specific events instead?

Also, the exact status of a TCP connection as seen by the TCP stack will typically not matter to the application. Note that this part of the model also has changed in -07 because of other review comments. Would your model indeed want to include e.g. the internal state of a TCP connection?

Note that it is possible that a follow-up version -08 will be required due to other reviews, i.e., we could look at this question in a version -08 again.

Thanks

Michael


From: Camilo Cardona <camilo@gin.ntt.net<mailto:camilo@gin.ntt.net>>
Sent: Tuesday, May 3, 2022 5:40 PM
To: draft-ietf-tcpm-yang-tcp.authors@ietf.org<mailto:draft-ietf-tcpm-yang-tcp.authors@ietf.org>; draft-ietf-tcpm-yang-tcp@ietf.org<mailto:draft-ietf-tcpm-yang-tcp@ietf.org>
Cc: tcpm@ietf.org<mailto:tcpm@ietf.org>; grow@ietf.org<mailto:grow@ietf.org>
Subject: How to reuse the tcp model in the BMP model - asking for suggestions

Hello draft-ietf-tcpm-yang-tcp authors,

We are analysing how to leverage the tcpm model for managing tcp connectivity in the BMP yang model (draft-cptb-grow-bmp-yang-02).

In general, how do you suggest other models reuse ietf-tcpm? Most of tcpm model is defined directly in containers, not as groups, and we are finding hard to take the pieces that we need.

Let us shortly gointo details.

Regarding the 4-tuple connection, in BMP, we would like to have a “default” case in which the configured device connects to another using ip/port (i.e. active case),  but also to provide the option of expecting the  tcp connection over a local ip/port (i.e. passive case). We might need our own container for this.

However, we would like to integrate the “common”, and “statistics” sections of ietf-tcpm, but, they are containers, so we really do not know what to do besides recreating it.

Do you have any suggestions?

Thanks,
draft-cptb-grow-bmp-yang authors