Add running configuration data to get netconf operation response
[controller.git] / opendaylight / netconf / netconf-util / src / test / resources / netconfMessages / editConfig.xml
1 <rpc message-id="a" a="64" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
2     <edit-config>
3         <target>
4             <candidate/>
5         </target>
6         <test-option>
7             set
8         </test-option>
9         <default-operation>merge</default-operation>
10         <config>
11             <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
12
13                 <module>
14                     <name>dep</name>
15                     <type xmlns:test-impl="urn:opendaylight:params:xml:ns:yang:controller:test:impl">
16                         test-impl:impl-dep
17                     </type>
18                 </module>
19
20                 <module>
21                     <name>dep2</name>
22                     <type xmlns:test-impl="urn:opendaylight:params:xml:ns:yang:controller:test:impl">
23                         test-impl:impl-dep
24                     </type>
25                 </module>
26
27                 <module>
28                     <type xmlns:test-impl="urn:opendaylight:params:xml:ns:yang:controller:test:impl">
29                         test-impl:impl-netconf
30                     </type>
31
32                     <name>test1</name>
33
34                     <extended>
35                             1
36                     </extended>
37
38                     <extended-twice>
39                             1
40                     </extended-twice>
41
42                     <simple-long-2>44</simple-long-2>
43                     <binaryLeaf>8</binaryLeaf>
44                     <binaryLeaf>1</binaryLeaf>
45                     <binaryLeaf>0</binaryLeaf>
46                     <type xmlns="urn:opendaylight:params:xml:ns:yang:controller:test:impl">configAttributeType</type>
47                     <dto_d xmlns="urn:opendaylight:params:xml:ns:yang:controller:test:impl">
48                         <simple-int1>444</simple-int1>
49                         <simple-int2>4444</simple-int2>
50                         <simple-int3>454</simple-int3>
51                         <complex-dto-bInner>
52                             <simple-int3>44</simple-int3>
53                             <deep>
54                                 <simple-int3>4</simple-int3>
55                             </deep>
56                             <simple-list>4</simple-list>
57                         </complex-dto-bInner>
58                         <simple-list>4</simple-list>
59                     </dto_d>
60                     <simpleInt>44</simpleInt>
61                     <simple-test>545</simple-test>
62                     <simple-long>454545</simple-long>
63                     <simpleBoolean>false</simpleBoolean>
64                     <dto-c>
65                         <dto-a-inner>
66                             <dto-a-inner-inner>
67                                 <simple-arg>456</simple-arg>
68                             </dto-a-inner-inner>
69                             <simple-arg>44</simple-arg>
70                         </dto-a-inner>
71                     </dto-c>
72                     <simple-short>4</simple-short>
73                     <simple-BigInteger>999</simple-BigInteger>
74                     <simple-byte>4</simple-byte>
75                     <peers>
76                         <port>port1</port>
77                         <simple-int3>456</simple-int3>
78                         <core-size>44</core-size>
79                     </peers>
80                     <peers>
81                         <port>port23</port>
82                         <simple-int3>456</simple-int3>
83                         <core-size>44</core-size>
84                     </peers>
85                     <testing-dep>
86                         <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:test">prefix:testing</type>
87                         <name>ref_dep</name>
88                     </testing-dep>
89                 </module>
90
91                 <module>
92                     <type xmlns:test-impl="urn:opendaylight:params:xml:ns:yang:controller:test:impl">
93                         test-impl:impl-netconf
94                     </type>
95                     <name>test2</name>
96                     <simple-short>4</simple-short>
97
98                     <testing-dep>
99                         <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:test">prefix:testing</type>
100                         <name>ref_dep</name>
101                     </testing-dep>
102                 </module>
103             </modules>
104
105             <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
106                 <service>
107                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:test">prefix:testing</type>
108                     <instance>
109                         <name>ref_dep</name>
110                         <provider>/config/modules/module[name='impl-dep']/instance[name='dep']
111                         </provider>
112                     </instance>
113                     <instance>
114                         <name>ref_dep_2</name>
115                         <provider>/config/modules/module[name='impl-dep']/instance[name='dep2']
116                         </provider>
117                     </instance>
118                     <instance>
119                         <name>ref_test1</name>
120                         <provider>/config/modules/module[name='impl-netconf']/instance[name='test1']
121                         </provider>
122                     </instance>
123                 </service>
124             </services>
125         </config>
126     </edit-config>
127 </rpc>