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

The information below is for an old version of the document
Document Type Active Internet-Draft (netconf WG)
Last updated 2014-07-03
Stream IETF
Intended RFC status (None)
Formats pdf htmlized bibtex
Reviews
Additional URLs
- Yang catalog entry for ietf-yang-patch@2016-11-09.yang
- Yang impact analysis for draft-ietf-netconf-yang-patch
- 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)
Network Working Group                                         A. Bierman
Internet-Draft                                                 YumaWorks
Intended status: Standards Track                            M. Bjorklund
Expires: January 4, 2015                                  Tail-f Systems
                                                               K. Watsen
                                                        Juniper Networks
                                                             R. Fernando
                                                                   Cisco
                                                            July 3, 2014

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

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 January 4, 2015.

Copyright Notice

   Copyright (c) 2014 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 January 4, 2015                [Page 1]
Internet-Draft                 YANG Patch                      July 2014

   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.  Terms  . . . . . . . . . . . . . . . . . . . . . . . .  5
       1.1.5.  Tree Diagrams  . . . . . . . . . . . . . . . . . . . .  5
   2.  YANG Patch . . . . . . . . . . . . . . . . . . . . . . . . . .  6
     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
   3.  YANG Module  . . . . . . . . . . . . . . . . . . . . . . . . .  9
   4.  IANA Considerations  . . . . . . . . . . . . . . . . . . . . . 18
     4.1.  YANG Module Registry . . . . . . . . . . . . . . . . . . . 18
     4.2.  application/yang.patch Media Types . . . . . . . . . . . . 18
     4.3.  application/yang.patch-status Media Types  . . . . . . . . 18
   5.  Security Considerations  . . . . . . . . . . . . . . . . . . . 20
   6.  Normative References . . . . . . . . . . . . . . . . . . . . . 21
   Appendix A.  Change Log  . . . . . . . . . . . . . . . . . . . . . 22
     A.1.  bierman:yang-patch-00 to ietf:yang-patch-00  . . . . . . . 22
     A.2.  00 to 01 . . . . . . . . . . . . . . . . . . . . . . . . . 22
   Appendix B.  Open Issues . . . . . . . . . . . . . . . . . . . . . 23
   Appendix C.  Example YANG Module . . . . . . . . . . . . . . . . . 24
     C.1.  YANG Patch Examples  . . . . . . . . . . . . . . . . . . . 25
       C.1.1.  Add Resources: Error . . . . . . . . . . . . . . . . . 25
       C.1.2.  Add Resources: Success . . . . . . . . . . . . . . . . 27
       C.1.3.  Move list entry example  . . . . . . . . . . . . . . . 28
   Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 30

Bierman, et al.          Expires January 4, 2015                [Page 2]
Internet-Draft                 YANG Patch                      July 2014

1.  Introduction

   There is a need for standard mechanisms to patch NETCONF [RFC6241]
Show full document text