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

Document Type Active Internet-Draft (individual)
Authors Qin Wu  , Wei Song  , Peng Liu  , Qiufang Ma 
Last updated 2021-01-20
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: July 24, 2021                                            P. Liu
                                                            China Mobile
                                                                   Q. Ma
                                                                  Huawei
                                                        January 20, 2021

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

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 publishers 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 July 24, 2021.

Copyright Notice

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

Wu, et al.                Expires July 24, 2021                 [Page 1]
Internet-Draft            Adaptive Subscription             January 2021

   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.  Acknowledges  . . . . . . . . . . . . . . . . . . . . . . . .  13
   8.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  13
     8.1.  Normative References  . . . . . . . . . . . . . . . . . .  13
     8.2.  Informative References  . . . . . . . . . . . . . . . . .  15
   Appendix A.  Example YANG Module  . . . . . . . . . . . . . . . .  15
     A.1.  "example-wifi-mac" YANG Module  . . . . . . . . . . . . .  16
   Appendix B.  Adaptive Subscription and Notification Example . . .  18
     B.1.  "edit-config" Example . . . . . . . . . . . . . . . . . .  19
     B.2.  Create Adaptive Subscription Example  . . . . . . . . . .  20
     B.3.  "adaptive-update" notification example  . . . . . . . . .  22
     B.4.  Changes between Revisions . . . . . . . . . . . . . . . .  23
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  23

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
Show full document text