[netmod] Re: Yang Scalability
"maqiufang (A)" <maqiufang1@huawei.com> Wed, 24 July 2024 02:28 UTC
Return-Path: <maqiufang1@huawei.com>
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 71BC7C1DFD4A for <netmod@ietfa.amsl.com>; Tue, 23 Jul 2024 19:28:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.903
X-Spam-Level:
X-Spam-Status: No, score=-1.903 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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
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 Sxw_4zarPCH3 for <netmod@ietfa.amsl.com>; Tue, 23 Jul 2024 19:28:18 -0700 (PDT)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CCEB5C18DB9A for <netmod@ietf.org>; Tue, 23 Jul 2024 19:28:17 -0700 (PDT)
Received: from mail.maildlp.com (unknown [172.18.186.231]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4WTHvd0DH1z6K5bv; Wed, 24 Jul 2024 10:26:37 +0800 (CST)
Received: from lhrpeml500004.china.huawei.com (unknown [7.191.163.9]) by mail.maildlp.com (Postfix) with ESMTPS id 1B7B4140A71; Wed, 24 Jul 2024 10:28:14 +0800 (CST)
Received: from kwepemm600017.china.huawei.com (7.193.23.234) by lhrpeml500004.china.huawei.com (7.191.163.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Wed, 24 Jul 2024 03:28:13 +0100
Received: from kwepemm600017.china.huawei.com (7.193.23.234) by kwepemm600017.china.huawei.com (7.193.23.234) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Wed, 24 Jul 2024 10:28:11 +0800
Received: from kwepemm600017.china.huawei.com ([7.193.23.234]) by kwepemm600017.china.huawei.com ([7.193.23.234]) with mapi id 15.01.2507.039; Wed, 24 Jul 2024 10:28:11 +0800
From: "maqiufang (A)" <maqiufang1@huawei.com>
To: "deepak.rajaram@nokia.com" <deepak.rajaram@nokia.com>, "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: Yang Scalability
Thread-Index: Adrc2Wg3jNtQ1tF7RRKseYVve/FgFAAJ5Vwg
Date: Wed, 24 Jul 2024 02:28:11 +0000
Message-ID: <e029b09c5db2487bb42d41df66437440@huawei.com>
References: <AS4PR07MB8411551211BE217ACE4D9EBF81A92@AS4PR07MB8411.eurprd07.prod.outlook.com>
In-Reply-To: <AS4PR07MB8411551211BE217ACE4D9EBF81A92@AS4PR07MB8411.eurprd07.prod.outlook.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.84.41.105]
Content-Type: multipart/alternative; boundary="_000_e029b09c5db2487bb42d41df66437440huaweicom_"
MIME-Version: 1.0
Message-ID-Hash: UMZSHFL55YOSRXEW3M46HZIZYJDUTBUE
X-Message-ID-Hash: UMZSHFL55YOSRXEW3M46HZIZYJDUTBUE
X-MailFrom: maqiufang1@huawei.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-netmod.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [netmod] Re: Yang Scalability
List-Id: NETMOD WG list <netmod.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/27OegMjnCuE0IM9I5j8KqmGIRfI>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Owner: <mailto:netmod-owner@ietf.org>
List-Post: <mailto:netmod@ietf.org>
List-Subscribe: <mailto:netmod-join@ietf.org>
List-Unsubscribe: <mailto:netmod-leave@ietf.org>
Hi, Deepak, Thanks a lot for bring this to IETF, I’d like to comment on the #3 requirement you mentioned below, regarding the use of templates, I believe this is related to your slides from #11 to #14. First, I think the default and mandatory statements defined in the YANG modules should follow the way it is supposed to be, it doesn’t make a lot of sense to me to remove them simply because we have issues when using them in template mechanism. Slide #13 (e.g., “Hence solving these issues requires new modules without mandatories and defaults”) seems to indicate that you’re finding ways to remove the default and mandatory statements in published modules, but I feel this should not be right way to go. I guess I don’t really understand the issues you are describing here, I fully agree that the results should be a merge of the template and values explicitly provided, with the latter ones taking precedence over the template. But for the default configuration, the slides mentioned “A default statement will (silently !) overrule a different value coming from the template if not explicitly configured to repeat the template value.” To me, this is not the always the case, and it would probably depend on the with-defaults basic mode defined in RFC 6243 which defines how a server handles the default data. For example, if it is “report-all” basic mode, the server would consider every data node with a schedule default value to exist, and then it would probably override a template value silently; but if the server uses a “explicit” basic mode, it won’t consider the default data to exist until it is explicitly provided by the client, so it feels to me that what is configured in the template should become the final merged result. For mandatory node, could you please clarify a little bit on why “A mandatory statement forces an ONU instance to repeat a data node already configured in the template”? For validation purpose? But I think it is the merged results that should be subject to validation. I am sorry if I have any misunderstandings, I would wait for your I-D and see if that helps understand it better. Thanks. Best Regards, Qiufang From: Deepak Rajaram (Nokia) <deepak.rajaram=40nokia.com@dmarc.ietf.org> Sent: Tuesday, July 23, 2024 4:52 PM To: netmod@ietf.org Subject: [netmod] Yang Scalability Dear all Thanks for the opportunity to present on yang scalability, this is a follow-up after having briefly introduced the real-life YANG scalability and performance challenges layed out in the Broadband Forum liaison. I would encourage NETMOD participants to go over the slides in the meeting materials section of ietf-120/netmod. slides-120-netmod-10-bbf-liaison-on-management-at-scale-projects<https://datatracker.ietf.org/meeting/120/materials/slides-120-netmod-10-bbf-liaison-on-management-at-scale-projects> Short summary: Based on studies conducted by several Broadband Forum meeting participants, it is found that existing standard YANG implementations do not scale up to configurations that contain a very high number of interfaces; for instance in a Passive Optical Network, a single Optical Line Termination (OLT) can easily surpass 30.000 interfaces (i.e. a few per Optical Network Unit). This is a real challenge for network deployments. We are seeing scaling challenges in terms of datastore sizes and datastore manipulations (slow configuration, slow data retrieval). While a PON network is taken as an example, it’s more than likely this scaling challenge will find its way to other parts of networks as products and industry evolves. We believe this is something NETMOD needs to address with urgency. As a result of the study, to address such scalability issues, few salient points were analyzed and translated into following requirements: 1. “Clustering” data nodes 2. Reducing datastore size by using shared profiles 3. Reducing datastore size by using “templates” Existing ietf-schema-mount (RFC8528<https://www.rfc-editor.org/rfc/rfc8528>) and the new draft of full: embed<https://datatracker.ietf.org/doc/draft-jouqui-netmod-yang-full-include/> definitely prove to be useful for certain aspects, including reusability of modules as-is. Still, in their current form they fall short for overcoming the scalability issues, which we believe can be mitigated using “templates” and profiles. I expect a more detailed ID will be brought forward explaining the proposal of templates/profiles. In anticipation of this ID, I would welcome the group to go over the slides for more details on the concepts. Any feedback/suggestions are more than welcome 😊 Regards Deepak
- [netmod] Re: Yang Scalability maqiufang (A)
- [netmod] Re: Yang Scalability Deepak Rajaram (Nokia)
- [netmod] Re: Yang Scalability Deepak Rajaram (Nokia)
- [netmod] Re: Yang Scalability Robert Peschi (Nokia)
- [netmod] Re: Yang Scalability Jürgen Schönwälder
- [netmod] Re: Yang Scalability Robert Peschi (Nokia)
- [netmod] Re: Yang Scalability Deepak Rajaram (Nokia)
- [netmod] Yang Scalability Deepak Rajaram (Nokia)
- [netmod] Re: Yang Scalability Jan Lindblad (jlindbla)
- [netmod] Re: Yang Scalability Italo Busi
- [netmod] Re: Yang Scalability Deepak Rajaram (Nokia)
- [netmod] Re: Yang Scalability Carsten Bormann
- [netmod] Re: Yang Scalability Robert Peschi (Nokia)
- [netmod] Re: Yang Scalability Carsten Bormann
- [netmod] Re: Yang Scalability Kent Watsen
- [netmod] Re: Yang Scalability Kent Watsen
- [netmod] Re: Yang Scalability Italo Busi
- [netmod] Re: Yang Scalability Italo Busi
- [netmod] Re: Yang Scalability Robert Peschi (Nokia)
- [netmod] Re: Yang Scalability Deepak Rajaram (Nokia)
- [netmod] Re: Yang Scalability Robert Peschi (Nokia)
- [netmod] Re: Yang Scalability Don Fedyk