Re: [netmod] Last Call: <draft-ietf-netmod-entity-07.txt> (A YANG Data Model for Hardware Management) to Proposed Standard

"tom p." <daedulus@btconnect.com> Thu, 04 January 2018 12:41 UTC

Return-Path: <daedulus@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 712D412751F; Thu, 4 Jan 2018 04:41:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.921
X-Spam-Level:
X-Spam-Status: No, score=-1.921 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham 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 rNg88jUhEqMT; Thu, 4 Jan 2018 04:41:46 -0800 (PST)
Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0113.outbound.protection.outlook.com [104.47.0.113]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2EB1F1271DF; Thu, 4 Jan 2018 04:41:46 -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; bh=vLp8F08aQq1qZUfuXyb35woD25sX/TaxzlcAXBIDL/8=; b=SusRFXvVEoHGPg+geSDPgYv08nn2Gjk2eyM7XjSEd3G+edokpZh7uizllIBbE1uOIjEAjn1/PsxbuDsQotawTbQFLZ34s9kvJE3i7haFQVhhNDotKIM+9zjoc1j3n4XzHb5bjEgUlnsY6UbrOhPF2LV+1PTh5WxCHkO/uI7+zRA=
Received: from pc6 (86.169.153.236) by AM4PR07MB1555.eurprd07.prod.outlook.com (2a01:111:e400:7a79::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.386.4; Thu, 4 Jan 2018 12:41:42 +0000
Message-ID: <04bb01d38558$bf88b4a0$4001a8c0@gateway.2wire.net>
From: "tom p." <daedulus@btconnect.com>
To: ietf@ietf.org
Cc: netmod-chairs@ietf.org, bclaise@cisco.com, netmod@ietf.org, draft-ietf-netmod-entity@ietf.org
References: <151389497762.28118.16231694341929195271.idtracker@ietfa.amsl.com>
Date: Thu, 04 Jan 2018 12:37:02 -0000
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Originating-IP: [86.169.153.236]
X-ClientProxiedBy: LNXP265CA0048.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5c::36) To AM4PR07MB1555.eurprd07.prod.outlook.com (2a01:111:e400:7a79::11)
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 09d1eb4e-89ff-4bb5-2271-08d55370824b
X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020020)(8989060)(4534040)(4602075)(4627136)(201703031133081)(201702281549075)(8990040)(5600026)(4604075)(2017052603307); SRVR:AM4PR07MB1555;
X-Microsoft-Exchange-Diagnostics: 1; AM4PR07MB1555; 3:nBUG2xV4tbJBgxPHDs2rzdlKVi+lII3QBLICSylIZmfSrkRXuDnidJYjLM0wnM80z28j0Bu+8k1JCZr7z7ZlHXzvawC/QtwrIbIxggENt02gUq+dKtUsy3LJBvqTmbro7KKiTVhWOw2epbGjyk5Vr//ND1hImS4dEcJm7QBokhocM32gvf8v45cCY4itgzBKGx4jQ/yYkhC5ddJomgpXrmDbcY8OAEjQv+lWSsUDPsSXcxbCqLhVzejZvBff+IBl; 25:mH8/oz1tNsDdMDpvulnPGEt5sFCNv9C7nNYReIYC/D6F313okX/jCwT17V/7lX66zJwZlvoeABmFxOVt7zlI6QC4xhK0ZzOHPhK+DWWqQIDPT5yz3lLOKs2R60eaOtga2QuGG0LdjAJNFxkm6DX96Hqu4vOZszfYZyYm39hECyhinzH2qCn3AOGCuXJSmug482pgBkrNJ3L5xBatEOPstH/E0V14T2kdguSluvbS7VoFG4l7W+WsC2beSnqD/Bd0c0ENxoSvT1mMZsIbVaX5z7tjmkUMSrfLOAbpAsPl1kqphrmpu1esLLBsGzNZReZhZJwY47HXQcla+CS2WE8msA==; 31:P3sXfyu5xdi5QegwT3R4laVjl5j1zMJSmy1kyGRPXKC6j6RIButbKW1QxSN2vQ17WKBmNjfaGNEfs4rGjtDVNyn63tYT7YiyoiVecQdizhwRVioE4xdnQA/GqpCh0Rcdzudeqqe3Ti690Ha0coUP9zYo50M3r0G7Vdvdnp8LPdulkNcSYathRMYy8Jgg76xcci7qadpLBdO6XFjrdCKuxZtcAQ589r2thGcguNGkGlQ=
X-MS-TrafficTypeDiagnostic: AM4PR07MB1555:
X-Microsoft-Antispam-PRVS: <AM4PR07MB1555EF9E0583E687554E9710C61F0@AM4PR07MB1555.eurprd07.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:(120809045254105);
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(61425038)(6040470)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(20161123222025)(3231023)(944501075)(10201501046)(6055026)(61426038)(61427038)(6041268)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123558120)(6072148)(201708071742011); SRVR:AM4PR07MB1555; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:AM4PR07MB1555;
X-Microsoft-Exchange-Diagnostics: 1; AM4PR07MB1555; 4:i2B+nWc9SYhXNuBgy43BI2pdeG609eeW4QmoMWPtz6nAfsgfGxeiRZjh2U9rPZYUx+kKQRSIOsg40ttxRekjT6z5EfZZq3RDA5wgsFk8qMoU3Q+lfTYzq5Kojrcgt+5U0fN8tC3NVDIXx9DsNir+Ego08Ri4wEfvGwF0NE7nNOoWaSFeQkcfYhQJl3G9T6KS1RRPiyI1NMmJfM2ETS2FPFYo5/4OZh7PGWI3OOefOS0CQcHY7ompWvRwvso4pCiEJzXtWeLgygeWGOEmm9GHTAjEj5g07e25LT2TXQ463P4nhY/pHqi0YNS4C6U6lvxr
X-Forefront-PRVS: 054231DC40
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(346002)(366004)(39380400002)(39860400002)(376002)(396003)(189003)(199004)(13464003)(40224003)(1456003)(230700001)(229853002)(6496006)(1556002)(44736005)(386003)(33896004)(54906003)(116806002)(230783001)(2906002)(316002)(478600001)(6486002)(5660300001)(6116002)(6666003)(4720700003)(84392002)(25786009)(53936002)(9686003)(3846002)(86362001)(6916009)(97736004)(305945005)(7736002)(966005)(2351001)(16526018)(106356001)(62236002)(105586002)(76176011)(81686011)(6306002)(44716002)(50466002)(52116002)(81816011)(2486003)(23676004)(68736007)(66066001)(47776003)(6246003)(4326008)(50226002)(59450400001)(8936002)(81156014)(61296003)(8676002)(14496001)(81166006)(74416001)(7726001); DIR:OUT; SFP:1102; SCL:1; SRVR:AM4PR07MB1555; H:pc6; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:0; LANG:en;
Received-SPF: None (protection.outlook.com: btconnect.com does not designate permitted sender hosts)
Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=daedulus@btconnect.com;
X-Microsoft-Exchange-Diagnostics: 1;AM4PR07MB1555;23:DbJTHAA6EPX4q7hZavOweHNnS1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Aq9eChYh/SzmQo8EgZKHRLw951xWMHU1OS3262IJEQL56GvYr3uZd5U2gbtvzSTDNeJnXgHjTmLcx7gM=; 7:PbuycRjHS2PxQHMexIiKYNmcu/gu67z4H3SpSqU3LyFcfFMw5fLjBx4J1CwLHgP+2CBAvPlxdIZcglDYswlMxT7kB9ZGZPLFL4ne+EoCGrIsqvGxacSXOOtfVoM+eZHNKMywEA2OyCkzypNxiu9LATHGAkyWYPpYF31On8JSyal6WtmVIuwckh5upLumsPAwoHL5ZipzMEdoeFYptu5yxRbOHJJg//pQn8miiFDxp8rXKShVpowOhMPMPjd8SX5D
SpamDiagnosticOutput: 1:99
SpamDiagnosticMetadata: NSPM
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2018 12:41:42.5353 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 09d1eb4e-89ff-4bb5-2271-08d55370824b
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR07MB1555
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/OqjjVNEk8Td6FIwFP2MDVehYNZE>
Subject: Re: [netmod] Last Call: <draft-ietf-netmod-entity-07.txt> (A YANG Data Model for Hardware Management) to Proposed Standard
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
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: Thu, 04 Jan 2018 12:41:49 -0000

