Re: [eman] Read-Only or Read-Write EMAN MIBs

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Wed, 12 February 2014 15:19 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: eman@ietfa.amsl.com
Delivered-To: eman@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7E9CA1A046A for <eman@ietfa.amsl.com>; Wed, 12 Feb 2014 07:19:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.798
X-Spam-Level:
X-Spam-Status: No, score=-2.798 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.548] autolearn=ham
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 RRDf2Bqc-Kkh for <eman@ietfa.amsl.com>; Wed, 12 Feb 2014 07:19:01 -0800 (PST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by ietfa.amsl.com (Postfix) with ESMTP id D5B731A0398 for <eman@ietf.org>; Wed, 12 Feb 2014 07:19:00 -0800 (PST)
Received: from localhost (demetrius4.jacobs-university.de [212.201.44.49]) by hermes.jacobs-university.de (Postfix) with ESMTP id CE7E720032; Wed, 12 Feb 2014 16:18:59 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius4.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id QvJu6LfQtXk4; Wed, 12 Feb 2014 16:18:59 +0100 (CET)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 061CE20030; Wed, 12 Feb 2014 16:18:58 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501) id ACE732B45CFE; Wed, 12 Feb 2014 16:18:57 +0100 (CET)
Date: Wed, 12 Feb 2014 16:18:57 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Thomas Nadeau <tnadeau@lucidvision.com>
Message-ID: <20140212151857.GB81367@elstar.local>
Mail-Followup-To: Thomas Nadeau <tnadeau@lucidvision.com>, "Romascanu, Dan (Dan)" <dromasca@avaya.com>, eman mailing list <eman@ietf.org>
References: <88A474D1-677D-4BA0-8399-0429A095AE45@lucidvision.com> <9904FB1B0159DA42B0B887B7FA8119CA2E403CD4@AZ-FFEXMB04.global.avaya.com> <20140212145008.GA81278@elstar.local> <F537710E-CFD0-44B6-8CE7-2453A2C164F5@lucidvision.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <F537710E-CFD0-44B6-8CE7-2453A2C164F5@lucidvision.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: eman mailing list <eman@ietf.org>
Subject: Re: [eman] Read-Only or Read-Write EMAN MIBs
X-BeenThere: eman@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
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: Wed, 12 Feb 2014 15:19:03 -0000

On Wed, Feb 12, 2014 at 10:00:59AM -0500, Thomas Nadeau wrote:
> 
> On Feb 12, 2014:9:50 AM, at 9:50 AM, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> wrote:
> 
> > On Wed, Feb 12, 2014 at 01:53:24PM +0000, Romascanu, Dan (Dan) wrote:
> > 
> >> draft-ietf-eman-energy-monitoring-mib-08 has two writable objects. I do not understand well enough eoPowerStateEnterReason, in general I am no fan of objects that pass information by writable strings, so I do not have a clear opinion if it makes sense to make this object read-only or take it out. The second object eoPowerEnableStatusNotification is a switch that activates and de-activates notifications. Such MIB objects are not really configuration objects for the protocol or device, they rather configure the mode of work of the agents. I believe they can be left writable. 
> > 
> > Since the persistency of eoPowerEnableStatusNotification is not spelled
> > out, it remains unclear whether this object is configuration or not.
> 
> 	(Without my chair hat on)
> 
> 	Differentiating between persistent configuration or non-persistent is not going to matter if SNMP writes are operationally disabled, are they?
> 

Frankly, the fact that ISPs do not SNMP write does not mean SNMP
writes do not exist. Read the security horror stories about SCADA
networks.  SNMP has a significant share there and perhaps we would
wish things are not writable. ;-) My understanding is that the EMAN
work targets deployments most likely in enterprise networks. And I
think it is also bad style to cast a new policy (which is BTW not set
in stone yet either) and to tell WGs that have been working on
something for years to suddenly change their documents.

The WG needs to decide. If there is concensus to get rid of writable
objects, fine. My only take is that if you have writable objects, you
need to spell out the persistency propoerties.

RFC 4181 page 20:

   For read-write objects (other than columns in read-create tables that
   have well-defined persistence properties), it is RECOMMENDED that the
   DESCRIPTION clause specify what happens to the value after an agent
   reboot.  Among the possibilities are that the value remains
   unchanged, that it reverts to a well-defined default value, or that
   the result is implementation-dependent.

/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/>