Adaptive Subscription to YANG Notification
draft-wang-netconf-adaptive-subscription-02

Document Type Active Internet-Draft (individual)
Authors Qin Wu  , Wei Song  , Liang Geng  , Peng Liu  , Qiufang Ma 
Last updated 2020-10-14
Stream (None)
Intended RFC status (None)
Formats plain text xml pdf htmlized (tools) htmlized bibtex
Yang Validation 5 errors, 12 warnings.
Additional Resources
- Yang catalog entry for ietf-adaptive-subscription@2019-12-15.yang
- Yang impact analysis for draft-wang-netconf-adaptive-subscription
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                                              Q. Wu
Internet-Draft                                                   W. Song
Intended status: Standards Track                                  Huawei
Expires: April 17, 2021                                          L. Geng
                                                                  P. Liu
                                                            China Mobile
                                                                   Q. Ma
                                                                  Huawei
                                                        October 14, 2020

               Adaptive Subscription to YANG Notification
              draft-wang-netconf-adaptive-subscription-02

Abstract

   This document defines a YANG data model and associated mechanism
   enabling subscriber's adaptive subscriptions to a publisher's event
   streams with various different period intervals to report updates.
   Applying these elements allows both subscriber and publisher to
   automatically adjust the volume of telemetry traffic sent from
   publisher to the receivers.

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 April 17, 2021.

Copyright Notice

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

Wu, et al.               Expires April 17, 2021                 [Page 1]
Internet-Draft            Adaptive Subscription             October 2020

   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
   2.  Model Overview  . . . . . . . . . . . . . . . . . . . . . . .   4
     2.1.  Subscription Configuration  . . . . . . . . . . . . . . .   5
     2.2.  YANG RPC  . . . . . . . . . . . . . . . . . . . . . . . .   6
       2.2.1.  "establish-subscription" RPC  . . . . . . . . . . . .   6
       2.2.2.  "modify-subscription" RPC . . . . . . . . . . . . . .   6
     2.3.  Notifications for Adaptive Subscribed Content . . . . . .   6
   3.  Adaptive Subscription YANG Module . . . . . . . . . . . . . .   7
   4.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  12
     4.1.  Updates to the IETF XML Registry  . . . . . . . . . . . .  12
     4.2.  Updates to the YANG Module Names Registry . . . . . . . .  12
   5.  Security Considerations . . . . . . . . . . . . . . . . . . .  12
   6.  Contributors  . . . . . . . . . . . . . . . . . . . . . . . .  13
   7.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  13
     7.1.  Normative References  . . . . . . . . . . . . . . . . . .  13
     7.2.  Informative References  . . . . . . . . . . . . . . . . .  14
   Appendix A.  Example YANG Module  . . . . . . . . . . . . . . . .  14
     A.1.  "example-wifi-mac" YANG Module  . . . . . . . . . . . . .  15
   Appendix B.  Adaptive Subscription and Notification Example . . .  18
     B.1.  "edit-config" Example . . . . . . . . . . . . . . . . . .  18
     B.2.  Create Adaptive Subscription Example  . . . . . . . . . .  19
     B.3.  "adaptive-update" notification example  . . . . . . . . .  21
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  22

1.  Introduction

   YANG-Push subscriptions [RFC8641] allow client applications to
   subscribe to continuous datastore updates without needing to poll.
   It defines a mechanism (i.e.,update trigger) to determine when an
   update record needs to be generated.  Two type of subscriptions are
   introduced in [RFC8641], distinguished by how updates are triggered:
   periodic and on-change.

   o  Periodic subscription allows subscribed data to be streamed to the
      destination at a configured fixed periodic interval
Show full document text