Bump versions by x.y.(z+1)
[bgpcep.git] / pcep / topology / topology-stats / src / main / resources / OSGI-INF / blueprint / pcep-provider-stats.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ Copyright (c) 2017. AT&T Intellectual Property. 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
10 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
11            xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0">
12     <reference id="dataBroker" interface="org.opendaylight.mdsal.binding.api.DataBroker"
13                odl:type="pingpong"/>
14     <odl:clustered-app-config id="pcepStatsConfig"
15         binding-class="org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.odl.pcep.stats.provider.config.rev171113.PcepProvider"/>
16
17     <bean id="topologyStatsRegistry"
18           class="org.opendaylight.bgpcep.pcep.topology.stats.provider.TopologyStatsProviderImpl"
19           init-method="init" destroy-method="close">
20         <argument ref="dataBroker"/>
21         <argument>
22             <bean factory-ref="pcepStatsConfig" factory-method="getTimer"/>
23         </argument>
24     </bean>
25     <service ref="topologyStatsRegistry"
26              interface="org.opendaylight.bgpcep.pcep.topology.spi.stats.TopologySessionStatsRegistry"/>
27 </blueprint>