Re: [netmod] Yang model for setting system startup information for software upgrade

tom petch <ietfc@btconnect.com> Wed, 20 February 2019 10:29 UTC

Return-Path: <ietfc@btconnect.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 09A86130DEC for <netmod@ietfa.amsl.com>; Wed, 20 Feb 2019 02:29:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.246
X-Spam-Level:
X-Spam-Status: No, score=0.246 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RATWARE_MS_HASH=2.148, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=btconnect.onmicrosoft.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 JwA_cMyrq-sh for <netmod@ietfa.amsl.com>; Wed, 20 Feb 2019 02:29:24 -0800 (PST)
Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-ve1eur02on0716.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe06::716]) (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 00847130DE5 for <netmod@ietf.org>; Wed, 20 Feb 2019 02:29:23 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector1-btconnect-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=G6v+3mgFRlfq1o5OvS+RAqlU0uGxo+cpXMv89t/uv/U=; b=LLsuuBHafQB5UatFProeTn8Ulziaapxw6bMBQOmSaG7vaZhWZPDldue13AhmhFIewghGE2QaI8BZqstaNeUS7VIQRfId5PMc/fDSMRhlbp4aKsu6WFKH4lmoNKZdFsjEELpM4PpWPIouDquJUr2WMbQ2jceFUe8wqoB8yrd2Gl0=
Received: from VI1PR07MB4768.eurprd07.prod.outlook.com (20.177.57.155) by VI1PR07MB5838.eurprd07.prod.outlook.com (20.178.122.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1665.5; Wed, 20 Feb 2019 10:29:21 +0000
Received: from VI1PR07MB4768.eurprd07.prod.outlook.com ([fe80::a8c3:4982:8378:9a45]) by VI1PR07MB4768.eurprd07.prod.outlook.com ([fe80::a8c3:4982:8378:9a45%3]) with mapi id 15.20.1643.014; Wed, 20 Feb 2019 10:29:21 +0000
From: tom petch <ietfc@btconnect.com>
To: Shiva Kumar Pathori <pathori@gmail.com>, "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] Yang model for setting system startup information for software upgrade
Thread-Index: AQHUyQckdPZ1rnDhs0KCWC9Sditiqg==
Date: Wed, 20 Feb 2019 10:29:21 +0000
Message-ID: <019501d4c906$e6fcc920$4001a8c0@gateway.2wire.net>
References: <CAJtYN8LpfjcgRnGpMxLwi75iKRCSw8BUaajQk9=q8BUDXt2t6Q@mail.gmail.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-clientproxiedby: LO2P265CA0244.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8a::16) To VI1PR07MB4768.eurprd07.prod.outlook.com (2603:10a6:803:76::27)
x-ms-exchange-messagesentrepresentingtype: 1
x-mailer: Microsoft Outlook Express 6.00.2800.1106
x-originating-ip: [86.156.84.54]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 9b5aeba8-cdd9-4187-3c43-08d6971e46c7
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600110)(711020)(4605104)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:VI1PR07MB5838;
x-ms-traffictypediagnostic: VI1PR07MB5838:
x-ms-exchange-purlcount: 1
x-microsoft-antispam-prvs: <VI1PR07MB583852D95DBE238F33776598A07D0@VI1PR07MB5838.eurprd07.prod.outlook.com>
x-forefront-prvs: 0954EE4910
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(366004)(376002)(346002)(136003)(396003)(13464003)(189003)(199004)(14496001)(66574012)(97736004)(52116002)(71200400001)(99286004)(71190400001)(14454004)(966005)(2906002)(84392002)(1556002)(50226002)(6246003)(25786009)(478600001)(68736007)(2501003)(105586002)(106356001)(76176011)(81816011)(81686011)(33896004)(102836004)(14444005)(256004)(61296003)(386003)(6506007)(305945005)(6346003)(316002)(110136005)(7736002)(26005)(186003)(446003)(4720700003)(6436002)(3846002)(6116002)(81166006)(81156014)(8936002)(476003)(229853002)(44736005)(5660300002)(6486002)(86152003)(66066001)(8676002)(86362001)(6306002)(53936002)(6512007)(9686003)(44716002)(62236002)(486006)(74416001)(7726001); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR07MB5838; H:VI1PR07MB4768.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:0;
received-spf: None (protection.outlook.com: btconnect.com does not designate permitted sender hosts)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=ietfc@btconnect.com;
x-microsoft-exchange-diagnostics: 1;VI1PR07MB5838;23:1/2d4uu/dPjj32Ns8jUutrQ3T0Fy7E9akdrrBS76h0pm0pS7cggduZNrVFm5HBxLy6yH49lKiMwXqv+R4Ll1sKUwWLSKr1rqi1BCulmrRWuIs313Nznleq/dbp4nifl38vHNfXV6W5ihnl7RZBilc2b9eyZefcocXM0rt7EvSml3OBE+VJBkQikGqy5ezSn+KesMYW9irHhcwJmnv0Jq8t/6Eq2wl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fmlc5EZgz4uTkMuFxOObwe0NKWwlCgQu/+mfPO2U5IPmWgT5u3GIQ7boA1xbDz6qe7AmzSvgU6jf208bfEJ4854irlmvVhFlz+IvK7yqebQkdloIXh3mk1H3wfFQ4yhDPZkS9GXEEDTzQCCOnMpPwJ7sDdx6b1/fnx8OHD9ZEPO8lvZZa2b6Gn/xxOMJNHD2rZHDwIUbYYOu8Gj0QH89caneqAZR8oGhdFwdKezJK/0/SS4APq29rfzAbI1nr1Of16ZjquxYA=
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: C891VZgOQtWgENRzCjhXXWsvYmB/tsUuIA92v3iwYB3+IFEmI06q+YrLn5K7kMk3/DSI1jgPq9TJQe21bDUMBAS8FeHd8T8EM/fr9X1K+iirqTPV1qL/swPS1KsvuEPiy6yGSrqNdZGJobMX5K43LrVjZpkdIQIgha6TX/JWmVU2/jXQXQKA7iyE4fyEJNtVdwSWChraRG56S7wBaSuBVL2/PxTfS+d0SdoGxUY082RYrqqGA8r51ECfPM+8pbecVz1lHEMJ/tW8mstV0kBLS4H2pdeJBaLkuptadzhIzivdCbBCM1Zm0IUH/deQ3WCIfVE8rt91Fccpr9z5Xe1eRkZBcexfVItZ34zsp0zV2TX60jXXZJvGLJ+nG6GVw/RDi4bEdQHZmBbIoh2WlutbLll3Lg1nSZwsc7KtIUqqlcI=
Content-Type: text/plain; charset="utf-8"
Content-ID: <F5538271AE63C349864264BBB9C3F08F@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 9b5aeba8-cdd9-4187-3c43-08d6971e46c7
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Feb 2019 10:29:20.9067 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB5838
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/e34R4gjqbNHa6ifQVgUTjSoieFU>
Subject: Re: [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: Wed, 20 Feb 2019 10:29:27 -0000

----- Original Message -----
From: "Shiva Kumar Pathori" <pathori@gmail.com>
To: <netmod@ietf.org>
Sent: Tuesday, February 19, 2019 1:40 PM

> 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.

Shiva

The IETF is good at protocols, what must go on between boxes of
different origins else they do not work.  The internals of those boxes
have no such need to be standardised and while the IETF does delve into
those areas, e.g. Host MIB module or, arguably, much of the routing YANG
module, it is less successful because, well, there is no need for them
to be standardised for the Internet to work.

So, a YANG module for startup information would need find common ground
between, say, iPhone, Juniper router, Windows 10, Linux distro and so on
when those products work quite happily with radically different views of
what is needed.  I recall one discussion which failed to get agreement
on what the order of precedence of the fields version, release, level;
different manufacturers have different interpretations thereof while any
one manufacturer will likely be consistent in their usage across a wide
range of hardware and software products.

Thus it seems more likely an area for proprietary extensions than for
the IETF.

Tom Petch

> Regards,
> Shiva
>


------------------------------------------------------------------------
--------


> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>