<reference id="dataBroker"
interface="org.opendaylight.mdsal.binding.api.DataBroker"/>
+ <reference id="flowCacheManager" interface="org.opendaylight.openflowplugin.api.openflow.FlowGroupCacheManager"/>
<odl:rpc-service id="frmReconciliationService"
interface="org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflowplugin.app.frm.reconciliation.service.rev180227.FrmReconciliationService"/>
-
<bean id="alarmAgent"
class="org.opendaylight.openflowplugin.applications.southboundcli.alarm.AlarmAgent" init-method="start">
</bean>
+ <bean id="nodeListener"
+ class="org.opendaylight.openflowplugin.applications.southboundcli.NodeListener"
+ init-method="start"
+ destroy-method="close">
+ <argument ref="dataBroker"/>
+ </bean>
<bean id="reconciliationService"
class="org.opendaylight.openflowplugin.applications.southboundcli.ReconciliationServiceImpl"
destroy-method="close">
<argument ref="frmReconciliationService"/>
<argument ref="alarmAgent"/>
<argument ref="nodeListener"/>
- </bean>
- <bean id="nodeListener"
- class="org.opendaylight.openflowplugin.applications.southboundcli.NodeListener"
- init-method="start"
- destroy-method="close">
- <argument ref="dataBroker"/>
+ <argument ref="flowCacheManager"/>
</bean>
<odl:rpc-implementation ref="reconciliationService"/>
- <!--To assert references for CLI implementations-->
- <command-bundle xmlns="http://karaf.apache.org/xmlns/shell/v1.0.0">
- <command name="openflow/getallnodes">
- <action class="org.opendaylight.openflowplugin.applications.southboundcli.cli.GetAllNodesCommandProvider">
- <property name="dataBroker" ref="dataBroker" />
- <property name="nodeListener" ref="nodeListener"/>
- </action>
- </command>
- <command name="openflow/shownode">
- <action class="org.opendaylight.openflowplugin.applications.southboundcli.cli.ShowNodeCommandProvider">
- <property name="dataBroker" ref="dataBroker" />
- </action>
- </command>
- <command name="openflow/reconcile">
- <action class="org.opendaylight.openflowplugin.applications.southboundcli.cli.Reconciliation">
- <property name="reconciliationService" ref="reconciliationService"/>
- </action>
- </command>
- <command name="openflow/getreconciliationcount">
- <action class="org.opendaylight.openflowplugin.applications.southboundcli.cli.ReconciliationCount">
- <property name="dataBroker" ref="dataBroker"/>
- </action>
- </command>
- </command-bundle>
-
</blueprint>