CoAp Management Interfaces
draft-vanderstok-core-comi-04

The information below is for an old version of the document
Document Type Active Internet-Draft (individual)
Authors Peter Van der Stok  , Bert Greevenbosch 
Last updated 2014-05-08
Replaced by draft-ietf-core-comi
Stream (None)
Formats pdf htmlized (tools) htmlized bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
core                                                     P. van der Stok
Internet-Draft                                                consultant
Intended status: Informational                           B. Greevenbosch
Expires: November 9, 2014                            Huawei Technologies
                                                             May 8, 2014

                       CoAp Management Interfaces
                     draft-vanderstok-core-comi-04

Abstract

   The draft describes an interface based on CoAP to manage constrained
   devices via MIBs.  The proposed integration of CoAP with SNMP reduces
   the code- and application development complexity by accessing MIBs
   via a standard CoAP server.  The payload of the MIB request is CBOR
   based on JSON.  The mapping from SMI to CBOR is specified.  The
   introduction motivates the choices of CoMI with respect to
   utilization of YANG, NETCONF, SMI, CBOR, CoAP, and URI structure.

Note

   Discussion and suggestions for improvement are requested, and should
   be sent to core@ietf.org.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at http://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on November 9, 2014.

Copyright Notice

   Copyright (c) 2014 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

van der Stok & GreevenboExpires November 9, 2014                [Page 1]

Internet-Draft                    CoMI                          May 2014

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
     1.1.  Design considerations . . . . . . . . . . . . . . . . . .   4
     1.2.  Terminology . . . . . . . . . . . . . . . . . . . . . . .   5
   2.  CoAP Interface  . . . . . . . . . . . . . . . . . . . . . . .   5
   3.  MIB Function Set  . . . . . . . . . . . . . . . . . . . . . .   6
     3.1.  SNMP/MIB architecture . . . . . . . . . . . . . . . . . .   6
       3.1.1.  SNMP functions  . . . . . . . . . . . . . . . . . . .   7
       3.1.2.  MIB structure . . . . . . . . . . . . . . . . . . . .   7
     3.2.  CoMI Function Set . . . . . . . . . . . . . . . . . . . .   9
       3.2.1.  Single MIB values . . . . . . . . . . . . . . . . . .  10
       3.2.2.  multi MIB values  . . . . . . . . . . . . . . . . . .  12
       3.2.3.  Table row . . . . . . . . . . . . . . . . . . . . . .  14
       3.2.4.  MIB discovery . . . . . . . . . . . . . . . . . . . .  15
       3.2.5.  Error returns . . . . . . . . . . . . . . . . . . . .  16
   4.  Mapping SMI to CoMI payload . . . . . . . . . . . . . . . . .  16
     4.1.  CBOR format for MIB data  . . . . . . . . . . . . . . . .  16
     4.2.  Table generation  . . . . . . . . . . . . . . . . . . . .  17
     4.3.  Mapping SMI to CBOR . . . . . . . . . . . . . . . . . . .  18
       4.3.1.  General overview  . . . . . . . . . . . . . . . . . .  18
       4.3.2.  Conversion from YANG datatypes to CBOR datatypes  . .  18
       4.3.3.  Examples  . . . . . . . . . . . . . . . . . . . . . .  20
       4.3.4.  6LoWPAN MIB . . . . . . . . . . . . . . . . . . . . .  22
   5.  Trap functions  . . . . . . . . . . . . . . . . . . . . . . .  23
   6.  MIB access management . . . . . . . . . . . . . . . . . . . .  23
     6.1.  Notify destinations . . . . . . . . . . . . . . . . . . .  23
     6.2.  Conversion table management . . . . . . . . . . . . . . .  23
   7.  Error handling  . . . . . . . . . . . . . . . . . . . . . . .  24
   8.  Security Considerations . . . . . . . . . . . . . . . . . . .  25
   9.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  26
   10. Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .  26
   11. Changelog . . . . . . . . . . . . . . . . . . . . . . . . . .  26
Show full document text