Merge "Fixed deserialization of IdentityRefs in Restconf URI."
[controller.git] / opendaylight / netconf / netconf-util / src / test / resources / netconfMessages / namespaces / editConfig_typeNameConfigAttributeMatching.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                     <simple-long-2>44</simple-long-2>
35                     <binaryLeaf>8545649856</binaryLeaf>
36                     <dto_d xmlns="urn:opendaylight:params:xml:ns:yang:controller:test:impl">
37                         <simple-int1>444</simple-int1>
38                         <simple-int2>4444</simple-int2>
39                         <simple-int3>454</simple-int3>
40                         <complex-dto-bInner>
41                             <simple-int3>44</simple-int3>
42                             <deep>
43                                 <simple-int3>4</simple-int3>
44                             </deep>
45                             <simple-list>4</simple-list>
46                         </complex-dto-bInner>
47                         <simple-list>4</simple-list>
48                     </dto_d>
49                     <simpleInt>44</simpleInt>
50                     <simple-test>545</simple-test>
51                     <simple-long>454545</simple-long>
52                     <simpleBoolean>false</simpleBoolean>
53                     <dto-c>
54                         <dto-a-inner>
55                             <dto-a-inner-inner>
56                                 <simple-arg>456</simple-arg>
57                             </dto-a-inner-inner>
58                             <simple-arg>44</simple-arg>
59                         </dto-a-inner>
60                     </dto-c>
61                     <simple-short>4</simple-short>
62                     <simple-BigInteger>999</simple-BigInteger>
63                     <simple-byte>4</simple-byte>
64                     <peers>
65                         <port>port1</port>
66                         <simple-int3>456</simple-int3>
67                         <core-size>44</core-size>
68                     </peers>
69                     <peers>
70                         <port>port23</port>
71                         <simple-int3>456</simple-int3>
72                         <core-size>44</core-size>
73                     </peers>
74                     <testing-dep>
75                         <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:test">prefix:testing</type>
76                         <name>ref_dep</name>
77                     </testing-dep>
78                 </module>
79
80                 <module>
81                     <type xmlns:test-impl="urn:opendaylight:params:xml:ns:yang:controller:test:impl">
82                         test-impl:impl-netconf
83                     </type>
84                     <name>test2</name>
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             </modules>
91
92             <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
93                 <service>
94                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:test">prefix:testing</type>
95                     <instance>
96                         <name>ref_dep</name>
97                         <provider>/modules/module[type='impl-dep'][name='dep']
98                         </provider>
99                     </instance>
100                     <instance>
101                         <name>ref_dep_2</name>
102                         <provider>/modules/module[type='impl-dep'][name='dep2']
103                         </provider>
104                     </instance>
105                     <instance>
106                         <name>ref_test1</name>
107                         <provider>
108                             /modules/module[type='impl-netconf'][name='test1']
109                         </provider>
110                     </instance>
111                 </service>
112             </services>
113         </config>
114     </edit-config>
115 </rpc>