RESTCONF and HTTP Transport for Event Notifications
draft-ietf-netconf-restconf-notif-06

Document Type Active Internet-Draft (netconf WG)
Last updated 2018-06-18
Replaces draft-voit-netconf-restconf-notif
Stream IETF
Intended RFC status (None)
Formats plain text xml pdf html bibtex
Yang Validation 9 errors, 0 warnings.
Additional URLs
- Yang catalog entry for ietf-http-subscribed-notifications@2018-06-11.yang
- Yang impact analysis for draft-ietf-netconf-restconf-notif
Stream WG state WG Document (wg milestone: Sep 2018 - WGLC for RESTCONF an... )
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: December 20, 2018                                 Cisco Systems
                                                                A. Clemm
                                                                  Huawei
                                                              A. Bierman
                                                               YumaWorks
                                                           June 18, 2018

          RESTCONF and HTTP Transport for Event Notifications
                  draft-ietf-netconf-restconf-notif-06

Abstract

   This document defines RESTCONF, HTTP2, and HTTP1.1 bindings for the
   transport of subscription requests and corresponding push updates.
   Being subscribed may be either publisher defined event streams or
   nodes/subtrees of YANG Datastores.

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 December 20, 2018.

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 December 20, 2018               [Page 1]
Internet-Draft               RESTCONF-Notif                    June 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
   3.  Dynamic Subscription  . . . . . . . . . . . . . . . . . . . .   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.  Configured Subscription . . . . . . . . . . . . . . . . . . .  10
     4.1.  Transport Connectivity  . . . . . . . . . . . . . . . . .  10
     4.2.  Call Flow . . . . . . . . . . . . . . . . . . . . . . . .  11
   5.  QoS Treatment . . . . . . . . . . . . . . . . . . . . . . . .  12
   6.  Mandatory JSON and datastore support  . . . . . . . . . . . .  12
   7.  Notification Messages . . . . . . . . . . . . . . . . . . . .  12
   8.  YANG Tree . . . . . . . . . . . . . . . . . . . . . . . . . .  12
   9.  YANG module . . . . . . . . . . . . . . . . . . . . . . . . .  13
   10. IANA Considerations . . . . . . . . . . . . . . . . . . . . .  15
   11. Security Considerations . . . . . . . . . . . . . . . . . . .  15
   12. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . .  16
   13. References  . . . . . . . . . . . . . . . . . . . . . . . . .  16
     13.1.  Normative References . . . . . . . . . . . . . . . . . .  17
     13.2.  Informative References . . . . . . . . . . . . . . . . .  18
   Appendix A.  RESTCONF over GRPC . . . . . . . . . . . . . . . . .  19
   Appendix B.  Examples . . . . . . . . . . . . . . . . . . . . . .  19
     B.1.  Dynamic Subscriptions . . . . . . . . . . . . . . . . . .  19
       B.1.1.  Establishing Dynamic Subscriptions  . . . . . . . . .  19
       B.1.2.  Modifying Dynamic Subscriptions . . . . . . . . . . .  22
       B.1.3.  Deleting Dynamic Subscriptions  . . . . . . . . . . .  23
     B.2.  Configured Subscriptions  . . . . . . . . . . . . . . . .  24
       B.2.1.  Creating Configured Subscriptions . . . . . . . . . .  25
       B.2.2.  Modifying Configured Subscriptions  . . . . . . . . .  27
       B.2.3.  Deleting Configured Subscriptions . . . . . . . . . .  29
     B.3.  Subscription State Notifications  . . . . . . . . . . . .  30
Show full document text