netconfcentral logo


  module ietf-yang-patch {

    yang-version 1.1;


    prefix ypatch;

    import ietf-restconf {
      prefix rc;
      revision-date "2017-01-26";

      "IETF NETCONF (Network Configuration) Working Group";

      "WG Web:   <>
     WG List:  <>

     Author:   Andy Bierman

     Author:   Martin Bjorklund

     Author:   Kent Watsen

      "This module contains conceptual YANG specifications
     for the YANG Patch and YANG Patch Status data structures.

     Note that the YANG definitions within this module do not
     represent configuration data of any kind.
     The YANG grouping statements provide a normative syntax
     for XML and JSON message encoding purposes.

     Copyright (c) 2015 IETF Trust and the persons identified as
     authors of the code.  All rights reserved.

     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject
     to the license terms contained in, the Simplified BSD License
     set forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents

     This version of this YANG module is part of RFC XXXX; see
     the RFC itself for full legal notices.";

    revision "2016-09-26" {
      description "Initial revision.";
        "RFC XXXX: YANG Patch Media Type.";


    rc:yang-data "yang-patch";
    rc:yang-data "yang-patch-status";

    typedef target-resource-offset {
      type string;
        "Contains a data resource identifier string representing
       a sub-resource within the target resource.
       The document root for this expression is the
       target resource that is specified in the
       protocol operation (e.g., the URI for the PATCH request).

       This string is encoded according the same rules as
       a data resource identifier in a RESTCONF Request URI.";
        "RFC 8040, section 3.5.3";

  }  // module ietf-yang-patch