Updated xpath pointing to a module instance under services subtree.
[controller.git] / opendaylight / netconf / netconf-util / src / test / resources / netconfMessages / namespaces / editConfig_differentNamespaceTO.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>8</binaryLeaf>
36                     <binaryLeaf>1</binaryLeaf>
37                     <binaryLeaf>0</binaryLeaf>
38                     <type xmlns="urn:opendaylight:params:xml:ns:yang:controller:test:impl">configAttributeType</type>
39                     <dto_d>
40                         <simple-int1>444</simple-int1>
41                         <simple-int2 xmlns="urn:opendaylight:params:xml:ns:yang:controller:test:impl">4444</simple-int2>
42                         <simple-int3>454</simple-int3>
43                         <complex-dto-bInner>
44                             <simple-int3>44</simple-int3>
45                             <deep>
46                                 <simple-int3>4</simple-int3>
47                             </deep>
48                             <simple-list>4</simple-list>
49                         </complex-dto-bInner>
50                         <simple-list>4</simple-list>
51                     </dto_d>
52                     <simpleInt>44</simpleInt>
53                     <simple-test>545</simple-test>
54                     <simple-long>454545</simple-long>
55                     <simpleBoolean>false</simpleBoolean>
56                     <dto-c>
57                         <dto-a-inner>
58                             <dto-a-inner-inner>
59                                 <simple-arg>456</simple-arg>
60                             </dto-a-inner-inner>
61                             <simple-arg>44</simple-arg>
62                         </dto-a-inner>
63                     </dto-c>
64                     <simple-short>4</simple-short>
65                     <simple-BigInteger>999</simple-BigInteger>
66                     <simple-byte>4</simple-byte>
67                     <peers>
68                         <port>port1</port>
69                         <simple-int3>456</simple-int3>
70                         <core-size>44</core-size>
71                     </peers>
72                     <peers>
73                         <port>port23</port>
74                         <simple-int3>456</simple-int3>
75                         <core-size>44</core-size>
76                     </peers>
77                     <testing-dep>
78                         <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:test">prefix:testing</type>
79                         <name>ref_dep</name>
80                     </testing-dep>
81                 </module>
82
83                 <module>
84                     <type xmlns:test-impl="urn:opendaylight:params:xml:ns:yang:controller:test:impl">
85                         test-impl:impl-netconf
86                     </type>
87                     <name>test2</name>
88                     <testing-dep>
89                         <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:test">prefix:testing</type>
90                         <name>ref_dep</name>
91                     </testing-dep>
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>