Mapping from LWM2M model to CoMI YANG model
draft-vanderstok-core-yang-lwm2m-00

Document Type Active Internet-Draft (individual)
Last updated 2016-10-27
Stream (None)
Intended RFC status (None)
Formats plain text pdf xml html 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, Ed.
Internet-Draft                                                consultant
Intended status: Standards Track                              J. Jimenez
Expires: April 30, 2017                                         Ericsson
                                                        October 27, 2016

              Mapping from LWM2M model to CoMI YANG model
                  draft-vanderstok-core-yang-lwm2m-00

Abstract

   This document defines a set of rules to convert a LWM2M xml-based
   device specification to a YANG MODULE.  The invocation of the server
   executing the converted YANG code makes use of CoMI.  The mapping
   from the original LWM2M URI to the corresponding CoMI URI is
   presented.

Note

   Discussion and suggestions for improvement are requested, and should
   be sent to roll@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 April 30, 2017.

Copyright Notice

   Copyright (c) 2016 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 & Jimenez   Expires April 30, 2017                 [Page 1]

Internet-Draft                 LWM2M-YANG                   October 2016

   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  . . . . . . . . . . . . . . . . . . . . . . . .   2
     1.1.  Terminology . . . . . . . . . . . . . . . . . . . . . . .   3
       1.1.1.  Tree Diagrams . . . . . . . . . . . . . . . . . . . .   3
   2.  Conversion rules LWM2M to YANG  . . . . . . . . . . . . . . .   4
   3.  URI convention  . . . . . . . . . . . . . . . . . . . . . . .   7
   4.  observation and notification  . . . . . . . . . . . . . . . .   8
   5.  Payload format  . . . . . . . . . . . . . . . . . . . . . . .   8
   6.  YANG extensions to LWM2M  . . . . . . . . . . . . . . . . . .   8
   7.  Security considerations . . . . . . . . . . . . . . . . . . .   8
   8.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .   8
   9.  Changelog . . . . . . . . . . . . . . . . . . . . . . . . . .   8
   10. References  . . . . . . . . . . . . . . . . . . . . . . . . .   9
     10.1.  Normative References . . . . . . . . . . . . . . . . . .   9
     10.2.  Informative References . . . . . . . . . . . . . . . . .   9
   Appendix A.  YANG identifiers as IDnumbers  . . . . . . . . . . .  10
   Appendix B.  YANG identifiers as resource names . . . . . . . . .  13
   Appendix C.  YANG identifiers as additional leaf  . . . . . . . .  16
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  21

1.  Introduction

   Standardization organizations define interfaces hosted by processors
   to manipulate the connected equipment.  Examples of such
   standardization organizations are BACnet, KNX, ZigBee, oBIX, OMA/
   IPSO, and many others.  These organizations plan to move to resource
   based interfaces.  The data models proposed by these organizations
   are hierarchical models that can be specified in XML and describe
   classes with attributes and operations that can be instantiated to
   objects.  An example is the OMA LWM2M (see [OMNA]) Object model, that
   standardizes eight numbered object types for device management.  IPSO
   (see [IPSO]) expands those objects to handle applications.  This
   document describes rules to translate xml specifications of the
   LWM2M/IPSO organizations to YANG [RFC7950], and the invocation of the
   YANG based server according to the CoAP Management Interface (CoMI)
   specification [I-D.vanderstok-core-comi].

van der Stok & Jimenez   Expires April 30, 2017                 [Page 2]

Internet-Draft                 LWM2M-YANG                   October 2016
Show full document text