Concise YANG Telemetry
draft-birkholz-yang-core-telemetry-01

Document Type Active Internet-Draft (individual)
Last updated 2018-07-16
Stream (None)
Intended RFC status (None)
Formats plain text xml pdf 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)
NETCONF Working Group                                        H. Birkholz
Internet-Draft                                            Fraunhofer SIT
Intended status: Standards Track                                 E. Voit
Expires: January 17, 2019                                  Cisco Systems
                                                           July 16, 2018

                         Concise YANG Telemetry
                 draft-birkholz-yang-core-telemetry-01

Abstract

   This document defines CoAP operations that implement the capabilities
   of YANG Datastore Subscriptions and YANG Customized Subscriptions for
   the CoAP Management Interface (CoMI).  The '/s' resource, as defined
   in CoMI, is extended analogously to include a set of sub-resources,
   each of them representing an observable resource identified by its
   subscription-id.  Specific additions include but are not limited to
   new FETCH Body definitions and simplified subtree subscriptions to
   intermediate data nodes in YANG datastore modules using SID.

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 https://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 January 17, 2019.

Copyright Notice

   Copyright (c) 2018 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
   (https://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

Birkholz & Voit         Expires January 17, 2019                [Page 1]
Internet-Draft               CoMI Telemetry                    July 2018

   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
   2.  Terminology . . . . . . . . . . . . . . . . . . . . . . . . .   3
     2.1.  CoAP Terminology  . . . . . . . . . . . . . . . . . . . .   6
   3.  Summary of the Additions to CoMI  . . . . . . . . . . . . . .   7
     3.1.  Telemetry-Specific CoMI datastores  . . . . . . . . . . .   7
   4.  Subscription Content and State  . . . . . . . . . . . . . . .   8
     4.1.  Selection Filter  . . . . . . . . . . . . . . . . . . . .   9
   5.  Subscription Characteristics  . . . . . . . . . . . . . . . .   9
     5.1.  Subscription Trigger  . . . . . . . . . . . . . . . . . .  10
       5.1.1.  CoMI Configured Subscriptions . . . . . . . . . . . .  10
       5.1.2.  Dynamic Subscriptions . . . . . . . . . . . . . . . .  11
     5.2.  Subscription Interval . . . . . . . . . . . . . . . . . .  11
       5.2.1.  Periodic Subscription . . . . . . . . . . . . . . . .  11
       5.2.2.  On-Change Subscription  . . . . . . . . . . . . . . .  11
     5.3.  Subscription Type . . . . . . . . . . . . . . . . . . . .  12
       5.3.1.  Stream Subscription . . . . . . . . . . . . . . . . .  13
       5.3.2.  Datastore Subscription  . . . . . . . . . . . . . . .  13
   6.  Resilient Subscriptions . . . . . . . . . . . . . . . . . . .  13
   7.  Subscription Management (better word?)  . . . . . . . . . . .  13
     7.1.  YANG RPCs . . . . . . . . . . . . . . . . . . . . . . . .  13
     7.2.  NETCONF Access Control Model [RFC6536bis] . . . . . . . .  13
   8.  Selection Filters . . . . . . . . . . . . . . . . . . . . . .  13
     8.1.  SID for subtree Selection Filter  . . . . . . . . . . . .  13
     8.2.  CBOR-YANG for XPATH-like Selection Filter . . . . . . . .  13
   9.  Update Triggers for Periodic Subscriptions  . . . . . . . . .  14
     9.1.  Interval  . . . . . . . . . . . . . . . . . . . . . . . .  14
     9.2.  Anchor Time . . . . . . . . . . . . . . . . . . . . . . .  14
   10. Update Triggers for On-Change Subscriptions . . . . . . . . .  14
     10.1.  dampening period . . . . . . . . . . . . . . . . . . . .  14
     10.2.  change-type  . . . . . . . . . . . . . . . . . . . . . .  14
     10.3.  no sync-on-start . . . . . . . . . . . . . . . . . . . .  14
   11. YANG Telemetry Operations for COMI  . . . . . . . . . . . . .  14
     11.1.  Extension of the CoMI Event Stream Resource  . . . . . .  14
Show full document text