Adding TestVNF netconf server
[demo.git] / vnfs / TestVNF / netconftemplates / netconftemplates / edit-config-schema.yang
1 <rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="<MID>">
2   <data xmlns="http://example.net/edit-config-method/1.0">
3         rpc edit-config {
4           description
5             "The &lt;edit-config&gt; operation can be used to update the target name and target address.
6                 container target {
7         description
8           "Particular configuration to edit.";
9         choice config-target {
10           mandatory true;
11           description
12             "The configuration target.";
13           leaf candidate {
14             if-feature "candidate";
15             type empty;
16             description
17               "The candidate configuration is the config target.";
18           }
19
20           leaf running {
21             if-feature "writable-running";
22             type empty;
23             description
24               "The running configuration is the config source.";
25           }
26         }
27       }
28                 container config {
29              leaf target-name {
30                  type string;
31                  description "name of the target";
32              }
33                           leaf target-address {
34                  type string;
35                  description "address of the target";
36              }
37          }
38         }
39         </data>
40 </rpc-reply>