af0e676dd01322be425583f23fa7e547ba2bdea8
[ovsdb.git] / hwvtepsouthbound / hwvtepsouthbound-impl / src / main / resources / OSGI-INF / blueprint / hwvtepsouthbound.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
3   xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
4   odl:use-default-for-reference-types="true">
5
6   <reference id="dataBroker"
7     interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"
8     odl:type="default" />
9   <reference id="eos"
10     interface="org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService" />
11   <reference id="ovsdbConnection" interface="org.opendaylight.ovsdb.lib.OvsdbConnection" />
12   <reference id="schemaService"
13     interface="org.opendaylight.mdsal.dom.api.DOMSchemaService" />
14   <reference id="bindingNormalizedNodeSerializer"
15     interface="org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer" />
16
17   <bean id="hwvtepProvider"
18     class="org.opendaylight.ovsdb.hwvtepsouthbound.HwvtepSouthboundProvider"
19     init-method="init" destroy-method="close">
20     <argument ref="dataBroker" />
21     <argument ref="eos" />
22     <argument ref="ovsdbConnection" />
23     <argument ref="schemaService" />
24     <argument ref="bindingNormalizedNodeSerializer" />
25   </bean>
26
27     <command-bundle xmlns="http://karaf.apache.org/xmlns/shell/v1.1.0">
28     <command>
29         <action class="org.opendaylight.ovsdb.hwvtepsouthbound.TransactionHistoryCmd">
30             <argument ref="hwvtepProvider" />
31         </action>
32     </command>
33     </command-bundle>
34 </blueprint>