Improved support for default yang statements in configuration subsystem
[controller.git] / opendaylight / netconf / netconf-util / src / test / resources / netconfMessages / unrecognised / editConfig_unrecognised8.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>
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                         <unknownAttribute>error</unknownAttribute>
74                     </peers>
75                     <testing-dep>
76                         <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:test">prefix:testing</type>
77                         <name>ref_dep</name>
78                     </testing-dep>
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                     <testing-dep>
87                         <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:test">prefix:testing</type>
88                         <name>ref_dep</name>
89                     </testing-dep>
90                 </module>
91             </modules>
92
93             <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
94                 <service>
95                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:test">prefix:testing</type>
96                     <instance>
97                         <name>ref_dep</name>
98                         <provider>/modules/module[type='impl-dep'][name='dep']
99                         </provider>
100                     </instance>
101                     <instance>
102                         <name>ref_dep_2</name>
103                         <provider>/modules/module[type='impl-dep'][name='dep2']
104                         </provider>
105                     </instance>
106                     <instance>
107                         <name>ref_test1</name>
108                         <provider>
109                             /modules/module[type='impl-netconf'][name='test1']
110                         </provider>
111                     </instance>
112                 </service>
113             </services>
114         </config>
115     </edit-config>
116 </rpc>