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

The information below is for an old version of the document
Document Type Active Internet-Draft (netconf WG)
Last updated 2016-03-10 (latest revision 2015-12-15)
Stream IETF
Intended RFC status (None)
Formats pdf htmlized bibtex
Reviews
Stream WG state WG Document
Document shepherd Mahesh Jethanandani
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to "Mahesh Jethanandani" <mjethanandani@gmail.com>
Network Working Group                                         A. Bierman
Internet-Draft                                                 YumaWorks
Intended status: Standards Track                            M. Bjorklund
Expires: June 17, 2016                                    Tail-f Systems
                                                               K. Watsen
                                                        Juniper Networks
                                                       December 15, 2015

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

Abstract

   This document describes a method for applying patches to NETCONF
   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 June 17, 2016.

Copyright Notice

   Copyright (c) 2015 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
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Bierman, et al.           Expires June 17, 2016                 [Page 1]
Internet-Draft                 YANG Patch                  December 2015

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
     1.1.  Terminology . . . . . . . . . . . . . . . . . . . . . . .   3
       1.1.1.  NETCONF . . . . . . . . . . . . . . . . . . . . . . .   3
       1.1.2.  HTTP  . . . . . . . . . . . . . . . . . . . . . . . .   3
       1.1.3.  YANG  . . . . . . . . . . . . . . . . . . . . . . . .   4
       1.1.4.  RESTCONF  . . . . . . . . . . . . . . . . . . . . . .   4
       1.1.5.  YANG Patch  . . . . . . . . . . . . . . . . . . . . .   5
       1.1.6.  Tree Diagrams . . . . . . . . . . . . . . . . . . . .   5
   2.  YANG Patch  . . . . . . . . . . . . . . . . . . . . . . . . .   5
     2.1.  Target Resource . . . . . . . . . . . . . . . . . . . . .   6
     2.2.  yang-patch Input  . . . . . . . . . . . . . . . . . . . .   6
     2.3.  yang-patch-status Output  . . . . . . . . . . . . . . . .   7
     2.4.  Target Data Node  . . . . . . . . . . . . . . . . . . . .   7
     2.5.  Edit Operations . . . . . . . . . . . . . . . . . . . . .   8
     2.6.  Error Handling  . . . . . . . . . . . . . . . . . . . . .   8
     2.7.  yang-patch RESTCONF Capability  . . . . . . . . . . . . .   9
   3.  YANG Module . . . . . . . . . . . . . . . . . . . . . . . . .   9
   4.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  17
     4.1.  YANG Module Registry  . . . . . . . . . . . . . . . . . .  18
     4.2.  application/yang.patch Media Types  . . . . . . . . . . .  18
     4.3.  application/yang.patch-status Media Types . . . . . . . .  18
     4.4.  RESTCONF Capability URNs  . . . . . . . . . . . . . . . .  19
   5.  Security Considerations . . . . . . . . . . . . . . . . . . .  19
   6.  Normative References  . . . . . . . . . . . . . . . . . . . .  19
   Appendix A.  Acknowledgements . . . . . . . . . . . . . . . . . .  20
   Appendix B.  Change Log . . . . . . . . . . . . . . . . . . . . .  21
     B.1.  v06 to v07  . . . . . . . . . . . . . . . . . . . . . . .  21
     B.2.  v05 to v06  . . . . . . . . . . . . . . . . . . . . . . .  21
     B.3.  v04 to v05  . . . . . . . . . . . . . . . . . . . . . . .  21
     B.4.  v03 to v04  . . . . . . . . . . . . . . . . . . . . . . .  21
     B.5.  v02 to v03  . . . . . . . . . . . . . . . . . . . . . . .  22
     B.6.  v01 to v02  . . . . . . . . . . . . . . . . . . . . . . .  22
     B.7.  v00 to v01  . . . . . . . . . . . . . . . . . . . . . . .  22
     B.8.  bierman:yang-patch-00 to ietf:yang-patch-00 . . . . . . .  23
   Appendix C.  Open Issues  . . . . . . . . . . . . . . . . . . . .  23
   Appendix D.  Example YANG Module  . . . . . . . . . . . . . . . .  23
     D.1.  YANG Patch Examples . . . . . . . . . . . . . . . . . . .  24
Show full document text