Re: [netmod] AD review of draft-ietf-netmod-entity-06

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Thu, 21 December 2017 11:50 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
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 262D4126DFB for <netmod@ietfa.amsl.com>; Thu, 21 Dec 2017 03:50:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, T_RP_MATCHES_RCVD=-0.01, 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 GwGVLs8ejVDH for <netmod@ietfa.amsl.com>; Thu, 21 Dec 2017 03:50:13 -0800 (PST)
Received: from atlas5.jacobs-university.de (atlas5.jacobs-university.de [212.201.44.20]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D704012421A for <netmod@ietf.org>; Thu, 21 Dec 2017 03:50:12 -0800 (PST)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas5.jacobs-university.de (Postfix) with ESMTP id A969A69; Thu, 21 Dec 2017 12:50:11 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas5.jacobs-university.de ([10.70.0.217]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10032) with ESMTP id wuZGQxM8HnxZ; Thu, 21 Dec 2017 12:50:10 +0100 (CET)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hermes.jacobs-university.de", Issuer "Jacobs University CA - G01" (verified OK)) by atlas5.jacobs-university.de (Postfix) with ESMTPS; Thu, 21 Dec 2017 12:50:11 +0100 (CET)
Received: from localhost (demetrius4.jacobs-university.de [212.201.44.49]) by hermes.jacobs-university.de (Postfix) with ESMTP id 7776020130; Thu, 21 Dec 2017 12:50:11 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius4.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id rGKUoFebAqRJ; Thu, 21 Dec 2017 12:50:10 +0100 (CET)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 3D02520073; Thu, 21 Dec 2017 12:50:10 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501) id 23D1941F6A0A; Thu, 21 Dec 2017 12:50:10 +0100 (CET)
Date: Thu, 21 Dec 2017 12:50:10 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Martin Bjorklund <mbj@tail-f.com>
Cc: netmod@ietf.org
Message-ID: <20171221115010.annbhb4vs3roo4dk@elstar.local>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Martin Bjorklund <mbj@tail-f.com>, netmod@ietf.org
References: <fd46c4ab-5c43-1b61-2b00-ca71f13fc932@cisco.com> <20171220.160020.956270997417344353.mbj@tail-f.com> <cb06b12e-59d9-148e-03f0-2ffdb1e4e15f@cisco.com> <20171221.123746.382540578845045602.mbj@tail-f.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20171221.123746.382540578845045602.mbj@tail-f.com>
User-Agent: NeoMutt/20171215
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/NHEACZcwkA4yKDIb40WI8IidMjM>
Subject: Re: [netmod] AD review of draft-ietf-netmod-entity-06
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, 21 Dec 2017 11:50:18 -0000

On Thu, Dec 21, 2017 at 12:37:46PM +0100, Martin Bjorklund wrote:
> Hi,
> 
> I need WG input on this issue.  The question is how to handle
> 'serial-num', 'mfg-name', and 'model-name'.  I think they should all
> be treated the same.  Based on previous WG discussion (see e.g. the
> mail thread "draft-ietf-netmod-entity issue #13"), I think they should
> all be configurable, but the configured value is only used in
> operational state if the system cannot read it from the hardware.
> 
> So I suggest the following changes:
> 
> OLD:
> 
>       leaf serial-num {
>         type string;
>         config false;
>         description
>           "The vendor-specific serial number string for the
>            component.  The preferred value is the serial number
>            string actually printed on the component itself (if
>            present).";
>         reference "RFC 6933: entPhysicalSerialNum";
>       }
> 
> NEW:
> 
>       leaf serial-num {
>         type string;
>         description
>           "The vendor-specific serial number string for the
>            component.  The preferred value is the serial number
>            string actually printed on the component itself (if
>            present).

The last sentence is not useful since nobody knows what 'preferred'
value means. So remove it.

>            This leaf can be configured.  There are two use cases for
>            this; as a 'post-it' note if the server cannot determine
>            this value from the component, or when pre-provisioning a
>            component.

I do not think 'post-it' note helps to clarify things. What about
changing the second sentence to:

  The configured value is used only if the server cannot determine the
  vendor-specific serial number from the component itself.

I do not understand the pre-provisioning part. Something
pre-provisioning won't appear in <operational> and when it appears,
then the normal rules apply, no?

>            If the server can determine the serial number from the
>            component, then that value is always used in operational
>            state, even if another value has been configured.";

This may not be needed if we use the above formulation.

>         reference "RFC 6933: entPhysicalSerialNum";
>       }
> 
> And corresponding text for 'mfg-name' and 'model-name'.

/js

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