Data Model for Static Context Header Compression (SCHC)

Document Type Active Internet-Draft (lpwan WG)
Last updated 2019-07-10 (latest revision 2019-04-23)
Replaces draft-toutain-lpwan-schc-yang-data-model
Stream IETF
Intended RFC status (None)
Formats plain text xml pdf html bibtex
Stream WG state WG Document
Document shepherd No shepherd assigned
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD Suresh Krishnan
Send notices to (None)
Network Working Group                                        A. Minaburo
Internet-Draft                                                    Acklio
Intended status: Informational                                L. Toutain
Expires: October 23, 2019        Institut MINES TELECOM ; IMT Atlantique
                                                          April 21, 2019

        Data Model for Static Context Header Compression (SCHC)


   This document describes a YANG data model for the SCHC (Static
   Context Header Compression).  A generic module is defined, that can
   be applied for any headers and also a specific model for the IPv6 UDP
   protocol stack is also proposed.  Note that this draft is a first
   attempt to define a YANG data module for SCHC, more work is needed to
   use all the YANG facilities.

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

   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 October 23, 2019.

Copyright Notice

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

Minaburo & Toutain      Expires October 23, 2019                [Page 1]
Internet-Draft           LPWAN SCHC YANG module               April 2019

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

1.  Introduction

   SCHC [I-D.ietf-lpwan-ipv6-static-context-hc] defines a compression
   technique for LPWAN networks based on static context.  The context
   contains a list of rules (cf.  Figure 1).  Each rule contains itself
   a list of field descriptions composed of a field identifier (FID), a
   field length (FID), a field position (FP), a field direction (DI), a
   target value (TV), a matching operator (MO) and a Compression/
   Decompression Action (CDA).

     |                      Rule N                                     |
    |                    Rule i                                       ||
   |  (FID)            Rule 1                                        |||
   ||Field 1|FL|FP|DI|Target Value|Matching Operator|Comp/Decomp Act||||
   ||Field 2|FL|FP|DI|Target Value|Matching Operator|Comp/Decomp Act||||
   ||...    |..|..|..|   ...      | ...             | ...           ||||
   ||Field N|FL|FP|DI|Target Value|Matching Operator|Comp/Decomp Act|||
   |                                                                 |

                Figure 1: Compression Decompression Context

   The goal of this document is to provide an YANG data model to
   represent SCHC Compression and Fragmentation rules, to allow
   management over a LPWAN network.  The main constraints are:

   o  since the device may be managed through the LPWAN network,
      management messages must be compact.  COREconf offers a
      representation based on CBOR.

   o  this data model can be extended with new values, such as new field
      id, new MO or CDA.

Minaburo & Toutain      Expires October 23, 2019                [Page 2]
Internet-Draft           LPWAN SCHC YANG module               April 2019

2.  YANG types

2.1.  Field Identifier

   The field identifier is used to identify a specific field.  It is
   viewed as an uint32.

2.2.  Target Value field

Show full document text