Re: [Roll] RPL MIB

peter van der Stok <stokcons@xs4all.nl> Wed, 04 September 2013 09:37 UTC

Return-Path: <stokcons@xs4all.nl>
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 D61D511E819C for <roll@ietfa.amsl.com>; Wed, 4 Sep 2013 02:37:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.146
X-Spam-Level:
X-Spam-Status: No, score=0.146 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, HELO_EQ_FR=0.35, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545, J_CHICKENPOX_51=0.6]
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 L4McpGSwg7TY for <roll@ietfa.amsl.com>; Wed, 4 Sep 2013 02:37:37 -0700 (PDT)
Received: from smtp-vbr8.xs4all.nl (smtp-vbr8.xs4all.nl [194.109.24.28]) by ietfa.amsl.com (Postfix) with ESMTP id 3F96911E80E3 for <roll@ietf.org>; Wed, 4 Sep 2013 02:37:32 -0700 (PDT)
Received: from roundcube.xs4all.nl (roundcube12.xs4all.net [194.109.20.211]) by smtp-vbr8.xs4all.nl (8.13.8/8.13.8) with ESMTP id r849bRI1058063 for <roll@ietf.org>; Wed, 4 Sep 2013 11:37:27 +0200 (CEST) (envelope-from stokcons@xs4all.nl)
Received: from AMontpellier-654-1-158-227.w90-0.abo.wanadoo.fr ([90.0.253.227]) by roundcube.xs4all.nl with HTTP (HTTP/1.1 POST); Wed, 04 Sep 2013 11:37:27 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Date: Wed, 04 Sep 2013 11:37:27 +0200
From: peter van der Stok <stokcons@xs4all.nl>
To: roll@ietf.org
Organization: vanderstok consultancy
Mail-Reply-To: consultancy@vanderstok.org
In-Reply-To: <eb3ad16f903543e1b6ea1183d35ab612@DBXPR01MB015.eurprd01.prod.exchangelabs.com>
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> <20130903170121.GB51228@elstar.local> <eb3ad16f903543e1b6ea1183d35ab612@DBXPR01MB015.eurprd01.prod.exchangelabs.com>
Message-ID: <32f4fd11890c1bb17078dbdede004ec3@xs4all.nl>
X-Sender: stokcons@xs4all.nl (1Wjq7pu2HC3Q2HJgmBQ89Z2dZEYzTD3E)
User-Agent: XS4ALL Webmail
X-Virus-Scanned: by XS4ALL Virus Scanner
Subject: Re: [Roll] RPL MIB
X-BeenThere: roll@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To: consultancy@vanderstok.org, 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: Wed, 04 Sep 2013 09:37:43 -0000

Hi Randy,

excellent idea to look at a MIB for RPL, RPL-P2P, and MPL. I hope you 
will also include the parameters that need initialization,
like: k, c, Imin, DIOIntervalMin, DIOIntervalDoublings, etc.

I agree fully with the reuse of the existing MIB base also for low 
resource devices.
The separation between SNMP and MIB is nicely described in RFC 3410.
I don't see people changing their existing SNMP installed base, but I 
get requests to look at a CoAP interface to the MIBs for the small 
devices.

I have been working on a CoAP interface to the MIBs, called CoMI (CoAP 
Management Interface).
I expect to publish a second, much improved, more focussed, draft the 
coming weeks.

According to me the advantages are: One programming interface for 
management and other applications
and the subsequent reduction in stack complexity, reduction of security 
complexity as proposed during the DICE BoF will
follow automatically with CoAP updates, use of resource discovery will 
come for free, possible use of multicast
to initialize variables to a group of devices.
Disadvantages are: a different approach to the multi packet transport, 
and a different approach to
passing through the lexicographically ordered list of data.
This list of (dis)advantages still needs to be validated.

Greetings,

Peter van der Stok



Turner, Randy schreef op 2013-09-03 19:23:
> Agreed, if they already have COAP in the box, then there's an
> incentive to reuse it as much as possible -- but if they don't, there
> are a multitude of existing network management infrastructures that
> utilize SNMP managers -- this infrastructure could be reused -- I'm
> not aware of any NMS vendors looking at adapting anything new on the
> protocol front (except possibly NETCONF, which has its' own
> implications for constrained devices). I'm happy to be proved wrong
> here :)
> 
> At the end of the day, I would like to reuse existing SNMP management
> infrastructure as much as possible, but I'm not opposed to using
> something else to transport the management information, if need be.
> 
> I think we're going to want to secure the network management traffic
> regardless of transport, so I'm assuming crypto overhead is "sunk
> cost", meaning it's going to be there.
> 
> If there is consensus in the WG, I would like to "restart" the MIB and
> associated management effort, with of course input from other
> interested parties (CORE, etc.)
> 
> R.
> 
> -----Original Message-----
> From: roll-bounces@ietf.org [mailto:roll-bounces@ietf.org] On Behalf
> Of Juergen Schoenwaelder
> Sent: Tuesday, September 03, 2013 1:01 PM
> To: Routing Over Low power and Lossy networks
> Subject: Re: [Roll] RPL MIB
> 
> 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