CLI to display Of-Port status
[genius.git] / itm / itm-impl / src / main / resources / OSGI-INF / blueprint / itm.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright © 2016, 2017 Ericsson India Global Services Pvt Ltd. and others. All rights reserved.
4
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
10            xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
11            odl:use-default-for-reference-types="true">
12
13     <odl:rpc-service id="idManagerService"
14                      interface="org.opendaylight.yang.gen.v1.urn.opendaylight.genius.idmanager.rev160406.IdManagerService" />
15
16     <reference id="dataBroker"
17                interface="org.opendaylight.mdsal.binding.api.DataBroker" />
18
19     <reference id="entityOwnershipService"
20                interface="org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService" />
21
22     <reference id="iMdsalApiManager"
23                interface="org.opendaylight.genius.mdsalutil.interfaces.IMdsalApiManager" />
24
25     <reference id="iInterfaceManager"
26                interface="org.opendaylight.genius.interfacemanager.interfaces.IInterfaceManager" />
27
28     <reference id="interfaceManagerService"
29                interface="org.opendaylight.genius.interfacemanager.interfaces.InterfaceManagerService" />
30
31     <reference id="diagStatusService"
32                interface="org.opendaylight.infrautils.diagstatus.DiagStatusService" />
33
34     <reference id="jobCoordinator"
35                interface="org.opendaylight.infrautils.jobcoordinator.JobCoordinator"/>
36
37     <reference id="serviceRecoveryRegistry"
38                interface="org.opendaylight.serviceutils.srm.ServiceRecoveryRegistry"/>
39
40     <reference id="cacheProvider"
41                interface="org.opendaylight.infrautils.caches.CacheProvider"/>
42
43     <odl:rpc-implementation ref="itmManagerRpcService" />
44
45     <service ref="itmProvider"
46              interface="org.opendaylight.genius.itm.api.IITMProvider" />
47
48     <reference id="dataTreeEventCallbackRegistrar"
49                interface="org.opendaylight.genius.datastoreutils.listeners.DataTreeEventCallbackRegistrar"/>
50
51     <reference id="tombstonedNodeManager"
52                interface="org.opendaylight.genius.cloudscaler.api.TombstonedNodeManager"/>
53
54     <odl:clustered-app-config id="itmConfig"
55                               binding-class="org.opendaylight.yang.gen.v1.urn.opendaylight.genius.itm.config.rev160406.ItmConfig"
56                               default-config-file-name="genius-itm-config.xml"
57                               update-strategy="none">
58     </odl:clustered-app-config>
59
60     <bean id="entityOwnershipUtils" class="org.opendaylight.genius.utils.clustering.EntityOwnershipUtils">
61         <argument ref="entityOwnershipService"/>
62     </bean>
63
64     <!--To assert references for CLI implementations-->
65     <command-bundle xmlns="http://karaf.apache.org/xmlns/shell/v1.1.0">
66         <command>
67             <action class="org.opendaylight.genius.itm.cli.TepAdd">
68                 <property name="itmProvider" ref="itmProvider" />
69             </action>
70         </command>
71         <command>
72             <action class="org.opendaylight.genius.itm.cli.TepDelete">
73                 <property name="itmProvider" ref="itmProvider" />
74             </action>
75         </command>
76         <command>
77             <action class="org.opendaylight.genius.itm.cli.TepShow">
78                 <property name="itmProvider" ref="itmProvider" />
79             </action>
80         </command>
81         <command>
82             <action class="org.opendaylight.genius.itm.cli.TepShowBridges">
83                 <property name="itmProvider" ref="itmProvider" />
84                 <property name="ovsBridgeRefEntryCache" ref="ovsBridgeRefEntryCache" />
85                 <property name="interfaceManager" ref="iInterfaceManager" />
86             </action>
87         </command>
88         <command>
89             <action class="org.opendaylight.genius.itm.cli.TepCommit">
90                 <property name="itmProvider" ref="itmProvider" />
91             </action>
92         </command>
93         <command>
94             <action class="org.opendaylight.genius.itm.cli.TepConfigureTunnelType">
95                 <property name="itmProvider" ref="itmProvider" />
96             </action>
97         </command>
98         <command>
99             <action class="org.opendaylight.genius.itm.cli.TepMonitor">
100                 <property name="itmProvider" ref="itmProvider" />
101             </action>
102         </command>
103         <command>
104             <action class="org.opendaylight.genius.itm.cli.TepDeleteDatastore">
105                 <property name="itmProvider" ref="itmProvider" />
106             </action>
107         </command>
108         <command>
109             <action class="org.opendaylight.genius.itm.cli.TepEnableTunnelMonitor">
110                 <property name="itmProvider" ref="itmProvider" />
111             </action>
112         </command>
113         <command>
114             <action class="org.opendaylight.genius.itm.cli.AddExternalEndpoint">
115                 <property name="itmProvider" ref="itmProvider" />
116             </action>
117         </command>
118         <command>
119             <action class="org.opendaylight.genius.itm.cli.RemoveExternalEndpoint">
120                 <property name="itmProvider" ref="itmProvider" />
121             </action>
122         </command>
123         <command>
124             <action class="org.opendaylight.genius.itm.cli.DSShowCache">
125                 <property name="itmProvider" ref="itmProvider" />
126             </action>
127         </command>
128         <command>
129             <action class="org.opendaylight.genius.itm.cli.TepShowOfPorts">
130                 <argument ref="itmProvider" />
131                 <argument ref="ofTepStateCache" />
132             </action>
133         </command>
134     </command-bundle>
135
136 </blueprint>