[netmod] Should the origin="system" be required for system configurations copied/pasted into <running>?

"maqiufang (A)" <maqiufang1@huawei.com> Tue, 23 November 2021 02:58 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 E583E3A0D0A for <netmod@ietfa.amsl.com>; Mon, 22 Nov 2021 18:58:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 DogkZfpxgqyv for <netmod@ietfa.amsl.com>; Mon, 22 Nov 2021 18:58:00 -0800 (PST)
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 31D8C3A0D05 for <netmod@ietf.org>; Mon, 22 Nov 2021 18:58:00 -0800 (PST)
Received: from fraeml735-chm.china.huawei.com (unknown [172.18.147.200]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4HyphB1WRQz6H7wG for <netmod@ietf.org>; Tue, 23 Nov 2021 10:56:58 +0800 (CST)
Received: from kwepemm000018.china.huawei.com (7.193.23.4) by fraeml735-chm.china.huawei.com (10.206.15.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 23 Nov 2021 03:57:56 +0100
Received: from kwepemm600017.china.huawei.com (7.193.23.234) by kwepemm000018.china.huawei.com (7.193.23.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 23 Nov 2021 10:57:54 +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.2308.020; Tue, 23 Nov 2021 10:57:54 +0800
From: "maqiufang (A)" <maqiufang1@huawei.com>
To: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] Should the origin="system" be required for system configurations copied/pasted into <running>?
Thread-Index: AdffkR5sVtMRYIzeTpCisQ2IqIgmxw==
Date: Tue, 23 Nov 2021 02:57:54 +0000
Message-ID: <691d9e3445a546608166ab3dbda96137@huawei.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.136.100.87]
Content-Type: multipart/alternative; boundary="_000_691d9e3445a546608166ab3dbda96137huaweicom_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/dskOvY0jHnriK75VRUM4sxLQMrI>
Subject: [netmod] Should the origin="system" be required for system configurations copied/pasted into <running>?
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: Tue, 23 Nov 2021 02:58:04 -0000

Hi, all

There is still another issue which is about origin metadata annotation: should the origin="system" be required for system configurations copied/pasted into <running>?

Currently any system configuration explicitly declared in <running> in order to configure its descendant nodes or maintain <running> offline-valid will show up in <operational> with origin=intended.
The question behind this issue is whether we want a copied/pasted system defined data node to override and take precedence over <system>.

The choices and some considerations of this issue received so far:
o    Origin=system IS required for system configuration copied/pasted into <running>
?  I believe that "system" reflects the most accurate source in this case. And only in this way, a server can allow a read-only system configuration to be declared in <running>(e.g., in order to valid <running>) by the clients.
?  The challenge for this choice is on the server side. It MUST be able to recognize a particular data node which explicitly defined in <running> is actually a mirror of what is in <system>.
o    Origin=system is NOT required for system configuration copied/pasted into <running>
?  Good consistency. For all configurations explicitly defined in <running>, if they appear in <operational>, the origin value is "intended" with no exceptions.
o    Define a system-mode which is similar to with-defaults basic mode and allow a server to advertise a particular behavior
?  Does it mean we could get the Pros from both choices?
Any other thoughts?