Re: [eman] Entity identification method
Benoit Claise <bclaise@cisco.com> Thu, 28 October 2010 14:02 UTC
Return-Path: <bclaise@cisco.com>
X-Original-To: eman@core3.amsl.com
Delivered-To: eman@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9AB1B3A6866 for <eman@core3.amsl.com>; Thu, 28 Oct 2010 07:02:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.498
X-Spam-Level:
X-Spam-Status: No, score=-2.498 tagged_above=-999 required=5 tests=[AWL=0.100, BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bDXqnf5xjS5G for <eman@core3.amsl.com>; Thu, 28 Oct 2010 07:02:38 -0700 (PDT)
Received: from av-tac-bru.cisco.com (weird-brew.cisco.com [144.254.15.118]) by core3.amsl.com (Postfix) with ESMTP id 916C63A68A0 for <eman@ietf.org>; Thu, 28 Oct 2010 07:02:37 -0700 (PDT)
X-TACSUNS: Virus Scanned
Received: from strange-brew.cisco.com (localhost.cisco.com [127.0.0.1]) by av-tac-bru.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id o9SE4S04009143; Thu, 28 Oct 2010 16:04:29 +0200 (CEST)
Received: from [10.55.43.53] (ams-bclaise-8714.cisco.com [10.55.43.53]) by strange-brew.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id o9SE4SmE024205; Thu, 28 Oct 2010 16:04:28 +0200 (CEST)
Message-ID: <4CC982EC.80803@cisco.com>
Date: Thu, 28 Oct 2010 16:04:28 +0200
From: Benoit Claise <bclaise@cisco.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.11) Gecko/20101013 Thunderbird/3.1.5
MIME-Version: 1.0
To: Juergen Quittek <Quittek@neclab.eu>
References: <C8EC9D8C.161AA%quittek@neclab.eu>
In-Reply-To: <C8EC9D8C.161AA%quittek@neclab.eu>
Content-Type: multipart/alternative; boundary="------------000609070100000907080204"
Cc: eman mailing list <eman@ietf.org>
Subject: Re: [eman] Entity identification method
X-BeenThere: eman@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussions about the creation of an Energy Management Working Group <eman.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Thu, 28 Oct 2010 14:02:39 -0000
Hi Juergen, draft-parello-eman-energy-aware-mib has its own pmIndex index, but also pmPhysicalEntity (as a non index MIB object) if the ENTITY-MIB is supported. Isn't it the best of both worlds? If the ENTITY-MIB is not supported, the pmIndex does its job. If you need to report on the remote entities, the pmIndex does its job. If the ENTITY-NIB is supported, then the pmPhysicalEntity contains the pointer to the ENTITY-MIB Btw, the same principle has been applied for the Power Ethernet MIB [RFC3621] with pmEthPortIndex and pmEthPortGrpIndex PethPsePortGroupIndexOrZero. And again with the [LLDP-MIB <http://tools.ietf.org/html/draft-parello-eman-energy-aware-mib-00#ref-LLDP-MIB>] and [LLDP-MED-MIB <http://tools.ietf.org/html/draft-parello-eman-energy-aware-mib-00#ref-LLDP-MED-MIB>] with pmLldpPortNumber See inline. > Hi Benoit and all, > > I agree that we should find a common identification method > for entities used by all MIB modules. This does not apply to > the POWER MIB only, but to all MIB modules in the eman WG. > The modules will use an entity ID as index for their tables. > Which entity is identified by the index can be resolved by > other MIB modules, such as the POWER AWARE MIB module > (draft-parello-eman-energy-aware-mib) or the ENTITY MIB > module (RFC 4133). > I see three basic scenarios for the entity identification: > > a) a device just reports on its own power state and energy > consumption and it reports on its own as a single unit. > > Then we have a single index only stating "it's me". > Such a device usually does not need further identification > of itself, because typically there are sufficient other > MIB modules for this purpose running in the same SNMP engine, > that provide information about the device's IP address, > manufacturer, operating system, etc. In such a case a > 'trivial' index, such as '0' should be used in order to > keep it simple in this most simple case. > > b) a device reports on its own but not just as a single unit > but it reports power states and energy consumption for its > individual components, for example it may report separately > on contained hard drives, line cards, back planes, > processor boards, etc. > > In such a case, identification of these components as > individual entities would be required. The ENTITY MIB > module was designed for this purpose and would be a good > choice here. Also the POWER AWARE MIB module would be > useful in this case. > > c) a device reports on energy consumption of other, remote > devices. Then remote devices (and potentially also their > contained components need to be identified. For > identifying remote components there is the POWER AWARE MIB > module that has been designed for this purpose. As far as > I understand, the ENTITY MIB module is not applicable to > remote devices. > > In summary, > - if you need to report on remote entities (case c)), > you need the POWER AWARE MIB module, > - if you report only on entities locally contained > in the reporting device (case b)), you can use > the POWER AWARE MIB or the ENTITY MIB > - if you report just on your own as a single device > (case a)), identification is trivial > > Hence, my recommendation (stated for POWER-STATE MIB and > ENERGY MIB in draft-quittek-power-mib-02) would be: > > If there is an implementation of the POWER AWARE MIB module > instantiated in the local SNMP engine, then you SHOULD > (or MUST?) use it for indexing (pmIndex). > If this is not the case but there is an ENTITY MIB instance > available, then you SHOULD use this one (entPhysicalIndex). > If neither of this MIB modules is available you should use > index 0 only and be limited to report on the local device > as a single entity only. Another problem that is linked: index persistence. If the persistence is required (to be discussed), and if you use the entPhysicalIndex as an index in these MIB module, basically you're asking for the ENTITY-MIB persistence. IMHO, another reason to have this level of indirection via the pmIndex -> pmPhysicalEntity Regards, Benoit (as a contributor) > That's just my view. Certainly, there are more ways of > entity identification. I look forward to discussing them. > > Thanks, > > Juergen > > > On 26.10.10 11:44 "Benoit Claise"<bclaise@cisco.com> wrote: > >> Hi Juergen, >> >> Thanks for the clarification. >> >> Something key is to agree on the Power Monitor index for all MIB >> modules, which IMHO should be part of the Energy-aware Networks and >> Devices MIB module, but reuse in the other MIB modules. >> >> Regards, Benoit. >>> Hi Benoit, >>> >>> Thanks for checking all drafts. >>> >>> I don't think that draft-quittek-power-mib-02 makes significant >>> contributions to the Energy-aware Networks and Devices MIB. >>> It just covers the Power and Energy Monitoring MIB and the Battery MIB. >>> >>> Thanks, >>> Juergen >>> >>> >>> On 26.10.10 08:22 "Benoit Claise"<bclaise@cisco.com> wrote: >>> >>>> Dear all, >>>> >>>> I went through the exercise of mapping the existing six chartered items >>>> with the existing draft content. >>>> >>>> _Energy Management Requirements_ >>>> http://tools.ietf.org/html/draft-quittek-power-monitoring-requirements-02 >>>> https://datatracker.ietf.org/doc/draft-norwin-energy-consider/ >>>> _ >>>> Energy Management Framework_ >>>> http://tools.ietf.org/html/draft-claise-power-management-arch-02 >>>> >>>> _Energy-aware Networks and Devices MIB_ >>>> http://tools.ietf.org/html/draft-parello-eman-energy-aware-mib-00 >>>> http://tools.ietf.org/html/draft-quittek-power-mib-02 >>>> >>>> _Power and Energy Monitoring MIB_ >>>> http://tools.ietf.org/html/draft-claise-energy-monitoring-mib-06 >>>> http://tools.ietf.org/html/draft-quittek-power-mib-02 >>>> >>>> _Battery MIB_ >>>> http://tools.ietf.org/html/draft-quittek-power-mib-02 >>>> >>>> _Energy Management Applicability_ >>>> http://datatracker.ietf.org/doc/draft-tychon-eman-applicability-statement/ >>>> >>>> Please let me know if I made any mistakes or if I missed any draft? >>>> >>>> Regards, Benoit. >>>> _______________________________________________ >>>> eman mailing list >>>> eman@ietf.org >>>> https://www.ietf.org/mailman/listinfo/eman
- Re: [eman] EMAN chartered items versus drafts Juergen Quittek
- [eman] EMAN chartered items versus drafts Benoit Claise
- Re: [eman] EMAN chartered items versus drafts Benoit Claise
- [eman] Entity identification method (was: EMAN ch… Juergen Quittek
- Re: [eman] Entity identification method Benoit Claise
- Re: [eman] Entity identification method Juergen Quittek