Return-Path: <pathori@gmail.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 542D0130EEF
 for <netmod@ietfa.amsl.com>; Tue, 19 Feb 2019 05:41:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001]
 autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key)
 header.d=gmail.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 3di2pD-vw7LI for <netmod@ietfa.amsl.com>;
 Tue, 19 Feb 2019 05:41:14 -0800 (PST)
Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com
 [IPv6:2a00:1450:4864:20::32d])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by ietfa.amsl.com (Postfix) with ESMTPS id B56F1130EEB
 for <netmod@ietf.org>; Tue, 19 Feb 2019 05:41:13 -0800 (PST)
Received: by mail-wm1-x32d.google.com with SMTP id m1so2878763wml.2
 for <netmod@ietf.org>; Tue, 19 Feb 2019 05:41:13 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; 
 h=mime-version:from:date:message-id:subject:to;
 bh=BdL3+rRYaZeAxs+iTB23ksNQcc2iKwFl/tC1S6HoRBo=;
 b=W7aBOjtf/+aX+DGvkvooxyGv4iDqLqdgmqn0mZSMrELeKbR3SfZLwWgsjlZMH8EsGs
 2WU7EN0Mpl9foB9H/4MdJ5Mr6PmS8WaVi+BgAfgNEhzlsSYB+ie1pKmOcOZLRdJGrQp3
 a+W3KIUN6ao/YKlMK5SPluaW/1oV8yboizMyjbc17Zh8rJROxrD9Zvb3Wzw5OakcY/BJ
 3+KCltO7xpUJrMoDNAroS0QPhSk6dZakthBmplsI4xAymiQ/yUhpGFpeahSGPgkbrMhN
 CjCOVvZ04A5hKEYBcFelmyB0wrKbrpXuNWi2LXBNKn0eyfdpmiLIEUXWFws6TB5PiLji
 YiuQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=BdL3+rRYaZeAxs+iTB23ksNQcc2iKwFl/tC1S6HoRBo=;
 b=i2IH2rBExKgtTtWn66I5EXVOSUy+JI6JLawpFM6ovLa8NL8J3Q4NputM7NvAFLuDUd
 yizBF2l0dt+EFHHVJySAP13lR3JCZP7Onqk3XmyDWRf/W2xrOjnma2hW5F5jCONaxjWV
 OpuvIe3TJ15Wh+9ta8JX0gMP/hGSNkZY3h84eKmWb1rFw6ChoMykB7nhWaf77wt7Y9rv
 PsnY7K7DMfGJ0pqPskCWNIinVMxvm+WAGdMH1TcZE8bJaHYUUAT6EIZJ9vzpJD8JFfv8
 P6BFiV9E37caXiFFx02FaqqTgd3hkEdSTN4gmAzeK4krvMKyCpS7ASYLm0opo3dUNDJe
 SoyQ==
X-Gm-Message-State: AHQUAubhTxvads/TkyuPj2ZV8f4+3lQnxmBLVbmy4uPN2tb+TFvFKf1P
 z/7Li8coiAoO7ZJSbvlKVNJ7S7NUnGkxwD5gF7j7Sg==
X-Google-Smtp-Source: AHgI3IZhlaLcCWJq85wgANohJ+v+hSlQVgujFj/tdxYGJNjCKy4KjSQvp13zXZA73zWhrcwJZq1RSvUYE8xzgiVDCCA=
X-Received: by 2002:a1c:9692:: with SMTP id y140mr3055509wmd.67.1550583671696; 
 Tue, 19 Feb 2019 05:41:11 -0800 (PST)
MIME-Version: 1.0
From: Shiva Kumar Pathori <pathori@gmail.com>
Date: Tue, 19 Feb 2019 19:10:59 +0530
Message-ID: <CAJtYN8LpfjcgRnGpMxLwi75iKRCSw8BUaajQk9=q8BUDXt2t6Q@mail.gmail.com>
To: netmod@ietf.org
Content-Type: multipart/alternative; boundary="000000000000f2391105823f64c3"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/GczYfcLGCf0GZbcz25-bKSsNFsk>
Subject: [netmod] Yang model for setting system startup information for
 software upgrade
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, 19 Feb 2019 13:41:16 -0000

--000000000000f2391105823f64c3
Content-Type: text/plain; charset="UTF-8"

Hi All,

I think there is a need to extend the ietf-system.yang or have new model to
get the current system startup information(like current system software
name, configuration file name, paf file name and patch file name etc..)
from the device and also set the next startup information for upgrade. This
can help the device administrator during system upgrade scenario to operate
with the YANG model. So first step will be copying these files(image,
config file, paf file and patch file) to the device and then set the next
startup information. After this  YANG RPC "/ietf-system/system-restart"
can be used to reboot the system to upgrade to the new version.

I request the WG to provide the opinion on this.

Regards,
Shiva

--000000000000f2391105823f64c3
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">Hi All,<div dir=3D"auto"><br><div dir=3D"auto">I think th=
ere is a need to extend the ietf-system.yang or have new model to get the c=
urrent system startup information(like current system software name, config=
uration file name, paf file name and patch file name etc..) from the device=
 and also set the next startup information for upgrade. This can help the d=
evice administrator during system upgrade scenario to operate with the YANG=
 model. So first step will be copying these files(image, config file, paf f=
ile and patch file) to the device and then set the next startup information=
. After this=C2=A0 YANG RPC &quot;/ietf-system/system-restart&quot;=C2=A0 c=
an be used to reboot the system to upgrade to the new version.</div><div di=
r=3D"auto"><br></div><div dir=3D"auto">I request the WG to provide the opin=
ion on this.</div><div dir=3D"auto"><br></div><div dir=3D"auto">Regards,</d=
iv><div dir=3D"auto">Shiva</div></div></div>

--000000000000f2391105823f64c3--

