43d931b654a532566063beb83cfeab74873aeecd
[netvirt.git] / vpnservice / elanmanager / elanmanager-impl / src / main / resources / org / opendaylight / blueprint / elanmanager.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="pingpong" />
9   <reference id="notificationService"
10     interface="org.opendaylight.controller.md.sal.binding.api.NotificationService" />
11   <reference id="entityOwnershipService"
12     interface="org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService" />
13   <reference id="iMdsalApiManager"
14     interface="org.opendaylight.genius.mdsalutil.interfaces.IMdsalApiManager" />
15   <reference id="iInterfaceManager"
16     interface="org.opendaylight.genius.interfacemanager.interfaces.IInterfaceManager" />
17   <reference id="iVpnManager"
18              interface="org.opendaylight.netvirt.vpnmanager.api.IVpnManager" availability="optional"/>
19   <reference id="iBgpManager"
20              interface="org.opendaylight.netvirt.bgpmanager.api.IBgpManager" availability="optional"/>
21   <reference id="iNeutronVpnManager"
22              interface="org.opendaylight.netvirt.neutronvpn.interfaces.INeutronVpnManager" availability="optional"/>
23   <reference id="diagStatusService"
24              interface="org.opendaylight.infrautils.diagstatus.DiagStatusService" />
25   <reference id="jobCoordinator"
26              interface="org.opendaylight.infrautils.jobcoordinator.JobCoordinator"/>
27
28   <odl:rpc-service id="odlInterfaceRpcService"
29     interface="org.opendaylight.yang.gen.v1.urn.opendaylight.genius.interfacemanager.rpcs.rev160406.OdlInterfaceRpcService" />
30   <odl:rpc-service id="itmRpcService"
31     interface="org.opendaylight.yang.gen.v1.urn.opendaylight.genius.itm.rpcs.rev160406.ItmRpcService" />
32   <odl:rpc-service id="salFlowService"
33     interface="org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.SalFlowService" />
34   <odl:rpc-service id="idManagerService"
35     interface="org.opendaylight.yang.gen.v1.urn.opendaylight.genius.idmanager.rev160406.IdManagerService" />
36
37   <odl:clustered-app-config id="elanConfig"
38     binding-class="org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.elan.config.rev150710.ElanConfig"
39     default-config-file-name="netvirt-elanmanager-config.xml"
40     update-strategy="none">
41   </odl:clustered-app-config>
42
43   <bean id="entityOwnershipUtils" class="org.opendaylight.genius.utils.clustering.EntityOwnershipUtils">
44     <argument ref="entityOwnershipService" />
45   </bean>
46
47   <bean id="mdsalUtils" class="org.opendaylight.ovsdb.utils.mdsal.utils.MdsalUtils">
48     <argument ref="dataBroker" />
49   </bean>
50
51   <bean id="southboundUtils" class="org.opendaylight.ovsdb.utils.southbound.utils.SouthboundUtils">
52     <argument ref="mdsalUtils" />
53   </bean>
54
55   <odl:notification-listener ref="elanPacketInHandler" />
56
57   <odl:notification-listener ref="elanSmacFlowEventListener" />
58
59   <odl:rpc-implementation ref="elanStatisticsImpl" />
60
61   <service ref="elanServiceProvider" odl:type="default"
62     interface="org.opendaylight.netvirt.elanmanager.api.IElanService" />
63
64   <service ref="elanBridgeManager" odl:type="default"
65     interface="org.opendaylight.netvirt.elanmanager.api.IElanBridgeManager" />
66
67   <!--<bean id="hwvtepLocalUcastMacListener"
68     class="org.opendaylight.netvirt.elan.l2gw.listeners.HwvtepLocalUcastMacListener"
69     init-method="init" destroy-method="close">
70     <argument ref="dataBroker" />
71     <argument ref="elanL2GatewayUtils" />
72   </bean>-->
73
74   <service ref="l2gwServiceProvider" odl:type="default"
75            interface="org.opendaylight.netvirt.elanmanager.api.IL2gwService" />
76
77 </blueprint>