RESTCONF Transport for Event Notifications
draft-ietf-netconf-restconf-notif-07

The information below is for an old version of the document
Document Type Active Internet-Draft (netconf WG)
Last updated 2018-09-12 (latest revision 2018-06-18)
Replaces draft-voit-netconf-restconf-notif
Stream IETF
Intended RFC status (None)
Formats pdf htmlized bibtex
Reviews
Additional URLs
- Yang catalog entry for ietf-restconf-subscribed-notifications@2019-01-11.yang
- Yang impact analysis for draft-ietf-netconf-restconf-notif
- Mailing list discussion
Stream WG state WG Document
Document shepherd No shepherd assigned
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
NETCONF                                                          E. Voit
Internet-Draft                                                 R. Rahman
Intended status: Standards Track                       E. Nilsen-Nygaard
Expires: March 16, 2019                                    Cisco Systems
                                                                A. Clemm
                                                                  Huawei
                                                              A. Bierman
                                                               YumaWorks
                                                      September 12, 2018

               RESTCONF Transport for Event Notifications
                  draft-ietf-netconf-restconf-notif-07

Abstract

   This document defines a RESTCONF binding to the dynamic subscription
   capability of both subscribed notifications and YANG-Push.
   Subscriptions to publisher defined event streams or nodes/subtrees of
   YANG Datastores is supported.

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 March 16, 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

Voit, et al.             Expires March 16, 2019                 [Page 1]
Internet-Draft               RESTCONF-Notif               September 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  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Terminology . . . . . . . . . . . . . . . . . . . . . . . . .   3
   3.  Dynamic Subscriptions . . . . . . . . . . . . . . . . . . . .   3
     3.1.  Transport Connectivity  . . . . . . . . . . . . . . . . .   4
     3.2.  Discovery . . . . . . . . . . . . . . . . . . . . . . . .   4
     3.3.  RESTCONF RPCs and HTTP Status Codes . . . . . . . . . . .   4
     3.4.  Call Flow for HTTP2 . . . . . . . . . . . . . . . . . . .   6
     3.5.  Call flow for HTTP1.1 . . . . . . . . . . . . . . . . . .   8
   4.  QoS Treatment . . . . . . . . . . . . . . . . . . . . . . . .  10
   5.  Mandatory JSON and datastore support  . . . . . . . . . . . .  10
   6.  Notification Messages . . . . . . . . . . . . . . . . . . . .  10
   7.  YANG Tree . . . . . . . . . . . . . . . . . . . . . . . . . .  10
   8.  YANG module . . . . . . . . . . . . . . . . . . . . . . . . .  10
   9.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  13
   10. Security Considerations . . . . . . . . . . . . . . . . . . .  13
   11. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . .  13
   12. References  . . . . . . . . . . . . . . . . . . . . . . . . .  14
     12.1.  Normative References . . . . . . . . . . . . . . . . . .  14
     12.2.  Informative References . . . . . . . . . . . . . . . . .  15
   Appendix A.  Examples . . . . . . . . . . . . . . . . . . . . . .  16
     A.1.  Dynamic Subscriptions . . . . . . . . . . . . . . . . . .  16
       A.1.1.  Establishing Dynamic Subscriptions  . . . . . . . . .  16
       A.1.2.  Modifying Dynamic Subscriptions . . . . . . . . . . .  19
       A.1.3.  Deleting Dynamic Subscriptions  . . . . . . . . . . .  20
     A.2.  Subscription State Notifications  . . . . . . . . . . . .  21
       A.2.1.  subscription-started and subscription-modified  . . .  21
       A.2.2.  subscription-completed, subscription-resumed, and
               replay-complete . . . . . . . . . . . . . . . . . . .  22
       A.2.3.  subscription-terminated and subscription-suspended  .  22
   Appendix B.  Changes between revisions  . . . . . . . . . . . . .  23
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  24

1.  Introduction

   Mechanisms to support event subscription and push are defined in
   [I-D.draft-ietf-netconf-subscribed-notifications].  Enhancements to
Show full document text