def8d3ef87f03fb2d1c046d59464054725106241
[netvirt.git] / qosservice / impl / src / main / resources / OSGI-INF / blueprint / qosservice.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: --><!--
3 Copyright (c) 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            xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
12            odl:use-default-for-reference-types="true">
13
14     <reference id="dataBroker"
15                interface="org.opendaylight.mdsal.binding.api.DataBroker"
16                odl:type="default" />
17     <reference id="iMdsalApiManager"
18                interface="org.opendaylight.genius.mdsalutil.interfaces.IMdsalApiManager" />
19     <reference id="iNeutronVpnManager"
20                interface="org.opendaylight.netvirt.neutronvpn.interfaces.INeutronVpnManager" />
21     <reference id="entityOwnershipService"
22                interface="org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService" />
23     <reference id="jobCoordinator"
24                interface="org.opendaylight.infrautils.jobcoordinator.JobCoordinator" />
25     <reference id="serviceRecoveryRegistry"
26                interface="org.opendaylight.serviceutils.srm.ServiceRecoveryRegistry"/>
27     <reference id="iInterfaceManager"
28                interface="org.opendaylight.genius.interfacemanager.interfaces.IInterfaceManager" />
29
30     <odl:rpc-service id="odlInterfaceRpcService"
31                  interface="org.opendaylight.yang.gen.v1.urn.opendaylight.genius.interfacemanager.rpcs.rev160406.OdlInterfaceRpcService" />
32
33     <odl:clustered-app-config id="qosalertConfig"
34                               binding-class="org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.qosalert.config.rev170301.QosalertConfig"
35                               default-config-file-name="netvirt-qosservice-config.xml"
36                               update-strategy="none">
37     </odl:clustered-app-config>
38
39     <odl:rpc-service id="opendaylightDirectStatisticsService"
40                      interface="org.opendaylight.yang.gen.v1.urn.opendaylight.direct.statistics.rev160511.OpendaylightDirectStatisticsService" />
41
42
43     <command-bundle xmlns="http://karaf.apache.org/xmlns/shell/v1.1.0">
44
45         <command>
46             <action class="org.opendaylight.netvirt.qosservice.QosAlertEnableCLI">
47                 <property name="qosAlertManager" ref="qosAlertManager"/>
48             </action>
49         </command>
50         <command>
51             <action class="org.opendaylight.netvirt.qosservice.QosAlertThresholdCLI">
52                 <property name="qosAlertManager" ref="qosAlertManager"/>
53             </action>
54         </command>
55         <command>
56             <action class="org.opendaylight.netvirt.qosservice.QosAlertPollIntervalCLI">
57                 <property name="qosAlertManager" ref="qosAlertManager"/>
58             </action>
59         </command>
60
61     </command-bundle>
62
63 </blueprint>