Merge "Remove unneeded boxing"
[openflowplugin.git] / applications / southbound-cli / src / main / resources / OSGI-INF / blueprint / commands.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.2.0">
4
5     <reference id="reconciliationJMXServiceMBean"
6                interface="org.opendaylight.openflowplugin.applications.frm.ReconciliationJMXServiceMBean"
7                availability="optional"/>
8     <cm:property-placeholder persistent-id="org.ops4j.pax.web" update-strategy="none">
9         <cm:default-properties>
10             <cm:property name="org.osgi.service.http.port" value="8181"/>
11         </cm:default-properties>
12     </cm:property-placeholder>
13     <reference id="clusterMemberInfoProvider"
14                interface="org.opendaylight.infrautils.diagstatus.ClusterMemberInfo"
15                availability="optional"/>
16     <command-bundle xmlns="http://karaf.apache.org/xmlns/shell/v1.0.0">
17         <command name="openflow/getallnodes">
18             <action class="org.opendaylight.openflowplugin.applications.southboundcli.cli.GetAllNodesCommandProvider">
19                 <property name="dataBroker" ref="dataBroker" />
20                 <property name="nodeListener" ref="nodeListener"/>
21             </action>
22         </command>
23         <command name="openflow/shownode">
24             <action class="org.opendaylight.openflowplugin.applications.southboundcli.cli.ShowNodeCommandProvider">
25                 <property name="dataBroker" ref="dataBroker" />
26             </action>
27         </command>
28         <command name="openflow/reconcile">
29             <action class="org.opendaylight.openflowplugin.applications.southboundcli.cli.Reconciliation">
30                 <property name="reconciliationService" ref="reconciliationService"/>
31             </action>
32         </command>
33         <command name="openflow/getreconciliationcount">
34             <action class="org.opendaylight.openflowplugin.applications.southboundcli.cli.ReconciliationCount">
35                 <property name="dataBroker" ref="dataBroker"/>
36             </action>
37         </command>
38         <command name="openflow/getreconciliationstate">
39             <action class="org.opendaylight.openflowplugin.applications.southboundcli.cli.GetReconciliationStateProvider">
40                 <argument ref ="reconciliationJMXServiceMBean"/>
41                 <argument ref="clusterMemberInfoProvider"/>
42                 <argument value="${org.osgi.service.http.port}"/>
43             </action>
44         </command>
45         <command name="openflow/getflownodecache">
46             <action class="org.opendaylight.openflowplugin.applications.southboundcli.cli.GetFlowGroupCacheProvider">
47                 <argument ref="flowCacheManager"/>
48             </action>
49         </command>
50     </command-bundle>
51
52 </blueprint>