Re: [Roll] RPL MIB

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Tue, 03 September 2013 17:01 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: roll@ietfa.amsl.com
Delivered-To: roll@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 061FF21F9B86 for <roll@ietfa.amsl.com>; Tue, 3 Sep 2013 10:01:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.928
X-Spam-Level:
X-Spam-Status: No, score=-102.928 tagged_above=-999 required=5 tests=[AWL=-0.279, BAYES_00=-2.599, HELO_EQ_DE=0.35, J_CHICKENPOX_51=0.6, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
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 bUS8cgxoan0V for <roll@ietfa.amsl.com>; Tue, 3 Sep 2013 10:01:38 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by ietfa.amsl.com (Postfix) with ESMTP id D199021F9AB4 for <roll@ietf.org>; Tue, 3 Sep 2013 10:01:28 -0700 (PDT)
Received: from localhost (demetrius4.jacobs-university.de [212.201.44.49]) by hermes.jacobs-university.de (Postfix) with ESMTP id 394A220C4B; Tue, 3 Sep 2013 19:01:28 +0200 (CEST)
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 5A8IVviyk92j; Tue, 3 Sep 2013 19:01:28 +0200 (CEST)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 6CD6E20C42; Tue, 3 Sep 2013 19:01:27 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 437422832A1E; Tue, 3 Sep 2013 19:01:21 +0200 (CEST)
Date: Tue, 03 Sep 2013 19:01:21 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Routing Over Low power and Lossy networks <roll@ietf.org>
Message-ID: <20130903170121.GB51228@elstar.local>
Mail-Followup-To: Routing Over Low power and Lossy networks <roll@ietf.org>
References: <d608e067739e4221a948fd420def23bd@DBXPR01MB015.eurprd01.prod.exchangelabs.com> <23397.1377885103@sandelman.ca> <0b7a01cea7c7$9b1b2120$d1516360$@olddog.co.uk> <03B78081B371D44390ED6E7BADBB4A77237657C9@xmb-rcd-x02.cisco.com> <03B78081B371D44390ED6E7BADBB4A77237682C3@xmb-rcd-x02.cisco.com> <866c54ef240c43f296e2f066b85134bf@DBXPR01MB015.eurprd01.prod.exchangelabs.com> <20130903134551.GD48413@elstar.local> <f053dee2072247948f0922487d8fa90b@DBXPR01MB015.eurprd01.prod.exchangelabs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <f053dee2072247948f0922487d8fa90b@DBXPR01MB015.eurprd01.prod.exchangelabs.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Subject: Re: [Roll] RPL MIB
X-BeenThere: roll@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Routing Over Low power and Lossy networks <roll@ietf.org>
List-Id: Routing Over Low power and Lossy networks <roll.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/roll>, <mailto:roll-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/roll>
List-Post: <mailto:roll@ietf.org>
List-Help: <mailto:roll-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/roll>, <mailto:roll-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Sep 2013 17:01:43 -0000

Randy,

we have done a detailed analysis of our SNMP stack implemented on
Contiki. SNMP itself is not a resource hog (actually no surprise given
that SNMP was designed in the 80s). If you do crypto in software, then
the crypto code is the killer in size and (depending on the platform)
in performance. But this applies equally well to DTLS as long as you
can't exploit hardware crypto and you use off-the-shelf cryto
algorithms.

Anyway, having agreement which counters etc. should be in the RPL code
would already be a big plus. If people can ship the data more
efficiently or more comfortably over CoAP and there is no need to
integrate with SNMP-based tools, fine.

/js

On Tue, Sep 03, 2013 at 02:12:55PM +0000, Turner, Randy wrote:
> 
> Yes, you can separate the usage of the MIB data model within a device from the SNMP protocol used to transport it -- however, there should be a very good reason for doing this.  I think it might be possible to "profile" SNMPv3 in such a way as to make it more attractive to constrained devices.
> 
> Randy
> 
> -----Original Message-----
> From: roll-bounces@ietf.org [mailto:roll-bounces@ietf.org] On Behalf Of Juergen Schoenwaelder
> Sent: Tuesday, September 03, 2013 9:46 AM
> To: Routing Over Low power and Lossy networks
> Subject: Re: [Roll] RPL MIB
> 
> Hi,
> 
> the key is to find agreement which counters etc. are relevant to instrument in the RPL code. Whether one provides access to these counters via SNMP or some other means may depends on the specific constraints of the device and the deployment target.
> 
> A MIB module is a way to define what needs to be instrumented and, as a side effect, it of course works well with SNMP as an access mechanism. But this does not exclude other access mechanism from being used instead.
> 
> /js
> 
> On Tue, Sep 03, 2013 at 01:34:16PM +0000, Turner, Randy wrote:
> > 
> > There is an expired draft for an RPL MIB that I think is a good  start...that doesn't seem to violate the spirit of what is being proposed below.
> > 
> > So it doesn't appear that this would be a "from scratch" effort.
> > 
> > The data model suggested by the expired draft offers some good ideas, much of it I think is quite usable and valuable.
> > 
> > There remains a "non-data-related" aspect of management in an LLN, which might suggest that there are some endpoint devices that are too constrained to support something like an SNMP agent.   While that maybe true, I believe the more constrained a device is in functionality and capability, the less likely I may want to actively (pro-actively) manage such an endpoint.
> > 
> > Randy
> > 
> > -----Original Message-----
> > From: roll-bounces@ietf.org [mailto:roll-bounces@ietf.org] On Behalf 
> > Of JP Vasseur (jvasseur)
> > Sent: Tuesday, September 03, 2013 3:45 AM
> > To: Adrian Farrel; Routing Over Low power and Lossy networks
> > Subject: Re: [Roll] RPL MIB
> > 
> > Typo "I cannot agree MORE" ;-)
> > 
> > On Sep 3, 2013, at 8:20 AM, JP Vasseur (jvasseur) <jvasseur@cisco.com> wrote:
> > 
> > > Hi,
> > >
> > > I cannot agree, adding some thoughts: of course, we would need to 
> > > think very careful on where such a management MIB would be run and 
> > > the framework should cover some of the required workflow. Indeed, 
> > > running a RPL MIB on a router would make total sense, but may be 
> > > simply not possible on a low-end node (due to memory but also bandwidth constraint), and this is where we would need to sync up with CORE.
> > >
> > > Cheers.
> > >
> > > JP.
> > >
> > > On Sep 2, 2013, at 12:31 PM, Adrian Farrel <adrian@olddog.co.uk> wrote:
> > >
> > >> Hi,
> > >>
> > >> In this context it might make a lot of sense for some work to be 
> > >> done on a "management framework for RPL devices".
> > >>
> > >> What needs to be configurable? What protocol needs to be visible?
> > >> What information is needed for diagnostics? What alarms/alerts are 
> > >> needed? What are the implications of storing logs? What are the 
> > >> implications of sending unsolicited notifications and/or of 
> > >> responding to status queries? What protocols are appropriate?
> > >>
> > >> This would lead to an Information model, which might in time lead 
> > >> to a data model.
> > >>
> > >> It is definitely also worth coordinating with CORE to see what they 
> > >> think about higher layer protocols to constrained devices.
> > >>
> > >> Cheers,
> > >> Adrian
> > >>
> > >>> -----Original Message-----
> > >>> From: roll-bounces@ietf.org [mailto:roll-bounces@ietf.org] On 
> > >>> Behalf Of
> > >> Michael
> > >>> Richardson
> > >>> Sent: 30 August 2013 18:52
> > >>> To: Routing Over Low power and Lossy networks
> > >>> Subject: Re: [Roll] RPL MIB
> > >>>
> > >>>
> > >>> Turner, Randy <Randy.Turner@landisgyr.com> wrote:
> > >>>> On the IETF ROLL WG page, I was looking for a current (not 
> > >>>> expired) version of the RPL MIB draft, but there doesn?t appear to be one.
> > >>>
> > >>> It likely expired.
> > >>>
> > >>> http://datatracker.ietf.org/doc/draft-sehgal-roll-rpl-mib/
> > >>>
> > >>>> Can someone let me know what the status of this work is ?
> > >>>
> > >>> The WG has discussed this question a few times and has not reached 
> > >>> any consensus.
> > >>>
> > >>> Here is the summary:
> > >>>
> > >>> 1) many feel that an **SNMP** Agent is not going to fit into 
> > >>> constrained
> > >> devices.
> > >>> 2) Jurgen has demonstrated it does fit into a class 2 device on 
> > >>> using  Contiki.
> > >>> 3) others have pointed out that SNMP is not the only way to deal 
> > >>> with a MIB,  and the important things in a MIB is the set of 
> > >>> statistics which one might  collect, and transmit in *some* way.
> > >>> 4) opinions have ranged from HTTP / CoAP to NetCONF/YANG as other 
> > >>> transport  alternatives to SNMP.
> > >>>
> > >>> I think that it is simply early for many people to talk about 
> > >>> having consistent sets of statistics... BUT. PLEASE FEEL FREE TO PROVE ME WRONG.
> > >>>
> > >>> In particular, I think that *some* standard way to get the network 
> > >>> adjacency matrix (as well as the DODAG) out of motes would be very 
> > >>> useful for network operators.
> > >>>
> > >>> --
> > >>> Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
> > >>> IETF ROLL WG co-chair.    http://datatracker.ietf.org/wg/roll/charter/
> > >>
> > >>
> > >> _______________________________________________
> > >> Roll mailing list
> > >> Roll@ietf.org
> > >> https://www.ietf.org/mailman/listinfo/roll
> > >
> > > _______________________________________________
> > > Roll mailing list
> > > Roll@ietf.org
> > > https://www.ietf.org/mailman/listinfo/roll
> > 
> > _______________________________________________
> > Roll mailing list
> > Roll@ietf.org
> > https://www.ietf.org/mailman/listinfo/roll
> > 
> > 
> > P PLEASE CONSIDER OUR ENVIRONMENT BEFORE PRINTING THIS EMAIL.
> > 
> > This e-mail (including any attachments) is confidential and may be legally privileged. If you are not an intended recipient or an authorized representative of an intended recipient, you are prohibited from using, copying or distributing the information in this e-mail or its attachments. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete all copies of this message and any attachments. Thank you.
> > _______________________________________________
> > Roll mailing list
> > Roll@ietf.org
> > https://www.ietf.org/mailman/listinfo/roll
> 
> -- 
> 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/>
> _______________________________________________
> Roll mailing list
> Roll@ietf.org
> https://www.ietf.org/mailman/listinfo/roll
> 
> _______________________________________________
> Roll mailing list
> Roll@ietf.org
> https://www.ietf.org/mailman/listinfo/roll

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