Skip to main content

YANG module for LoRa Networks
draft-pelov-yang-lora-00

The information below is for an old version of the document.
Document Type
This is an older version of an Internet-Draft whose latest revision state is "Expired".
Authors Alexander Pelov , Laurent Toutain , Yannick Delibie , Ana Minaburo
Last updated 2015-12-16
RFC stream (None)
Formats
Additional resources
Stream Stream state (No stream defined)
Consensus boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date (None)
Responsible AD (None)
Send notices to (None)
draft-pelov-yang-lora-00
Internet Engineering Task Force                            A. Pelov, Ed.
Internet-Draft                                                    Acklio
Intended status: Informational                           L. Toutain, Ed.
Expires: June 18, 2016                                  Telecom Bretagne
                                                         Y. Delibie, Ed.
                                                                 Kerlink
                                                        A. Minaburo, Ed.
                                                              Consultant
                                                       December 16, 2015

                     YANG module for LoRa Networks
                        draft-pelov-yang-lora-00

Abstract

   This document presents a YANG module definition for managing LoRa-
   based devices.

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 June 18, 2016.

Copyright Notice

   Copyright (c) 2015 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
   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

Pelov, et al.             Expires June 18, 2016                 [Page 1]
Internet-Draft        YANG module for LoRa Networks        December 2015

   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
     1.1.  Requirements Language . . . . . . . . . . . . . . . . . .   3
   2.  LoRa Data Model . . . . . . . . . . . . . . . . . . . . . . .   3
   3.  LoRa YANG module  . . . . . . . . . . . . . . . . . . . . . .   3
   4.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .   6
   5.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   6
   6.  Security Considerations . . . . . . . . . . . . . . . . . . .   6
   7.  References  . . . . . . . . . . . . . . . . . . . . . . . . .   6
     7.1.  Normative References  . . . . . . . . . . . . . . . . . .   6
     7.2.  Informative References  . . . . . . . . . . . . . . . . .   7
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .   7

1.  Introduction

   This document provides a YANG module description for managing a LoRa
   endpoints.

   SemTech [LoRa] (c) is a low-rate, low-power, long-range radio
   technology.  It could be used as a base radio technology for building
   Low-Rate Wide-Area Networks (LR-WAN), also known as LPWA (Low-Power
   Wide Area).  SemTech [LoRa] (c) has the following characteristics:

   o  Works in narrow, license-free (ISM) bands with good propagation
      properties (< 1GHz)

   o  Low- to very-low throughput (270 bps--200 kbps)

   o  Low-power operation (25 mW in Europe)

   o  Far-Reaching communication capabilities (20 km with line-of-sight,
      several km in urban environment)

   o  Strong channel access restrictions (1% to 10% duty cycling)

   The management of LoRa-based devices can be done through a standard
   approach, compatible with the best network-operator practices, namely
   NETCONF or RESTCONF.  A formal definition of the parameters and the
   values to be managed is thus required, which can be done with the
   YANG module language.  The following document presents a YANG module
   definition for managing a LoRa-based end-device.

Pelov, et al.             Expires June 18, 2016                 [Page 2]
Internet-Draft        YANG module for LoRa Networks        December 2015

1.1.  Requirements Language

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in RFC 2119 [RFC2119].

2.  LoRa Data Model

   The data model has the following structure for Lora configuration:

   +- RW lora
       +- RW Lora Device
          +- RW Mode
          |   +- RW Channel Bandwidth      enumeration
          |   +- RW Coding Rate            enumeration
          |   +- RW Spreading Factor       int8
          +- Physical Layer
          |   +- RW Preamblelength         int32
          |   +- RW Channel Frequency Range  enumeration
          |   +- RW Channel                int8
          |   +- RW SymbolTimeout          int32
          +- MAC Layer
              +- RW FrPayloadEncryption    boolean
              +- RW Delay                  int32
              +- RW FixlengthPayloadOn     boolean

   The data model defines a state container Mode which include the three
   principal characteristics of the LoRA interface which determine the
   parameters of the channel

                                 Figure 1

3.  LoRa YANG module

   This model imports typedefs from [RFC6991].

<CODE BEGINS> file "ietf-pelov@2015-10-10.yang"

module lora {

    namespace "urn:lora";
    prefix lo;

        import ietf-interfaces {
       prefix if;

Pelov, et al.             Expires June 18, 2016                 [Page 3]
Internet-Draft        YANG module for LoRa Networks        December 2015

        }

    organization
      "Acklio";

    contact
      "Alexander Pelov
     a@ackl.io";
    "Ana Minaburo
     ana@minaburo.com";

    description
      "This module contains a collection of YANG definitions for
   configuring the LORA () network interface.

   Copyright (c) 2015 IETF Trust and the persons identified as
   authors of the code. All right reserved.

