[eman] eman framework issue: Do we start from a software design or do we start from the physical world?

Juergen Quittek <ietf@quittek.at> Tue, 13 August 2013 09:17 UTC

Return-Path: <ietf@quittek.at>
X-Original-To: eman@ietfa.amsl.com
Delivered-To: eman@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DE26E21E80E1 for <eman@ietfa.amsl.com>; Tue, 13 Aug 2013 02:17:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.748
X-Spam-Level: *
X-Spam-Status: No, score=1.748 tagged_above=-999 required=5 tests=[BAYES_50=0.001, HELO_EQ_DE=0.35, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RSHalnLabO5J for <eman@ietfa.amsl.com>; Tue, 13 Aug 2013 02:17:29 -0700 (PDT)
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8]) by ietfa.amsl.com (Postfix) with ESMTP id A9A7B21E80F4 for <eman@ietf.org>; Tue, 13 Aug 2013 02:17:24 -0700 (PDT)
Received: from [172.20.4.115] (mail.cedarbrookcenter.com [50.203.87.99]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0LgNIi-1VwU2w0E20-00oINA; Tue, 13 Aug 2013 11:17:15 +0200
From: Juergen Quittek <ietf@quittek.at>
Content-Type: multipart/alternative; boundary="Apple-Mail-33CFE9E1-A844-436C-940A-04900FFD7FB4"
X-Mailer: iPhone Mail (10B329)
Message-Id: <373368AB-D347-4BDF-8BE0-EC2C2F3615EE@quittek.at>
Date: Tue, 13 Aug 2013 02:17:10 -0700
To: eman mailing list <eman@ietf.org>
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (1.0)
X-Provags-ID: V02:K0:jSV/rZFwa/rLN9Apet1xwgo4TB7s3MtuDgF35x+j5pu RuDY+2/txBfEWDFBDDgcb19a1pjch0Iv3H4d3SyzUMIQN+ugkZ ApZT1Kbe4c3DTZOkB9rArI2abvYwJP8ie7HVe5Lw2N1W0Rju3l tKjmbQm5uJiVzt2oJt3MCzJtilkfkHAIPCf8EgQ7wv6gep8Jnt zKU5NLeQsPAQjgXexYXAdYPI5Kzsls75P64Eqrn1I8+agCS1e/ Ai08L+/Lz4ghF2LAhwrW5MoSx0mKIt8MuPD+R/+UkHf8Ar8/DN C9cdXTbzPifKQzAniArX7HCO5q4iz79NnCnZzfYwH7yZN7oM2T ZkuEazbtW8lP1QEaCBDKMzdnQ7mLCa/w+V7SXWIhX
Subject: [eman] eman framework issue: Do we start from a software design or do we start from the physical world?
X-BeenThere: eman@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Discussions about the Energy Management Working Group <eman.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/eman>, <mailto:eman-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/eman>
List-Post: <mailto:eman@ietf.org>
List-Help: <mailto:eman-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/eman>, <mailto:eman-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 13 Aug 2013 09:17:35 -0000

Dear all, 

Before the IETF meeting I posted high-level comments on the new version of our framework draft (draft-ietf-eman-framework-08) and on the alternative framework proposal from Bruce (draft-nordman-eman-er-framework-01). 

Now I send a series of individuals mails each focusing on a particular issue that I found in one or the other draft. For each issue I try to point out how the drafts address it and what the differences are. 

My first point is about our very general approach to describe the eman framework: Do we start with describing a software design and map this to the real world? Or do we start with describing the physical world an derive a model from it?

The two drafts are quite different in that respect. draft-ietf-eman-framework-08 (EMAN Framework) rather develops the framework from a software model while draft-nordman-eman-er-framework-01 (ER Framework) starts from the physical world. Here is an example that illustrate the difference. 

EMAN Framework section 4.2 Energy Object:
> 4.2 Energy Object
> An Energy Object is an abstract class that contains the base attributes for Energy Management. There are three types of Energy Objects: Device, Component and Power Interface.


ER Framework, section 2.5 Energy Object:
> 2.5. Energy Object  
> Devices, Power Interfaces, and Components are all Energy Objects (EOs). The term "entity" in the Requirements draft generally corresponds to Energy Object. The kinds of data available for an EO depends on its type as shown in Figure 1.


This is just one example out of many similar instances that can easily be found in those drafts. 

The different choices made by the drafts result in different ways of describing the framework. 

The ER Framework describes which information is reported for an Energy Object (power, state, voltage, etc.) while the EMAN framework tells us which attributes (power, state, voltage, etc) the class Energy Object has. 

So the basic question that occurs to me is: Do we want to define our energy management framework as an object-oriented (software) model or do we want to describe a view of physical systems?

This would be the core question to be answered for addressing this issue. 

Of course, in the end we need a data model for interoperable exchange of information based on our framework. 
But for this purpose we already have other documents. Here the candidates for  are MIB modules using SMI that do not support the concepts of classes and inheritance (which also holds for YANG modules using XML). 
:
Cheers,
    Juergen