Re: [netmod] BBF extensions to ietf-entity

"Bogaert, Bart (Nokia - BE)" <bart.bogaert@nokia.com> Tue, 06 September 2016 10:50 UTC

Return-Path: <bart.bogaert@nokia.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 8473712B3A7 for <netmod@ietfa.amsl.com>; Tue, 6 Sep 2016 03:50:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.921
X-Spam-Level:
X-Spam-Status: No, score=-6.921 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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 yk9-xzN5J_Bj for <netmod@ietfa.amsl.com>; Tue, 6 Sep 2016 03:50:36 -0700 (PDT)
Received: from smtp-fr.alcatel-lucent.com (fr-hpida-esg-02.alcatel-lucent.com [135.245.210.21]) (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 A6A0B12B518 for <netmod@ietf.org>; Tue, 6 Sep 2016 03:46:29 -0700 (PDT)
Received: from fr712umx4.dmz.alcatel-lucent.com (unknown [135.245.210.45]) by Websense Email Security Gateway with ESMTPS id CDE97E7EDE577; Tue, 6 Sep 2016 10:46:25 +0000 (GMT)
Received: from fr712usmtp2.zeu.alcatel-lucent.com (fr712usmtp2.zeu.alcatel-lucent.com [135.239.2.42]) by fr712umx4.dmz.alcatel-lucent.com (GMO-o) with ESMTP id u86AkRJo019155 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 6 Sep 2016 10:46:27 GMT
Received: from FR711WXCHHUB02.zeu.alcatel-lucent.com (fr711wxchhub02.zeu.alcatel-lucent.com [135.239.2.112]) by fr712usmtp2.zeu.alcatel-lucent.com (GMO) with ESMTP id u86AkO45007442 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 6 Sep 2016 12:46:26 +0200
Received: from FR712WXCHMBA09.zeu.alcatel-lucent.com ([169.254.5.83]) by FR711WXCHHUB02.zeu.alcatel-lucent.com ([135.239.2.112]) with mapi id 14.03.0195.001; Tue, 6 Sep 2016 12:46:25 +0200
From: "Bogaert, Bart (Nokia - BE)" <bart.bogaert@nokia.com>
To: Martin Bjorklund <mbj@tail-f.com>
Thread-Topic: [netmod] BBF extensions to ietf-entity
Thread-Index: AQHSAdSd3dfqTKzQR3WYPaIL6IHWCqBfqKbg///gwACAACKLAIAK8sAAgAAiKtD//9+uAIAAI2Tg///pnAAABLZKoP//6JUA///dQsCAAChkgP//269QgAAtgID//7M5oAAv/nAA///bVZD//9SrgP//d00w//8FlYD//ds4QA==
Date: Tue, 06 Sep 2016 10:46:24 +0000
Message-ID: <D62E05768DBAFF42A72B9F4954476D65010EAB16BE@FR712WXCHMBA09.zeu.alcatel-lucent.com>
References: <D62E05768DBAFF42A72B9F4954476D65010EAB14F7@FR712WXCHMBA09.zeu.alcatel-lucent.com> <20160906080113.GA15908@elstar.local> <D62E05768DBAFF42A72B9F4954476D65010EAB15C9@FR712WXCHMBA09.zeu.alcatel-lucent.com> <20160906.113803.521932951188259563.mbj@tail-f.com>
In-Reply-To: <20160906.113803.521932951188259563.mbj@tail-f.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-originating-ip: [135.239.27.40]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="SHA1"; boundary="----=_NextPart_000_0210_01D2083C.ACC928D0"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/BPIeLotHbWa91bgIdmDwru922w4>
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] BBF extensions to ietf-entity
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: Tue, 06 Sep 2016 10:50:37 -0000

"Bogaert, Bart (Nokia - BE)" <bart.bogaert@nokia.com> wrote:
> On Tue, Sep 06, 2016 at 07:50:47AM +0000, Bogaert, Bart (Nokia - BE)
wrote:
> > 
> > [Bart Bogaert] When sending a configuration request to a device 
> > while there is no HW physically present yet is what we call 
> > pre-provisioning meaning that the configuration is made up-front in 
> > attendance of the HW being plugged at a later stage.  When the 
> > plugged HW does not meet the pre-configured data I think it is 
> > normal that an alarm is raised but that does not take away the fact 
> > that the device was configured in
> advance.
> > 
> 
> In your example, there is nothing configured as far as I can tell.
> 
> The way the interfaces data model supports pre-configuration is by 
> having a _name binding_; a pre-configured interface is applied once 
> the name of the pre-configured interfaces matches the name of a
> (physical) interface. I think Martin is asking the question whether 
> the same model of using name bindings can be applied in your case and if
not why not.
> 
> [Bart Bogaert] I'm afraid I am lost in the names being used here.  
> Whether it's called name binding or pre-configuration or still 
> something else, the key point is that we configure objects in the 
> device prior to them being physically present, nothing more, nothing 
> less.  The consequence of this being that these objects should be 
> present in the data tree of the device and once the HW gets plugged 
> all operational data linked to that comes into existence too.  I do 
> not know of another way to explain what is intended with what we call
'pre-configuration'.

I think there are two things that I am trying to understand:

  (i) Identification

      In order to be able to pre configure a component, the operator
      needs a deterministic way to idenfity the component.  How
      exactly is this done?

      One way is to rely on the name of the to-be-present component.
      Another way is to identify its parent by name, and provide a
      parent-rel-pos integer.  (The latter assumes that the parent's
      name is known...)

[Bart Bogaert] If we stick to the use case of equipment the
pre-configuration is based on containment and names attributed to the
entities by the operator.  I tried to explain that so far names attributed
to entities have no other meaning then identifying the entity and, as
allocated by the operator, there is nothing to be predicted: it is known.  I
agree that in the case of entities there will be no other special leafs that
require to be configured.

  (ii) Configuration

      Once a component is identified, what parameters can you
      pre-configure?

      One answer could be "none", which I think is what the examples
      you have provided so far have.  This then would not really be
      pre-configuration, but rather a constraint, as Juergen
      indictated.

[Bart Bogaert] As indicated above that might be true for equipment (entity)
objects but pre-configuration could also include definition on top of these
pre-configured ports and in this case there will certainly be configuration
of leafs that are characteristic for the to-be offered service and which
will be defined on top of a port (hence the augment of interfaces with
back-pointer to the port entity).  Also in this case the operator knows
exactly on top of which port the interface will be created.  The name
attributed to the interface has no special meaning to the SW of the device
apart from giving it a unique reference.  The name is set by the network
operator and can basically be anything (that is why I say that it has no
special meaning to the SW in the device).  As the names are set by the
operator there is nothing that requires prediction.  The name-binding as it
is referred to here comes from the model where the leafrefs point to the
name of underlying resource (be it entity or interface).

Maybe we have a different understand of "pre-configuration"?  For me it
simply means that an operator is able to create a configuration in the
device without the HW supporting this configuration being physically present
but is getting stored in the database of the device (I'm explaining it as it
is in our SNMP-based devices).  The configuration gets applied once the
supporting HW is plugged in the device (given the fact that the plugged HW
matches what was previously configured).

/Bart


/martin