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

Bruce Nordman <bnordman@lbl.gov> Tue, 20 August 2013 19:24 UTC

Return-Path: <bnordman@lbl.gov>
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 5F56211E825E for <eman@ietfa.amsl.com>; Tue, 20 Aug 2013 12:24:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.976
X-Spam-Level:
X-Spam-Status: No, score=-5.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
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 NBMfzWZRiGxm for <eman@ietfa.amsl.com>; Tue, 20 Aug 2013 12:24:07 -0700 (PDT)
Received: from fe2.lbl.gov (fe2.lbl.gov [128.3.41.134]) by ietfa.amsl.com (Postfix) with ESMTP id DC7F311E816B for <eman@ietf.org>; Tue, 20 Aug 2013 12:24:05 -0700 (PDT)
X-Ironport-SBRS: 5.5
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgkCAKzBE1LRVcCum2dsb2JhbABXA4JBeVG3DohLgR4IFg4BAQEBAQYLCwkUKIIkAQEBAwEBAQFrCwULCwsDLQsiBQ0BBQEcBhOICgYMll2WYI8dD4EZDAQHEYQDA4ktiUeEcYEtjkQWKYMHgVsc
X-IronPort-AV: E=Sophos;i="4.89,921,1367996400"; d="scan'208";a="27452465"
Received: from mail-pd0-f174.google.com ([209.85.192.174]) by fe2.lbl.gov with ESMTP; 20 Aug 2013 12:24:04 -0700
Received: by mail-pd0-f174.google.com with SMTP id y13so810393pdi.19 for <eman@ietf.org>; Tue, 20 Aug 2013 12:24:04 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=li/0uFchAZ5VAEvfFSXeMZzwNBaU9trbwWp4Y+CQyVs=; b=WhtDtL9RIIt0EfQvmykeioxl9vSv6x/VQ2e+OGdTkj9szZxSrBElsfP/KZp443DUwj WGz4qoJfr+6U0ScFW5bJir7pOwM0cVkRZ1nLs0kU2sYbBzFB110vLx8aH3TqqVeMedWh q3YJD7uI7I5Q0MBeXcZrB5kpHA7Ji7BCvxTOuY59zuBvzDh82B+HBvy0iUUqq6i4sKj0 9Kl8/Kha8yYiqcbP9DpyREUedovShPZE7CQNHOviB/13MVZOil42Fx1x2BbU6IzcvmxJ 4AY+ZRWttCizQPRnfqI6zZPEkvAsyKG/vY5Cil69EKRnuXSSyAgPxeQNBvGm20sxfCYC qjJQ==
X-Gm-Message-State: ALoCoQlcgInoDltffNFSLhIx3Uw62fLvWId4OcRqyDkB8u/gc2JNLYHa0zofGbXhPQPb/slmQz7T8cvvov8oCuORvnjc6iB8SBOn2XzOBHghoCp56rxC7OAgTfxyRKeMp++LpcHCCChv
X-Received: by 10.66.102.1 with SMTP id fk1mr5600230pab.90.1377026644084; Tue, 20 Aug 2013 12:24:04 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.66.102.1 with SMTP id fk1mr5600219pab.90.1377026643964; Tue, 20 Aug 2013 12:24:03 -0700 (PDT)
Received: by 10.68.235.9 with HTTP; Tue, 20 Aug 2013 12:24:03 -0700 (PDT)
In-Reply-To: <373368AB-D347-4BDF-8BE0-EC2C2F3615EE@quittek.at>
References: <373368AB-D347-4BDF-8BE0-EC2C2F3615EE@quittek.at>
Date: Tue, 20 Aug 2013 12:24:03 -0700
Message-ID: <CAK+eDP_3g6U6_wKBcFB0-P+ryG6a6QGbqf5TD5mrUpNZpzFFGQ@mail.gmail.com>
From: Bruce Nordman <bnordman@lbl.gov>
To: Juergen Quittek <ietf@quittek.at>
Content-Type: multipart/alternative; boundary="047d7bf18b1cf5c78604e465ff44"
Cc: eman mailing list <eman@ietf.org>
Subject: Re: [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, 20 Aug 2013 19:24:11 -0000

I concur with Juergen's concern about how to approach the Framework.
A key concern I have is that the software modeling approach seems to
lead to a document which has more apparent complexity to the reader
than the alternative.   I say apparent because for implementation, the
result might be the same.  However, the apparent complexity is likely
to deter some people from implementing or using EMAN at all.
--Bruce


On Tue, Aug 13, 2013 at 2:17 AM, Juergen Quittek <ietf@quittek.at> wrote:

> 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
>
> _______________________________________________
> eman mailing list
> eman@ietf.org
> https://www.ietf.org/mailman/listinfo/eman
>
>


-- 
*Bruce Nordman*
Lawrence Berkeley National Laboratory
*nordman.lbl.gov*
BNordman@LBL.gov
510-486-7089
m: 510-501-7943