Merge "Add service reference binding to config registry."
[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                     <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</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</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_2</name>
104                     </testing-deps>
105                 </module>
106
107                 <module>
108                     <type xmlns:test-impl="urn:opendaylight:params:xml:ns:yang:controller:test:impl">
109                         test-impl:impl-netconf
110                     </type>
111                     <name>test2</name>
112                     <simple-short>4</simple-short>
113
114                     <testing-dep>
115                         <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:test">prefix:testing</type>
116                         <name>ref_dep_2</name>
117                     </testing-dep>
118                 </module>
119             </modules>
120
121             <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
122                 <service>
123                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:test">prefix:testing</type>
124                     <instance>
125                         <name>ref_dep</name>
126                         <provider>/modules/module[type='impl-dep'][name='dep']
127                         </provider>
128                     </instance>
129                     <instance>
130                         <name>ref_dep_2</name>
131                         <provider>/config/modules/module[name='impl-dep']/instance[name='dep2']
132                         </provider>
133                     </instance>
134                     <instance>
135                         <name>ref_test1</name>
136                         <provider>
137                             /modules/module[type='impl-netconf'][name='test1']
138                         </provider>
139                     </instance>
140                 </service>
141             </services>
142         </config>
143     </edit-config>
144 </rpc>