   Redistribution and use in source binary forms, with or
   without modification, is permitted pursuant to, and subject
   to the license terms contained in, the Simplified BSD License
   Relating to IETF Documents
   (http://trustee.ietf.org/license-info)

   This version of this YANG module is part of draft-pelov-yang-lora-00; see
   the draft itself for full legal notices.";

    revision 2015-11-01 {
      description
        "Initial Description";
      reference
        "LoRa MAC Class A Specification R3.1 by Semtech";
    }

    grouping mode {
        leaf channel-bandwidth {
                type enumeration {
                        enum 125 { value 0; }
                        enum 150 { value 1; }
                        enum 500 { value 2; }
                }
        }

        leaf coding-rate {
                type enumeration {
                        enum 4_5 { value 1; }
                        enum 4_6 { value 2; }

Pelov, et al.             Expires June 18, 2016                 [Page 4]
Internet-Draft        YANG module for LoRa Networks        December 2015

                        enum 4_7 { value 3; }
                        enum 4_b { value 4; }
                }
        }

        leaf spreading-factor {
                type uint8 {
                        range "6 .. 12";
                }
        }

    }

    augment "/if:interfaces/if:interface" {
        // To be defined later
        when "if:type = 'ianaift:lora'";

        container lora {
                uses mode;
                container physical-layer {
                        leaf preamble-length {
                                type int32;
                                        default 7;
                        }

                        leaf channel-frequency-range {
                                mandatory true;
                                type enumeration {
                                        enum europe;
                                        enum usa;
                                        enum japan;
                                        enum china;
                                }
                        }

                        leaf channel {
                                type uint8 {
                                        range "0..10";
                                }
                        }

                        leaf symbol-timeout {
                                type uint32;
                        }
                }

                container mac-layer {
                        leaf payload-encryption {

Pelov, et al.             Expires June 18, 2016                 [Page 5]
Internet-Draft        YANG module for LoRa Networks        December 2015

                                type boolean;
                                default "false";
                        }

                        leaf delay {
                                type int32;
                        }

                        leaf fixed-length-payload {
                                type boolean;
                                default "false";
                        }
                }
        }
    }
}

<CODE ENDS>

   The data model defines a state container Mode which include the three
   principal characteristics of the LoRA interface which determine the
   parameters of the channel

                                 Figure 2

4.  Acknowledgements

5.  IANA Considerations

   This memo includes no request to IANA.

6.  Security Considerations

   All drafts are required to have a security considerations section.
   See RFC 3552 [RFC3552] for a guide.  TO DO

7.  References

7.1.  Normative References

   [RFC2119]  Bradner, S., "Key words for use in RFCs to Indicate
              Requirement Levels", BCP 14, RFC 2119,
              DOI 10.17487/RFC2119, March 1997,
              <http://www.rfc-editor.org/info/rfc2119>.

Pelov, et al.             Expires June 18, 2016                 [Page 6]
Internet-Draft        YANG module for LoRa Networks        December 2015

   [RFC7252]  Shelby, Z., Hartke, K., and C. Bormann, "The Constrained
              Application Protocol (CoAP)", RFC 7252,
              DOI 10.17487/RFC7252, June 2014,
              <http://www.rfc-editor.org/info/rfc7252>.

7.2.  Informative References

   [IEEE.802-15.4k]
              Institute of Electrical and Electronics Engineers, "Low-
              Rate Wireless Personal Area Networks (LR-WPANs) -
              Amendment 5: Physical Layer Specifications for Low Energy,
              Critical Infrastructure Monitoring Networks., IEEE
              802.15.4k", IEEE Standard 802.15.4, 2013.

   [LoRa]     Semtech, "https://web.archive.org/web/20150510011904/
              https://www.semtech.com/wireless-rf/lora.html", May 2015.

   [LTN001]   European Telecommunications Standards Institute, "Low
              Throughput Networks (LTN); Use Cases for Low Throughput
              Networks, ETSI GS LTN 001", IEEE ETSI GS LTN 001, 2014.

   [LTN003]   European Telecommunications Standards Institute, "Low
              Throughput Networks (LTN); Protocols and Interfaces, ETSI
              GS LTN 003", IEEE ETSI GS LTN 003, 2014.

   [RFC3552]  Rescorla, E. and B. Korver, "Guidelines for Writing RFC
              Text on Security Considerations", BCP 72, RFC 3552,
              DOI 10.17487/RFC3552, July 2003,
              <http://www.rfc-editor.org/info/rfc3552>.

   [SigFox]   SigFox, "https://web.archive.org/web/20150628225901/
              http://www.sigfox.com/en/#!/technology", June 2015.

Authors' Addresses

   Alexander Pelov (editor)
   Acklio
   2 Rue de la Chataigneraie
   Cesson-Sevigne, Bretagne  35510
   FR

   Phone: +33299127004
   Email: a@ackl.io

Pelov, et al.             Expires June 18, 2016                 [Page 7]
Internet-Draft        YANG module for LoRa Networks        December 2015

   Laurent Toutain (editor)
   Telecom Bretagne
   2 Rue de la Chataigneraie
   Cesson-Sevigne, Bretagne  35510
   FR

   Phone: +33299127026
   Email: laurent.toutain@telecom-bretagne.eu

   Yannick Delibie (editor)
   Kerlink
   1 rue Jacqueline Auriol
   Thorigne-Fouillard, Bretagne  35235
   FR

   Phone: +33299122900
   Email: yannick.delibie@kerlink.fr

   Ana Minaburo (editor)
   Consultant
   52 C rue de Rennes
   Cesson-Sevigne, Bretagne  35510
   FR

   Phone: +33672461470
   Email: ana@minaburo.com

Pelov, et al.             Expires June 18, 2016                 [Page 8]