Add support for BigDecimal to netconf mapping.
[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.00
36                     </sleep-factor>
37
38                     <extended>
39                             1
40                     </extended>
41
42                     <extended-twice>
43                             1
44                     </extended-twice>
45
46                     <extended-enum>
47                         TWO
48                     </extended-enum>
49
50                     <simple-long-2>44</simple-long-2>
51                     <binaryLeaf>8</binaryLeaf>
52                     <binaryLeaf>1</binaryLeaf>
53                     <binaryLeaf>0</binaryLeaf>
54                     <type xmlns="urn:opendaylight:params:xml:ns:yang:controller:test:impl">configAttributeType</type>
55                     <dto_d xmlns="urn:opendaylight:params:xml:ns:yang:controller:test:impl">
56                         <simple-int1>444</simple-int1>
57                         <simple-int2>4444</simple-int2>
58                         <simple-int3>454</simple-int3>
59                         <complex-dto-bInner>
60                             <simple-int3>44</simple-int3>
61                             <deep>
62                                 <simple-int3>4</simple-int3>
63                             </deep>
64                             <simple-list>4</simple-list>
65                         </complex-dto-bInner>
66                         <simple-list>4</simple-list>
67                     </dto_d>
68                     <simpleInt>44</simpleInt>
69                     <simple-test>545</simple-test>
70                     <simple-long>454545</simple-long>
71                     <simpleBoolean>false</simpleBoolean>
72                     <dto-c>
73                         <dto-a-inner>
74                             <dto-a-inner-inner>
75                                 <simple-arg>456</simple-arg>
76                             </dto-a-inner-inner>
77                             <simple-arg>44</simple-arg>
78                         </dto-a-inner>
79                     </dto-c>
80                     <simple-short>4</simple-short>
81                     <simple-BigInteger>999</simple-BigInteger>
82                     <simple-byte>4</simple-byte>
83                     <peers>
84                         <port>port1</port>
85                         <simple-int3>456</simple-int3>
86                         <core-size>44</core-size>
87                     </peers>
88                     <peers>
89                         <port>port23</port>
90                         <simple-int3>456</simple-int3>
91                         <core-size>44</core-size>
92                     </peers>
93                     <testing-dep>
94                         <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:test">prefix:testing</type>
95                         <name>ref_dep</name>
96                     </testing-dep>
97                 </module>
98
99                 <module>
100                     <type xmlns:test-impl="urn:opendaylight:params:xml:ns:yang:controller:test:impl">
101                         test-impl:impl-netconf
102                     </type>
103                     <name>test2</name>
104                     <simple-short>4</simple-short>
105
106                     <testing-dep>
107                         <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:test">prefix:testing</type>
108                         <name>ref_dep</name>
109                     </testing-dep>
110                 </module>
111             </modules>
112
113             <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
114                 <service>
115                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:test">prefix:testing</type>
116                     <instance>
117                         <name>ref_dep</name>
118                         <provider>/config/modules/module[name='impl-dep']/instance[name='dep']
119                         </provider>
120                     </instance>
121                     <instance>
122                         <name>ref_dep_2</name>
123                         <provider>/config/modules/module[name='impl-dep']/instance[name='dep2']
124                         </provider>
125                     </instance>
126                     <instance>
127                         <name>ref_test1</name>
128                         <provider>/config/modules/module[name='impl-netconf']/instance[name='test1']
129                         </provider>
130                     </instance>
131                 </service>
132             </services>
133         </config>
134     </edit-config>
135 </rpc>