Merge "BUG-624 make netconf tcp address optional in config.ini with default value...
[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                     <impl-netconf xmlns="urn:opendaylight:params:xml:ns:yang:controller:test:impl">
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                     </impl-netconf>
79                 </module>
80
81                 <module>
82                     <type xmlns:test-impl="urn:opendaylight:params:xml:ns:yang:controller:test:impl">
83                         test-impl:impl-netconf
84                     </type>
85                     <name>test2</name>
86                     <impl-netconf xmlns="urn:opendaylight:params:xml:ns:yang:controller:test:impl">
87                       <testing-dep>
88                           <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:test">prefix:testing</type>
89                           <name>ref_dep</name>
90                       </testing-dep>
91                     </impl-netconf>
92                 </module>
93             </modules>
94
95             <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
96                 <service>
97                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:test">prefix:testing</type>
98                     <instance>
99                         <name>ref_dep</name>
100                         <provider>/modules/module[type='impl-dep'][name='dep']
101                         </provider>
102                     </instance>
103                     <instance>
104                         <name>ref_dep_2</name>
105                         <provider>/modules/module[type='impl-dep'][name='dep2']
106                         </provider>
107                     </instance>
108                     <instance>
109                         <name>ref_test1</name>
110                         <provider>
111                             /modules/module[type='impl-netconf'][name='test1']
112                         </provider>
113                     </instance>
114                 </service>
115             </services>
116         </config>
117     </edit-config>
118 </rpc>