Re: [netmod] [CCAMP][TEAS][NETMOD] Efficiency issues with YANG model data in integration

Robert Varga <nite@hq.sk> Fri, 25 March 2022 22:16 UTC

Return-Path: <nite@hq.sk>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C4D853A0D53 for <netmod@ietfa.amsl.com>; Fri, 25 Mar 2022 15:16:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.109
X-Spam-Level:
X-Spam-Status: No, score=-2.109 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, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=hq.sk
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JC2jeyncx1Cj for <netmod@ietfa.amsl.com>; Fri, 25 Mar 2022 15:16:49 -0700 (PDT)
Received: from mail.hq.sk (hq.sk [81.89.59.181]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 73D443A060D for <netmod@ietf.org>; Fri, 25 Mar 2022 15:16:48 -0700 (PDT)
Received: from [192.168.1.146] (chello085216197060.chello.sk [85.216.197.60]) by mail.hq.sk (Postfix) with ESMTPSA id A729F247875; Fri, 25 Mar 2022 23:16:44 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hq.sk; s=mail; t=1648246604; bh=A5/HnYhSZBfm8SrRqWATX3KPsy1bYdDbly+yZ2RVV74=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=qg1iyNp3M6e8Vywb2IIxB53EJd8J7+HFDnZmHvP2K7st+P22O1tA3nVDkVrXRP6GT Q8oa6eyju04iUb+xYRBkXxD6pTSFUHfyd9Cr7APHMkPn30En5qYNn6HwaO/3MYq/Ox UmS1oHdSVvVJdkF8qoV+Kz+szxYApBhPk10m8zQY=
Message-ID: <ace62c2b-0a9c-b568-e238-040c633edaa3@hq.sk>
Date: Fri, 25 Mar 2022 23:16:43 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0
Content-Language: en-US
To: tom petch <ietfc@btconnect.com>, yuchaode <yuchaode=40huawei.com@dmarc.ietf.org>, "'netmod@ietf.org'" <netmod@ietf.org>
Cc: Fatai Zhang <zhangfatai@huawei.com>
References: <67664d6fff3e4125a1ac026030ef067c@huawei.com> <AM7PR07MB62483C667188F5EBBE26F6B4A0129@AM7PR07MB6248.eurprd07.prod.outlook.com>
From: Robert Varga <nite@hq.sk>
In-Reply-To: <AM7PR07MB62483C667188F5EBBE26F6B4A0129@AM7PR07MB6248.eurprd07.prod.outlook.com>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="------------NSdSWi30TOZaHY04x0UFRBU8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/1xRf3jlsd5c3j9fs1k-GJYt4CGs>
Subject: Re: [netmod] [CCAMP][TEAS][NETMOD] Efficiency issues with YANG model data in integration
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 25 Mar 2022 22:16:56 -0000

On 17/03/2022 17:32, tom petch wrote:
> <tp>
> When the data definition language that we know as YANG was being specified, the question did arise of how object-oriented it should be and the consensus was that it should not be.  Seeking to retrofit such a concept might be a bit like finding late in the day that the class definitions that have been chosen do not go high up enough the tree:-(
> 
> An interesting idea but I am not sure how feasible it will prove to be.

RFC6095 might be a starting point for that sort of work. I am not sure 
anybody ever implement that, though.

Regards,
Robert