Re: [netmod] Adoption poll for draft-wu-netmod-factory-default-02

"Rob Wilton (rwilton)" <rwilton@cisco.com> Tue, 26 March 2019 07:01 UTC

Return-Path: <rwilton@cisco.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 93D3612028B for <netmod@ietfa.amsl.com>; Tue, 26 Mar 2019 00:01:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.5
X-Spam-Level:
X-Spam-Status: No, score=-14.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
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 lKU8YgT4gT65 for <netmod@ietfa.amsl.com>; Tue, 26 Mar 2019 00:01:56 -0700 (PDT)
Received: from rcdn-iport-4.cisco.com (rcdn-iport-4.cisco.com [173.37.86.75]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 20D59120284 for <netmod@ietf.org>; Tue, 26 Mar 2019 00:01:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=14326; q=dns/txt; s=iport; t=1553583716; x=1554793316; h=from:to:subject:date:message-id:references:in-reply-to: mime-version; bh=aYts3QEkQ7pHOp9SgzFi6xPeAa9NvAG/arVatJ3ayOQ=; b=RIgoXQD30/u/1zIc0k9FuXrvqPqVd4F0dfhUVEJYxyGKtvNpv4IAkPds Nl26IFH1VUbU7gyebLX9O7wsHnNBnc4Rz/YE8FaGpjbQettz9jA0F7hov hbeDo3GgSKMxJfm2Bee/n9fE6/AJuKlldkTyIhdVeNe3rhtDTiUFlrTCw Y=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0AEAAB/zZlc/4QNJK1kGgEBAQEBAgE?= =?us-ascii?q?BAQEHAgEBAQGBUQUBAQEBCwGBDoECaIEDJwqEBIgciySCDZJEhXcUgWcNAQE?= =?us-ascii?q?jgVSCdQIXhQEiNAkNAQEDAQEJAQMCbRwMhUoBAQEEIwpcAgEIEQQBASsCAgI?= =?us-ascii?q?wHQgCBAESCBODCIERZA+tNIEvhDQChXoFgS8BizEXgUA/gRGDEj6CYQEBA4E?= =?us-ascii?q?rARIBCAODHoJXA4xwhCGUCAkCh2GLUCGCAoV9jAOLHYYGjSoCERWBLh84ZXF?= =?us-ascii?q?wFYMniwyFP0ExjXwOF4EIgR8BAQ?=
X-IronPort-AV: E=Sophos;i="5.60,271,1549929600"; d="scan'208,217";a="539625388"
Received: from alln-core-10.cisco.com ([173.36.13.132]) by rcdn-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 26 Mar 2019 07:01:54 +0000
Received: from XCH-ALN-008.cisco.com (xch-aln-008.cisco.com [173.36.7.18]) by alln-core-10.cisco.com (8.15.2/8.15.2) with ESMTPS id x2Q71smE012373 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 26 Mar 2019 07:01:54 GMT
Received: from xch-rcd-007.cisco.com (173.37.102.17) by XCH-ALN-008.cisco.com (173.36.7.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 26 Mar 2019 02:01:53 -0500
Received: from xch-rcd-007.cisco.com ([173.37.102.17]) by XCH-RCD-007.cisco.com ([173.37.102.17]) with mapi id 15.00.1473.003; Tue, 26 Mar 2019 02:01:53 -0500
From: "Rob Wilton (rwilton)" <rwilton@cisco.com>
To: Kent Watsen <kent+ietf@watsen.net>, "netmod@ietf.org" <netmod@ietf.org>, =?utf-8?B?QmFsw6F6cyBMZW5neWVs?= <balazs.lengyel@ericsson.com>, Qin Wu <bill.wu@huawei.com>
Thread-Topic: [netmod] Adoption poll for draft-wu-netmod-factory-default-02
Thread-Index: AQHU40pAE0rZobHHcEaspplVrDxwYKYdd2DA
Date: Tue, 26 Mar 2019 07:01:53 +0000
Message-ID: <7cc1a662c56748eb8edfc767735d4a5d@XCH-RCD-007.cisco.com>
References: <01000169b69032d0-ca63f6e6-7c28-46ad-b0bc-d47b72d4e118-000000@email.amazonses.com>
In-Reply-To: <01000169b69032d0-ca63f6e6-7c28-46ad-b0bc-d47b72d4e118-000000@email.amazonses.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.61.79.96]
Content-Type: multipart/alternative; boundary="_000_7cc1a662c56748eb8edfc767735d4a5dXCHRCD007ciscocom_"
MIME-Version: 1.0
X-Outbound-SMTP-Client: 173.36.7.18, xch-aln-008.cisco.com
X-Outbound-Node: alln-core-10.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/BP8PaemM318-IZ8305SPOD530JQ>
Subject: Re: [netmod] Adoption poll for draft-wu-netmod-factory-default-02
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, 26 Mar 2019 07:01:59 -0000

I support this draft as a starting place for this work, but I would like to see some changes in the final solution:

I think that having a datastore report the factory default configuration is good, and it is also right that this should be optional to implement, since some devices might not have default factory configuration, but instead run a first boot sequence to construct an initial configuration.

I don’t really understand the need to be able to perform a factory reset on a per datastore basis, but instead I would prefer to see a single device level factory reset RPC.  Such an RPC may do more than just resetting the configuration and rebooting the device, it might also change the software version, wipe areas of storage such as log files, cached files, etc.  Possibly, some of these options could be controlled via parameters to the RPC if there is enough commonality, of otherwise vendors could augment in their own options to a minimal standard RPC.

Copying from <factory-default> to another datastore is OK with me, although I don’t see any particular need/value in doing this, hence I would rather see <copy-config> fixed more generically to allow copying between two configuration datastores than specifically augmenting specifically for this datastore.  Hence, I think that extending/replacing the <copy-config> RPC could probably be deferred to a NETCONF-bis or NETCONF-NMDA-bis document.

I don’t see a need for this document to reference or refer to the instances-data draft.  I think that using instance-data rather than a factory-default datastore is just an internal implementation detail and shouldn’t be exposed to the user.

However, Balazs, I do see merit in allowing the contents of any configuration datastore to be loaded from an instance-data file, or written to an instance data file (either local or remote).   But, I don’t think that this should go into this draft, and probably it is too late to add this to the instance-data draft.

Thanks,
Rob


From: netmod <netmod-bounces@ietf.org>; On Behalf Of Kent Watsen
Sent: 25 March 2019 21:35
To: netmod@ietf.org
Subject: [netmod] Adoption poll for draft-wu-netmod-factory-default-02

This email begins a 2-week adoption poll for:


    https://tools.ietf.org/html/draft-wu-netmod-factory-default-02


Please voice your support or objections before April 8.<x-apple-data-detectors://1>


Kent (and Lou)