2745a6b5daa9a4f5ef25e0882a5fc88030044df4
[openflowplugin.git] / applications / southbound-cli / src / main / resources / OSGI-INF / blueprint / southbound-cli.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
3            xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
4            xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
5            odl:use-default-for-reference-types="true">
6
7     <reference id="dataBroker"
8                interface="org.opendaylight.mdsal.binding.api.DataBroker"/>
9     <reference id="flowCacheManager"
10                interface="org.opendaylight.openflowplugin.api.openflow.FlowGroupCacheManager"/>
11     <reference id="frm"
12                interface="org.opendaylight.openflowplugin.applications.frm.ForwardingRulesManager"/>
13
14     <bean id="alarmAgent"
15           class="org.opendaylight.openflowplugin.applications.southboundcli.alarm.AlarmAgent" init-method="start">
16     </bean>
17     <bean id="nodeListener"
18           class="org.opendaylight.openflowplugin.applications.southboundcli.NodeListener"
19           init-method="start"
20           destroy-method="close">
21         <argument ref="dataBroker"/>
22     </bean>
23     <bean id="reconciliationService"
24           class="org.opendaylight.openflowplugin.applications.southboundcli.ReconciliationServiceImpl"
25           destroy-method="close">
26         <argument ref="dataBroker"/>
27         <argument ref="frm"/>
28         <argument ref="alarmAgent"/>
29         <argument ref="nodeListener"/>
30         <argument ref="flowCacheManager"/>
31     </bean>
32
33     <odl:rpc-implementation ref="reconciliationService"/>
34
35 </blueprint>