6d5d0eb82633964f0eeca31cb084063136412298
[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:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:toaster-provider:impl">
16                         prefix: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                     <notification-service>
26                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">
27                             binding:binding-notification-service
28                         </type>
29                         <name>binding-notification-broker</name>
30                     </notification-service>
31                 </module>
32
33                 <module>
34                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:toaster-consumer:impl">
35                         prefix:toaster-consumer-impl
36                     </type>
37                     <name>toaster-consumer-impl</name>
38
39                     <rpc-registry>
40                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-rpc-registry</type>
41                         <name>binding-rpc-broker</name>
42                     </rpc-registry>
43
44                     <notification-service>
45                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">
46                             binding:binding-notification-service
47                         </type>
48                         <name>binding-notification-broker</name>
49                     </notification-service>
50                 </module>
51             </modules>
52
53             <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
54                 <service>
55                     <type xmlns:toaster="urn:opendaylight:params:xml:ns:yang:controller:config:toaster-provider">toaster:toaster-provider</type>
56                     <instance>
57                         <name>toaster-provider</name>
58                         <provider>/modules/module[type='toaster-provider-impl'][name='toaster-provider-impl']</provider>
59                     </instance>
60                 </service>
61                 <service>
62                     <type xmlns:toaster="urn:opendaylight:params:xml:ns:yang:controller:config:toaster-consumer">toaster:toaster-consumer</type>
63                     <instance>
64                         <name>toaster-consumer</name>
65                         <provider>/modules/module[type='toaster-consumer-impl'][name='toaster-consumer-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:md:sal:binding?module=opendaylight-md-sal-binding&amp;revision=2013-10-28</capability>
75         <capability>urn:opendaylight:params:xml:ns:yang:controller:config:toaster-consumer?module=toaster-consumer&amp;revision=2014-01-31</capability>
76         <capability>urn:opendaylight:params:xml:ns:yang:controller:config:toaster-consumer:impl?module=toaster-consumer-impl&amp;revision=2014-01-31</capability>
77         <capability>urn:opendaylight:params:xml:ns:yang:controller:config:toaster-provider?module=toaster-provider&amp;revision=2014-01-31</capability>
78         <capability>urn:opendaylight:params:xml:ns:yang:controller:config:toaster-provider:impl?module=toaster-provider-impl&amp;revision=2014-01-31</capability>
79     </required-capabilities>
80
81 </snapshot>
82

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.