Merge "Bug 1333: Regression Test suite."
[controller.git] / opendaylight / distribution / opendaylight / src / main / resources / configuration / initial / 03-toaster-sample.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <snapshot>
11     <configuration>
12         <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
13             <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
14                 <module>
15                     <type xmlns:toaster="urn:opendaylight:params:xml:ns:yang:controller:config:toaster-provider:impl">
16                         toaster:toaster-provider-impl
17                     </type>
18                     <name>toaster-provider-impl</name>
19
20                     <rpc-registry>
21                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-rpc-registry</type>
22                         <name>binding-rpc-broker</name>
23                     </rpc-registry>
24
25                     <data-broker>
26                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-async-data-broker</type>
27                         <name>binding-data-broker</name>
28                     </data-broker>
29                     
30                     <notification-service>
31                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">
32                             binding:binding-notification-service
33                         </type>
34                         <name>binding-notification-broker</name>
35                     </notification-service>
36                 </module>
37
38                 <module>
39                     <type xmlns:kitchen="urn:opendaylight:params:xml:ns:yang:controller:config:kitchen-service:impl">
40                         kitchen:kitchen-service-impl
41                     </type>
42                     <name>kitchen-service-impl</name>
43
44                     <rpc-registry>
45                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-rpc-registry</type>
46                         <name>binding-rpc-broker</name>
47                     </rpc-registry>
48
49                     <notification-service>
50                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">
51                             binding:binding-notification-service
52                         </type>
53                         <name>binding-notification-broker</name>
54                     </notification-service>
55                 </module>
56             </modules>
57             
58             <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
59                 <service>
60                     <type xmlns:kitchen="urn:opendaylight:params:xml:ns:yang:controller:config:kitchen-service:impl">
61                         kitchen:kitchen-service
62                     </type>
63                     <instance>
64                         <name>kitchen-service</name>
65                         <provider>/modules/module[type='kitchen-service-impl'][name='kitchen-service-impl']</provider>
66                     </instance>
67                 </service>
68             </services>
69         </data>
70
71     </configuration>
72
73     <required-capabilities>
74         <capability>urn:opendaylight:params:xml:ns:yang:controller:config:kitchen-service:impl?module=kitchen-service-impl&amp;revision=2014-01-31</capability>
75         <capability>urn:opendaylight:params:xml:ns:yang:controller:config:toaster-provider:impl?module=toaster-provider-impl&amp;revision=2014-01-31</capability>
76     </required-capabilities>
77
78 </snapshot>
79