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

_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to