Merge "Bug 2517: Catch RuntimeExceptions thrown from the DCL in DataChangeListener"
[controller.git] / opendaylight / netconf / netconf-util / src / test / resources / netconfMessages / editConfig.xml
1 <rpc message-id="101" 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>instance-from-code_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>instance-from-code</name>
33                     <impl-netconf xmlns="urn:opendaylight:params:xml:ns:yang:controller:test:impl">
34                         <sleep-factor>
35                             2.58
36                         </sleep-factor>
37
38                         <extended>
39                                 10
40                         </extended>
41
42                         <extended-twice>
43                                 20
44                         </extended-twice>
45
46                         <extended-enum>
47                             TWO
48                         </extended-enum>
49
50                         <simple-long-2>44</simple-long-2>
51                         <binaryLeaf>YmluYXJ5</binaryLeaf>
52
53                         <type xmlns="urn:opendaylight:params:xml:ns:yang:controller:test:impl">configAttributeType</type>
54                         <dto_d xmlns="urn:opendaylight:params:xml:ns:yang:controller:test:impl">
55                             <simple-int1>444</simple-int1>
56                             <simple-int2>4444</simple-int2>
57                             <simple-int3>454</simple-int3>
58                             <complex-dto-bInner>
59                                 <simple-int3>44</simple-int3>
60                                 <deep>
61                                     <simple-int3>4</simple-int3>
62                                 </deep>
63                                 <simple-list>4</simple-list>
64                             </complex-dto-bInner>
65                             <simple-list>4</simple-list>
66                         </dto_d>
67                         <simpleInt>44</simpleInt>
68                         <simple-test>545</simple-test>
69                         <simple-long>454545</simple-long>
70                         <simpleBoolean>false</simpleBoolean>
71                         <dto-c>
72                             <dto-a-inner>
73                                 <dto-a-inner-inner>
74                                     <simple-arg>456</simple-arg>
75                                 </dto-a-inner-inner>
76                                 <simple-arg>44</simple-arg>
77                             </dto-a-inner>
78                         </dto-c>
79                         <simple-short>4</simple-short>
80                         <simple-BigInteger>999</simple-BigInteger>
81                         <simple-byte>4</simple-byte>
82                         <peers>
83                             <port>port1</port>
84                             <simple-int3>456</simple-int3>
85                             <core-size>44</core-size>
86                         </peers>
87                         <peers>
88                             <port>port23</port>
89                             <simple-int3>456</simple-int3>
90                             <core-size>44</core-size>
91                         </peers>
92                         <testing-dep>
93                             <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:test">prefix:testing</type>
94                             <name>ref_dep_user</name>
95                         </testing-dep>
96
97                         <testing-deps>
98                             <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:test">prefix:testing</type>
99                             <name>ref_dep_user</name>
100                         </testing-deps>
101                         <testing-deps>
102                             <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:test">prefix:testing</type>
103                             <name>ref_dep_user_two</name>
104                         </testing-deps>
105                     </impl-netconf>
106                 </module>
107
108                 <module>
109                     <type xmlns:test-impl="urn:opendaylight:params:xml:ns:yang:controller:test:impl">
110                         test-impl:impl-netconf
111                     </type>
112                     <name>test2</name>
113                     <impl-netconf  xmlns="urn:opendaylight:params:xml:ns:yang:controller:test:impl">
114                         <simple-short>4</simple-short>
115                         <testing-dep>
116                             <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:test">prefix:testing</type>
117                             <name>ref_dep_user_two</name>
118                         </testing-dep>
119                     </impl-netconf>
120                 </module>
121             </modules>
122
123             <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
124                 <service>
125                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:test">prefix:testing</type>
126                     <instance>
127                         <name>ref_dep_user</name>
128                         <provider>/modules/module[type='impl-dep'][name='instance-from-code_dep']
129                         </provider>
130                     </instance>
131                     <instance>
132                         <name>ref_dep_user_two</name>
133                         <provider>/config/modules/module[name='impl-dep']/instance[name='dep2']
134                         </provider>
135                     </instance>
136                     <instance>
137                         <name>user_to_instance_from_code</name>
138                         <provider>
139                             /modules/module[type='impl-netconf'][name='instance-from-code']
140                         </provider>
141                     </instance>
142                 </service>
143             </services>
144         </config>
145     </edit-config>
146 </rpc>