[netmod] FW: I-D Action: draft-ietf-netmod-system-config-02.txt

"maqiufang (A)" <maqiufang1@huawei.com> Tue, 04 July 2023 12:16 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 0CE7BC1519A9 for <netmod@ietfa.amsl.com>; Tue, 4 Jul 2023 05:16:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.886
X-Spam-Level:
X-Spam-Status: No, score=-6.886 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=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 a80cYp8jNY4H for <netmod@ietfa.amsl.com>; Tue, 4 Jul 2023 05:16:30 -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 4ABF3C1519A2 for <netmod@ietf.org>; Tue, 4 Jul 2023 05:16:30 -0700 (PDT)
Received: from lhrpeml500001.china.huawei.com (unknown [172.18.147.226]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4QwMDM1D7nz6J7Ng for <netmod@ietf.org>; Tue, 4 Jul 2023 20:14:43 +0800 (CST)
Received: from kwepemm000020.china.huawei.com (7.193.23.93) by lhrpeml500001.china.huawei.com (7.191.163.213) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 4 Jul 2023 13:16:27 +0100
Received: from kwepemm600017.china.huawei.com (7.193.23.234) by kwepemm000020.china.huawei.com (7.193.23.93) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 4 Jul 2023 20:16:25 +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.027; Tue, 4 Jul 2023 20:16:25 +0800
From: "maqiufang (A)" <maqiufang1@huawei.com>
To: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] I-D Action: draft-ietf-netmod-system-config-02.txt
Thread-Index: AQHZrmee2u3GtLA+z06NKkPxImMKbq+pcxww
Date: Tue, 04 Jul 2023 12:16:25 +0000
Message-ID: <68265130a3e64e4899de0fa785c75546@huawei.com>
References: <168846870530.12986.3102244108813472026@ietfa.amsl.com>
In-Reply-To: <168846870530.12986.3102244108813472026@ietfa.amsl.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.136.118.147]
Content-Type: multipart/alternative; boundary="_000_68265130a3e64e4899de0fa785c75546huaweicom_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/4NZwUB7H-gLD_YAAFSNy0GO2HpE>
Subject: [netmod] FW: I-D Action: draft-ietf-netmod-system-config-02.txt
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.39
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, 04 Jul 2023 12:16:35 -0000

Hi, all



v-02 is available now, most of the update reflects comments raised by Jason (thank you Jason!), as well as some recent discussion happened on the list.

A diff compared from the previous version is available at:

https://author-tools.ietf.org/iddiff?url2=draft-ietf-netmod-system-config-02.





With the ongoing discussion of the issue "should referenced system configuration always be copied into <running>", there are some other notable issues which have already been touched on or recognized by other folks, the authors feel we might need more discussion:



*             What if the system configuration is updated, and the stale copy is still present in <running>? What's the consequence?



The current document does not allow the configuration copied from <system> into <running> to be updated automatically if the configuration in <system> is updated. The intent is still not to surprise client with unexpected changes.



Notice that Kent was suggesting two options:"



1)      The system-draft says non-necessary fields MUST NOT be copied into <running>.  This may be difficult to enforce, but I believe it's viable.


2)      The system-draft says that it is the server's responsibility to migrate the data in running/startup/candidate during a software update"

            And also maybe option 3): the server updates the configuration in <running> to ensure consistence with what is in <system>.






*             Should the origin="system" be required for system configuration copied into <running>?



This affects the XML snippets example in sec.5.5.1 , the origin value of the key name of application "ftp" and "tftp" which is copied into <running> to fulfil leafref constraints.



There was a proposal to use origin="intended". But after think about it, basically when <running> is merged with <system> to become <intended>, configuration in <running> takes precedence over <system> if the node allows to be modified.

So origin="intended" seems no issue in this case.

But suppose the system defined node is immutable, a client writing a same value of that node in <running> will still cause it to appear in <operational> with origin="intended"? that doesn't seem true since it's not really about "override".

I personally feel it better to use origin="system" for consistence, but would also welcome different opinions.

Thoughts?

Best Regards,
Qiufang





-----Original Message-----
From: netmod [mailto:netmod-bounces@ietf.org] On Behalf Of internet-drafts@ietf.org
Sent: Tuesday, July 4, 2023 7:05 PM
To: i-d-announce@ietf.org
Cc: netmod@ietf.org
Subject: [netmod] I-D Action: draft-ietf-netmod-system-config-02.txt





A New Internet-Draft is available from the on-line Internet-Drafts directories. This Internet-Draft is a work item of the Network Modeling

(NETMOD) WG of the IETF.



   Title           : System-defined Configuration

   Authors         : Qiufang Ma

                     Qin Wu

                     Feng Chong

   Filename        : draft-ietf-netmod-system-config-02.txt

   Pages           : 46

   Date            : 2023-07-04



Abstract:

   This document describes how a management client and server handle

   YANG-modeled configuration data that is defined by the server itself.

   The system-defined configuration can be referenced (e.g. leafref) by

   configuration explicitly created by a client.



   The Network Management Datastore Architecture (NMDA) defined in RFC

   8342 is updated with a read-only conventional configuration datastore

   called "system" to hold system-defined configuration.  As an

   alternative to clients explicitly copying referenced system-defined

   configuration into the target configuration datastore (e.g.,

   <running>) so that the datastore is valid, a "resolve-system"

   parameter is defined to allow the server acting as a "system client"

   to copy referenced system-defined nodes automatically.  This solution

   enables clients manipulating the target configuration datastore

   (e.g., <running>) to overlay (e.g., copy system configuration using

   the same key value as in <system>) and reference nodes defined in

   <system>, override values of configurations defined in <system>, and

   configure descendant nodes of system-defined nodes.



   This document updates RFC 8342, RFC 6241, RFC 8526 and RFC 8040.



The IETF datatracker status page for this Internet-Draft is:

https://datatracker.ietf.org/doc/draft-ietf-netmod-system-config/



There is also an htmlized version available at:

https://datatracker.ietf.org/doc/html/draft-ietf-netmod-system-config-02



A diff from the previous version is available at:

https://author-tools.ietf.org/iddiff?url2=draft-ietf-netmod-system-config-02



Internet-Drafts are also available by rsync at rsync.ietf.org::internet-drafts





_______________________________________________

netmod mailing list

netmod@ietf.org<mailto:netmod@ietf.org>

https://www.ietf.org/mailman/listinfo/netmod