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

Qin Wu <bill.wu@huawei.com> Tue, 03 July 2018 13:05 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 257C7130E0A for <netconf@ietfa.amsl.com>; Tue, 3 Jul 2018 06:05:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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 0VpEYCGbTiPT for <netconf@ietfa.amsl.com>; Tue, 3 Jul 2018 06:05:19 -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 3DC1C130EAB for <netconf@ietf.org>; Tue, 3 Jul 2018 06:05:19 -0700 (PDT)
Received: from lhreml704-cah.china.huawei.com (unknown [172.18.7.107]) by Forcepoint Email with ESMTP id 06487A1794DDB; Tue, 3 Jul 2018 14:05:15 +0100 (IST)
Received: from NKGEML413-HUB.china.huawei.com (10.98.56.74) by lhreml704-cah.china.huawei.com (10.201.108.45) with Microsoft SMTP Server (TLS) id 14.3.382.0; Tue, 3 Jul 2018 14:05:16 +0100
Received: from NKGEML513-MBX.china.huawei.com ([169.254.1.193]) by NKGEML413-HUB.china.huawei.com ([10.98.56.74]) with mapi id 14.03.0382.000; Tue, 3 Jul 2018 21:05:11 +0800
From: Qin Wu <bill.wu@huawei.com>
To: Balazs Lengyel <balazs.lengyel@ericsson.com>, Kent Watsen <kwatsen@juniper.net>, Ladislav Lhotka <lhotka@nic.cz>, "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [Netconf] I-D Action: draft-wu-netconf-restconf-factory-restore-00.txt
Thread-Index: AQHUDgohYkKCob3+QEeCTKJnrpl8VqR0/o0ggAAY6ACAAV+F8IAAiDSAgAXeywCAAJ/i4A==
Date: Tue, 03 Jul 2018 13:05:10 +0000
Message-ID: <B8F9A780D330094D99AF023C5877DABA9AEC1996@nkgeml513-mbx.china.huawei.com>
References: <B8F9A780D330094D99AF023C5877DABA9AEB9E31@nkgeml513-mbx.china.huawei.com> <87a7rfjdcx.fsf@nic.cz> <B8F9A780D330094D99AF023C5877DABA9AEBAF17@nkgeml513-mbx.china.huawei.com> <2A66E046-CE29-42B5-A60C-1313357378DE@juniper.net> <5e4913e7-949b-7655-5ad8-31650f87be21@ericsson.com>
In-Reply-To: <5e4913e7-949b-7655-5ad8-31650f87be21@ericsson.com>
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="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/F2tsswKPA4wui6DGO7wr8CPTxfY>
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: Tue, 03 Jul 2018 13:05:23 -0000

Thanks Balazs.
I think the exising NC/RC operation doesn't define a parameter to trigger reboot or system-restart, would it be great to define a generic datatore copy operation to indicate when or whether restart is needed?
Separating datastore copy operation from reboot means we should define how reboot works together with NC/RC operations or new operation to fulfill factory restore.
e.g.,Reboot or system-restart might be needed or not needed. The reboot or system-restart might happen before or after the datastore(s) are initialized into <factory>,etc.

-Qin
-----邮件原件-----
发件人: Balazs Lengyel [mailto:balazs.lengyel@ericsson.com] 
发送时间: 2018年7月3日 19:22
收件人: Kent Watsen; Qin Wu; Ladislav Lhotka; netconf@ietf.org
主题: Re: [Netconf] I-D Action: draft-wu-netconf-restconf-factory-restore-00.txt

ietf-system:system-restart

Is this what you have been thinking about?
Balazs


On 6/29/2018 7:43 PM, Kent Watsen wrote:
> sufficient.   I'm unsure which published RFC defines the "reboot"
> RPC, it's possible that none do.
>
> Kent // contributor

-- 
Balazs Lengyel                       Ericsson Hungary Ltd.
Senior Specialist
Mobile: +36-70-330-7909              email: Balazs.Lengyel@ericsson.com