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

Thomas Nadeau <tnadeau@lucidvision.com> Wed, 12 February 2014 15:26 UTC

Return-Path: <tnadeau@lucidvision.com>
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 37D101A0425 for <eman@ietfa.amsl.com>; Wed, 12 Feb 2014 07:26:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.448
X-Spam-Level:
X-Spam-Status: No, score=-2.448 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 AoqStIZbTcli for <eman@ietfa.amsl.com>; Wed, 12 Feb 2014 07:26:01 -0800 (PST)
Received: from lucidvision.com (lucidvision.com [72.71.250.34]) by ietfa.amsl.com (Postfix) with ESMTP id C2E381A0310 for <eman@ietf.org>; Wed, 12 Feb 2014 07:26:00 -0800 (PST)
Received: from [192.168.1.122] (static-72-71-250-38.cncdnh.fast04.myfairpoint.net [72.71.250.38]) by lucidvision.com (Postfix) with ESMTP id A792026EC0A9; Wed, 12 Feb 2014 10:25:59 -0500 (EST)
Content-Type: multipart/signed; boundary="Apple-Mail=_31BFC801-DACE-4E6B-B411-CBE6ADFAE479"; protocol="application/pgp-signature"; micalg="pgp-sha512"
Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\))
From: Thomas Nadeau <tnadeau@lucidvision.com>
In-Reply-To: <20140212151857.GB81367@elstar.local>
Date: Wed, 12 Feb 2014 10:25:59 -0500
Message-Id: <634AB133-E615-4E27-8BBA-0903734D66CF@lucidvision.com>
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> <20140212151857.GB81367@elstar.local>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
X-Mailer: Apple Mail (2.1827)
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
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:26:03 -0000

On Feb 12, 2014:10:18 AM, at 10:18 AM, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> wrote:

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

	(chair hat off)
	
	Power distribution networks are I guess a type of enterprise network
but there are definitely "wan" cases too such as the smart grid work I did 
a bit of at BT. In these cases you often have much tighter security constraints 
to prevent unwanted tampering or worse - disconnecting the power. *)

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

	That is a very good point. 

	--Tom



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