Re: [netmod] draft-ietf-netmod-entity issue #13
Martin Bjorklund <mbj@tail-f.com> Wed, 21 December 2016 13:08 UTC
Return-Path: <mbj@tail-f.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 04DB3129D92 for <netmod@ietfa.amsl.com>; Wed, 21 Dec 2016 05:08:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.001
X-Spam-Level:
X-Spam-Status: No, score=-5.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-3.1, SPF_PASS=-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 M0rs1yKhSSRk for <netmod@ietfa.amsl.com>; Wed, 21 Dec 2016 05:08:38 -0800 (PST)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id 2ECCB129D88 for <netmod@ietf.org>; Wed, 21 Dec 2016 05:08:38 -0800 (PST)
Received: from localhost (unknown [173.38.220.36]) by mail.tail-f.com (Postfix) with ESMTPSA id 6562E1AE030A; Wed, 21 Dec 2016 14:08:36 +0100 (CET)
Date: Wed, 21 Dec 2016 14:08:34 +0100
Message-Id: <20161221.140834.1797282783596629756.mbj@tail-f.com>
To: bart.bogaert@nokia.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <D62E05768DBAFF42A72B9F4954476D65010EB17D8D@FR712WXCHMBA09.zeu.alcatel-lucent.com>
References: <20161216.103131.190811205717956437.mbj@tail-f.com> <20161216112728.GA9710@elstar.local> <D62E05768DBAFF42A72B9F4954476D65010EB17D8D@FR712WXCHMBA09.zeu.alcatel-lucent.com>
X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/tuOqBQRpItrbLoXmyo0GMgEmzdo>
Cc: netmod@ietf.org
Subject: Re: [netmod] draft-ietf-netmod-entity issue #13
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.17
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, 21 Dec 2016 13:08:40 -0000
"Bogaert, Bart (Nokia - BE)" <bart.bogaert@nokia.com> wrote: > Hi, > > --- snip --- > > > > Well, this is not what I read out of > > > > > > https://www.ietf.org/mail-archive/web/netmod/current/msg17039.html > > > > > > since there are leafs like mfg-name and model-name that seem to be > > > hardware component properties. > > > > The description statements in this email are just copied from the > > corresponding config false nodes. I think they need to be rewritten; > > compare with serial-num. This text can probably be further improved. > > The idea is that the user probably would configure say mfg-name only > > if the system cannot detect it automatically. > > I still wonder why it could be useful to provision things like the mfg-name > or the serial-num. I would rather like to know what is really there instead > of overwriting these properties. > [Bart Bogaert] BBF did not propose to add serial-num, this is in the base > ietf-entity YANG model. For pluggable items it makes sense to add the model > name and mfg-name. In case of pre-provisioning (so preparing and sending a > configuration to the device while the HW entity is actually not there yet) > it makes sense to indicate what is the intended configuration. When the HW > entity is inserted at a later point in time the device could raise a > mismatch alarm in case another entity is detected then the one that was > "predicted" to be inserted at that position. It would be very useful if you could comment explicitly on the pre-provisioning algorithm I described in https://mailarchive.ietf.org/arch/msg/netmod/j0lbdkul9f_jJFVGz3aAAmqrEzs (also cited below). >From you text above it seems that you do not agree with my algorithm. /martin > Best regards, > Bart > > > > And the config list is still indexed by a name; so for list elements > > > that have a (class, parent, position) triple, the name would be > > > arbitrary and not necessarily matching the component name. > > > > I think that the idea is that if there is a matching triple, then the > > system MUST use the configured 'name' as the 'name' also in the state > > list. One reason for pre-confiugring these components is to be able > > to refer to them in other config. > > This may make sense. > > > > Well, if you understand the edits,... > > > > I think the idea would be explained along these lines: > > > > The sytem conceptually behaves like this: > > > > 1. When a physical component is detected, the system will initialize > > an entry in the /hardware-state/component list. > > > > If there is an entry in /hardare/component list with a matching > > (class,parent,parent-rel-pos) triple, then the state entry is > > initialized with the configured values for all configured leafs > > (name, mfg-name, ...). > > > > If there is no such matching entry, the system assigns a 'name' > > in an implementation-specific manner. > > > > If there is an entry in /hardare/component list with a matching > > 'name' and where the triple (class,parent,parent-rel-pos) is not > > set, then the state entry is initialized with the configured > > values for all configured leafs (name, mfg-name, ...). > > > > Otherwise, the state entry is initialized with the detected values > > for all leafs. > > > > 2. If the /hardware/component list is modified (i.e., someone changed > > the config), then the system MUST behave as if it was restarted > > and followed the procedure in (1). > > This way of pre-configuring that name may indeed make sense. Lets see if > this is what BBF really wanted. > > /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 > netmod@ietf.org > https://www.ietf.org/mailman/listinfo/netmod
- [netmod] draft-ietf-netmod-entity issue #13 Martin Bjorklund
- Re: [netmod] draft-ietf-netmod-entity issue #13 Juergen Schoenwaelder
- Re: [netmod] draft-ietf-netmod-entity issue #13 Martin Bjorklund
- Re: [netmod] draft-ietf-netmod-entity issue #13 Juergen Schoenwaelder
- Re: [netmod] draft-ietf-netmod-entity issue #13 Martin Bjorklund
- Re: [netmod] draft-ietf-netmod-entity issue #13 Juergen Schoenwaelder
- Re: [netmod] draft-ietf-netmod-entity issue #13 Martin Bjorklund
- Re: [netmod] draft-ietf-netmod-entity issue #13 Bogaert, Bart (Nokia - BE)
- Re: [netmod] draft-ietf-netmod-entity issue #13 Martin Bjorklund
- Re: [netmod] draft-ietf-netmod-entity issue #13 Bogaert, Bart (Nokia - BE)
- Re: [netmod] draft-ietf-netmod-entity issue #13 Martin Bjorklund
- Re: [netmod] draft-ietf-netmod-entity issue #13 Bogaert, Bart (Nokia - BE)
- Re: [netmod] draft-ietf-netmod-entity issue #13 Randy Presuhn
- Re: [netmod] draft-ietf-netmod-entity issue #13 William Lupton
- Re: [netmod] draft-ietf-netmod-entity issue #13 Martin Bjorklund