X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-netconf-connector%2Fsrc%2Ftest%2Fresources%2Fschemas%2Fconfig-test-rpc.yang;h=18a4ead1b5c100b734bb48e515843f996f79ccbe;hb=8ce853c0627e829d40fe18e550bc807efbcbafee;hp=f67c2df256a4eff75e50f6dde02c5e6077093048;hpb=5f80c9711c1c7990a179f8f9e137c7c97fa1f15c;p=controller.git diff --git a/opendaylight/md-sal/sal-netconf-connector/src/test/resources/schemas/config-test-rpc.yang b/opendaylight/md-sal/sal-netconf-connector/src/test/resources/schemas/config-test-rpc.yang index f67c2df256..18a4ead1b5 100644 --- a/opendaylight/md-sal/sal-netconf-connector/src/test/resources/schemas/config-test-rpc.yang +++ b/opendaylight/md-sal/sal-netconf-connector/src/test/resources/schemas/config-test-rpc.yang @@ -15,7 +15,7 @@ module config-test-rpc { revision 2014-07-21 { description "Initial revision."; } - + extension get-filter-element-attributes { description "If this extension is present within an 'anyxml' @@ -25,21 +25,21 @@ module config-test-rpc { following unqualified XML attribute is supported within the element, within a or protocol operation: - + type : optional attribute with allowed value strings 'subtree' and 'xpath'. If missing, the default value is 'subtree'. - + If the 'xpath' feature is supported, then the following unqualified XML attribute is also supported: - + select: optional attribute containing a string representing an XPath expression. The 'type' attribute must be equal to 'xpath' if this attribute is present."; } - + rpc edit-config { description "The operation loads all or part of a specified configuration to the specified target configuration."; @@ -164,4 +164,13 @@ module config-test-rpc { } } } + + rpc discard-changes { + if-feature candidate; + + description + "Revert the candidate configuration to the current + running configuration."; + reference "RFC 6241, Section 8.3.4.2"; + } }