YANG Patch Media Type
draft-ietf-netconf-yang-patch-14

Document Type Active Internet-Draft (netconf WG)
Last updated 2016-12-06 (latest revision 2016-11-22)
Stream IETF
Intended RFC status Proposed Standard
Formats plain text xml pdf html bibtex
Reviews
Stream WG state Submitted to IESG for Publication
Document shepherd Mahesh Jethanandani
Shepherd write-up Show (last changed 2016-03-28)
IESG IESG state RFC Ed Queue
Consensus Boilerplate Yes
Telechat date
Responsible AD Benoit Claise
Send notices to (None)
IANA IANA review state Version Changed - Review Needed
IANA action state RFC-Ed-Ack
RFC Editor RFC Editor state EDIT
Network Working Group                                         A. Bierman
Internet-Draft                                                 YumaWorks
Intended status: Standards Track                            M. Bjorklund
Expires: May 26, 2017                                     Tail-f Systems
                                                               K. Watsen
                                                        Juniper Networks
                                                       November 22, 2016

                         YANG Patch Media Type
                    draft-ietf-netconf-yang-patch-14

Abstract

   This document describes a method for applying patches to
   configuration datastores using data defined with the YANG data
   modeling language.

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 http://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 May 26, 2017.

Copyright Notice

   Copyright (c) 2016 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
   (http://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
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of

Bierman, et al.           Expires May 26, 2017                  [Page 1]
Internet-Draft                 YANG Patch                  November 2016

   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
     1.1.  Terminology . . . . . . . . . . . . . . . . . . . . . . .   3
       1.1.1.  NETCONF . . . . . . . . . . . . . . . . . . . . . . .   3
       1.1.2.  HTTP  . . . . . . . . . . . . . . . . . . . . . . . .   4
       1.1.3.  YANG  . . . . . . . . . . . . . . . . . . . . . . . .   4
       1.1.4.  RESTCONF  . . . . . . . . . . . . . . . . . . . . . .   5
       1.1.5.  YANG Patch  . . . . . . . . . . . . . . . . . . . . .   5
       1.1.6.  Examples  . . . . . . . . . . . . . . . . . . . . . .   5
       1.1.7.  Tree Diagram Notations  . . . . . . . . . . . . . . .   6
   2.  YANG Patch  . . . . . . . . . . . . . . . . . . . . . . . . .   6
     2.1.  Target Resource . . . . . . . . . . . . . . . . . . . . .   7
     2.2.  yang-patch Request  . . . . . . . . . . . . . . . . . . .   8
     2.3.  yang-patch-status Response  . . . . . . . . . . . . . . .   9
     2.4.  Target Data Node  . . . . . . . . . . . . . . . . . . . .  10
     2.5.  Edit Operations . . . . . . . . . . . . . . . . . . . . .  11
     2.6.  Successful Edit Response Handling . . . . . . . . . . . .  11
     2.7.  Error Handling  . . . . . . . . . . . . . . . . . . . . .  11
     2.8.  yang-patch RESTCONF Capability  . . . . . . . . . . . . .  12
   3.  YANG Module . . . . . . . . . . . . . . . . . . . . . . . . .  12
   4.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  21
     4.1.  YANG Module Registry  . . . . . . . . . . . . . . . . . .  21
     4.2.  Media Types . . . . . . . . . . . . . . . . . . . . . . .  21
       4.2.1.  Media Type application/yang-patch+xml . . . . . . . .  21
       4.2.2.  Media Type application/yang-patch+json  . . . . . . .  23
     4.3.  RESTCONF Capability URNs  . . . . . . . . . . . . . . . .  25
   5.  Security Considerations . . . . . . . . . . . . . . . . . . .  25
   6.  Normative References  . . . . . . . . . . . . . . . . . . . .  26
   Appendix A.  Acknowledgements . . . . . . . . . . . . . . . . . .  27
   Appendix B.  Change Log . . . . . . . . . . . . . . . . . . . . .  27
     B.1.  v12 to v13  . . . . . . . . . . . . . . . . . . . . . . .  27
     B.2.  v11 to v12  . . . . . . . . . . . . . . . . . . . . . . .  27
     B.3.  v10 to v11  . . . . . . . . . . . . . . . . . . . . . . .  28
     B.4.  v09 to v10  . . . . . . . . . . . . . . . . . . . . . . .  28
     B.5.  v08 to v09  . . . . . . . . . . . . . . . . . . . . . . .  28
Show full document text