Re: [Netconf] I-D Action: draft-wu-netconf-restconf-factory-restore-00.txt

Qin Wu <bill.wu@huawei.com> Thu, 28 June 2018 11:17 UTC

Return-Path: <bill.wu@huawei.com>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0002E130E52 for <netconf@ietfa.amsl.com>; Thu, 28 Jun 2018 04:17:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=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 GfwDtJqqLMzF for <netconf@ietfa.amsl.com>; Thu, 28 Jun 2018 04:17:04 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2EC5912F1A5 for <netconf@ietf.org>; Thu, 28 Jun 2018 04:17:04 -0700 (PDT)
Received: from LHREML713-CAH.china.huawei.com (unknown [172.18.7.108]) by Forcepoint Email with ESMTP id 59E57617A4DB2; Thu, 28 Jun 2018 12:17:00 +0100 (IST)
Received: from NKGEML414-HUB.china.huawei.com (10.98.56.75) by LHREML713-CAH.china.huawei.com (10.201.108.36) with Microsoft SMTP Server (TLS) id 14.3.382.0; Thu, 28 Jun 2018 12:17:01 +0100
Received: from NKGEML513-MBX.china.huawei.com ([169.254.1.193]) by nkgeml414-hub.china.huawei.com ([10.98.56.75]) with mapi id 14.03.0382.000; Thu, 28 Jun 2018 19:16:48 +0800
From: Qin Wu <bill.wu@huawei.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
CC: Rohit R Ranade <rohitrranade@huawei.com>, "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [Netconf] I-D Action: draft-wu-netconf-restconf-factory-restore-00.txt
Thread-Index: AQHUDgohYkKCob3+QEeCTKJnrpl8VqR0/o0ggAAh8wCAACTiQP//p6aAgACYsTA=
Date: Thu, 28 Jun 2018 11:16:48 +0000
Message-ID: <B8F9A780D330094D99AF023C5877DABA9AEBA3B6@nkgeml513-mbx.china.huawei.com>
References: <B8F9A780D330094D99AF023C5877DABA9AEB9E31@nkgeml513-mbx.china.huawei.com> <991B70D8B4112A4699D5C00DDBBF878A6BBC56D4@dggeml510-mbx.china.huawei.com> <B8F9A780D330094D99AF023C5877DABA9AEBA241@nkgeml513-mbx.china.huawei.com> <20180628100559.euc3tnnznfv6sw5d@anna.jacobs.jacobs-university.de>
In-Reply-To: <20180628100559.euc3tnnznfv6sw5d@anna.jacobs.jacobs-university.de>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.138.33.244]
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/BJmmJNmxObcdE9EXJuQSv6eDaH0>
Subject: Re: [Netconf] I-D Action: draft-wu-netconf-restconf-factory-restore-00.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.26
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 28 Jun 2018 11:17:06 -0000

-----邮件原件-----
发件人: Juergen Schoenwaelder [mailto:j.schoenwaelder@jacobs-university.de] 
发送时间: 2018年6月28日 18:06
收件人: Qin Wu
抄送: Rohit R Ranade; netconf@ietf.org
主题: Re: [Netconf] I-D Action: draft-wu-netconf-restconf-factory-restore-00.txt

On Thu, Jun 28, 2018 at 09:42:20AM +0000, Qin Wu wrote:
> 
> 1.  I feel it is better if all the datastores used for source / target 
> should be datastore-ref used from ietf-datastore module
> [Qin]: Sounds good point, but the datastores used for source / target aligns with ones defined in RFC6241, shall we align with RFC6241 or RFC8342?
> 
> 2.  I think the factory-restore may be helpful for the ephemeral data-stores, if they want to revert the configurations (without a reboot).
> [Qin]: Yes, factory-restore operation can help ephemeral datastore to revert the configuration to factory default setting without reboot or restart.
> We can add ephemeral as target in the model.
>

There is no defined ephemeral datastore. If you use datastore-ref, the issue is likely resolved and also future proof.

[Qin]: Sounds good suggestion, we will see how to use datastore-ref in the next version.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>