This I-D illlustrates a problem that the netmod WG has been wrestling
with for a decade or more and (IMHO) has yet fully to solve.  This I-D
is in Last Call at the same time as netmod-revised-datastores, which
proposes the most recent solution.

The problem is that an 'object' can take more than one value and the
question is how to represent that.  Previously it was by having twin
trees in the schema; now it is by having one common schema and multiple
datastores, <running> for the user-supplied values, <operational> for
those actually in use, the latter including values learnt from the
hardware or protocols or some other means.

In this model the situation arises with 'serial-num' which may take a
value from the hardware or may be written as part of configuration (the
idea of configuring serial numbers may seem unusual but has been
inherited from the Entity MIB [RFC6933] with the endorsement of the
netmod WG).

So if there is an accessible hardware value and the user writes a value,
who wins?  There is no way of specifying this, neither in YANG nor in
'revised-datastores'; in this case, the 'description' specifies that the
value determined from the component should be used so a user can
configure a value, see it in the <running> datastore but not in the
<operational> datastore and cannot tell why, unless they are familiar
with the minutiae of description clauses.

In this case, the model is clear as to which value, configured or
learnt, wins; here, it is learnt.  In other cases, it may be that
configured wins or that may be something a user wants to influence as
part of policy.

Is that still one schema or is it now two slightly different schemas
based on the description clause coupled with the datastore that the
schema is being applied to?

Is the description clause an adequate way of expressing policy?

In passing, routing protocols addressed this dilemma a long time ago,
with concepts such as 'Admin Distance'.

(Whether or not this particular value should be configurable is a
different and irrelevant discussion; the MIB WG decided it should be,
the YANG WG likewise - and there are plenty of other objects which
illustrate this dilemma, how to specify who wins).

Tom Petch

----- Original Message -----
From: "The IESG" <iesg-secretary@ietf.org>
Sent: Thursday, December 21, 2017 10:22 PM

> The IESG has received a request from the Network Modeling WG (netmod)
to
> consider the following document: - 'A YANG Data Model for Hardware
Management'
>   <draft-ietf-netmod-entity-07.txt> as Proposed Standard
>
> The IESG plans to make a decision in the next few weeks, and solicits
final
> comments on this action. Please send substantive comments to the
> ietf@ietf.org mailing lists by 2018-01-10. Exceptionally, comments may
be
> sent to iesg@ietf.org instead. In either case, please retain the
beginning of
> the Subject line to allow automated sorting.
>
> Abstract
>
>    This document defines a YANG data model for the management of
>    hardware on a single server.
>
> The file can be obtained via
> https://datatracker.ietf.org/doc/draft-ietf-netmod-entity/
>
> IESG discussion can be tracked via
> https://datatracker.ietf.org/doc/draft-ietf-netmod-entity/ballot/
>
> No IPR declarations have been submitted directly on this I-D.