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

Camilo Cardona <camilo@gin.ntt.net> Tue, 03 May 2022 15:40 UTC

Return-Path: <camilo@gin.ntt.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 5AC72C159822; Tue, 3 May 2022 08:40:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 mT_1_3ojAXbt; Tue, 3 May 2022 08:40:23 -0700 (PDT)
Received: from mail4.sttlwa01.us.to.gin.ntt.net (mail.gintest.ntt.net [204.2.238.64]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B82B7C159A29; Tue, 3 May 2022 08:39:50 -0700 (PDT)
Received: from [192.168.1.8] (unknown [IPv6:2001:418:1401:10::1005]) by mail4.sttlwa01.us.to.gin.ntt.net (Postfix) with ESMTPSA id DED0B22014A; Tue, 3 May 2022 15:39:48 +0000 (UTC)
User-Agent: Microsoft-MacOutlook/16.58.22021501
Date: Tue, 03 May 2022 10:39:43 -0500
From: Camilo Cardona <camilo@gin.ntt.net>
To: draft-ietf-tcpm-yang-tcp.authors@ietf.org, draft-ietf-tcpm-yang-tcp@ietf.org
CC: tcpm@ietf.org, grow@ietf.org
Message-ID: <39BBD72C-808D-45CF-B832-9EF786F45F06@gin.ntt.net>
Thread-Topic: How to reuse the tcp model in the BMP model - asking for suggestions
Mime-version: 1.0
Content-type: multipart/alternative; boundary="B_3734419189_1352809863"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/23WM-g-GMFN-PNb21OtGGnJ64Po>
X-Mailman-Approved-At: Wed, 04 May 2022 08:24:28 -0700
Subject: [tcpm] How to reuse the tcp model in the BMP model - asking for suggestions
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.34
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, 03 May 2022 15:40:25 -0000

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