3 // the namespace for NETCONF XML definitions is unchanged
4 // from RFC 4741, which this document replaces
5 namespace "urn:ietf:params:xml:ns:netconf:base:1.0";
10 "IETF NETCONF (Network Configuration) Working Group";
13 "WG Web: <http://tools.ietf.org/wg/netconf/>
14 WG List: <netconf@ietf.org>
17 <bertietf@bwijnen.net>
19 WG Chair: Mehmet Ersue
20 <mehmet.ersue@nsn.com>
22 Editor: Martin Bjorklund
25 Editor: Juergen Schoenwaelder
26 <j.schoenwaelder@jacobs-university.de>
29 <andy.bierman@brocade.com>";
31 "NETCONF Protocol Data Types and Protocol Operations.
33 Copyright (c) 2011 IETF Trust and the persons identified as
34 the document authors. All rights reserved.
36 Redistribution and use in source and binary forms, with or
37 without modification, is permitted pursuant to, and subject
38 to the license terms contained in, the Simplified BSD License
39 set forth in Section 4.c of the IETF Trust's Legal Provisions
40 Relating to IETF Documents
41 (http://trustee.ietf.org/license-info).
43 This version of this YANG module is part of RFC 6241; see
44 the RFC itself for full legal notices.";
50 "RFC 6241: Network Configuration Protocol";
53 // NETCONF capabilities defined as features
54 feature writable-running;
59 // NETCONF Simple Types
61 typedef edit-operation-type {
75 description "NETCONF 'operation' attribute values";
76 reference "RFC 6241, Section 7.2";
79 // NETCONF Standard Protocol Operations
83 "The <edit-config> operation loads all or part of a specified
84 configuration to the specified target configuration.";
86 reference "RFC 6241, Section 7.2";
91 "Particular configuration to edit.";
93 choice config-target {
96 "The configuration target.";
102 "The candidate configuration is the config target.";
105 if-feature writable-running;
108 "The running configuration is the config source.";
113 leaf default-operation {
117 "The default operation is merge.";
121 "The default operation is replace.";
125 "There is no default operation.";
130 "The default operation to use.";
138 "The server will test and then set if no errors.";
142 "The server will set without a test first.";
147 "The server will only test and not set, even
148 if there are no errors.";
151 default "test-then-set";
153 "The test option to use.";
160 "The server will stop on errors.";
162 enum continue-on-error {
164 "The server may continue on errors.";
166 enum rollback-on-error {
168 "The server will roll back on errors.
169 This value can only be used if the 'rollback-on-error'
170 feature is supported.";
173 default "stop-on-error";
175 "The error option to use.";
178 choice edit-content {
181 "The content for the edit operation.";
185 "Inline Config content.";
191 "URL-based config content.";