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

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-02-13
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: August 17, 2014                             Huawei Technologies
                                                       February 13, 2014

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

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.

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 August 17, 2014.

Copyright Notice

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

   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

van der Stok & GreevenbosExpires August 17, 2014                [Page 1]

Internet-Draft                    CoMI                     February 2014

   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.  Terminology . . . . . . . . . . . . . . . . . . . . . . .   4
   2.  CoAP Interface  . . . . . . . . . . . . . . . . . . . . . . .   5
   3.  MIB Function Set  . . . . . . . . . . . . . . . . . . . . . .   5
     3.1.  SNMP/MIB architecture . . . . . . . . . . . . . . . . . .   5
       3.1.1.  SNMP functions  . . . . . . . . . . . . . . . . . . .   6
       3.1.2.  MIB structure . . . . . . . . . . . . . . . . . . . .   7
     3.2.  CoMI Function Set . . . . . . . . . . . . . . . . . . . .   8
       3.2.1.  Single MIB values . . . . . . . . . . . . . . . . . .   9
       3.2.2.  multi MIB values  . . . . . . . . . . . . . . . . . .  11
       3.2.3.  Table row . . . . . . . . . . . . . . . . . . . . . .  13
       3.2.4.  Error returns . . . . . . . . . . . . . . . . . . . .  14
   4.  Mapping SMI to CoMI payload . . . . . . . . . . . . . . . . .  14
     4.1.  Mapping strings to CBOR . . . . . . . . . . . . . . . . .  15
     4.2.  Mapping SMI to CBOR . . . . . . . . . . . . . . . . . . .  16
       4.2.1.  General overview  . . . . . . . . . . . . . . . . . .  16
       4.2.2.  Conversion from YANG datatypes to CBOR datatypes  . .  16
       4.2.3.  Examples  . . . . . . . . . . . . . . . . . . . . . .  18
       4.2.4.  6LoWPAN MIB . . . . . . . . . . . . . . . . . . . . .  20
   5.  MIB discovery . . . . . . . . . . . . . . . . . . . . . . . .  23
   6.  Trap functions  . . . . . . . . . . . . . . . . . . . . . . .  24
   7.  MIB access management . . . . . . . . . . . . . . . . . . . .  24
     7.1.  Notify destinations . . . . . . . . . . . . . . . . . . .  24
     7.2.  Conversion tables . . . . . . . . . . . . . . . . . . . .  25
   8.  Error handling  . . . . . . . . . . . . . . . . . . . . . . .  25
   9.  Security Considerations . . . . . . . . . . . . . . . . . . .  26
   10. IANA Considerations . . . . . . . . . . . . . . . . . . . . .  27
   11. Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .  27
   12. Changelog . . . . . . . . . . . . . . . . . . . . . . . . . .  27
   13. References  . . . . . . . . . . . . . . . . . . . . . . . . .  28
     13.1.  Normative References . . . . . . . . . . . . . . . . . .  28
     13.2.  Informative References . . . . . . . . . . . . . . . . .  29
   Appendix A.  Notational Convention for CBOR data  . . . . . . . .  31
Show full document text