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

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.