Bump versions by x.y.(z+1)
[bgpcep.git] / bgp / openconfig-state / src / main / resources / OSGI-INF / blueprint / bgp-openconfig-state.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   Copyright (c) 2016 Cisco Systems, Inc. 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
12     <reference id="dataBroker" interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"
13                odl:type="pingpong"/>
14     <reference id="bgpTableTypeRegistry" interface="org.opendaylight.protocol.bgp.openconfig.spi.BGPTableTypeRegistryConsumer"/>
15     <reference id="bgpStateProvider" interface="org.opendaylight.protocol.bgp.rib.spi.state.BGPStateConsumer"/>
16
17     <odl:clustered-app-config id="bgpStateConfig"
18                               binding-class="org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.state.config.rev161107.BgpStateConfig"/>
19
20     <bean id="bgpOpenconfigState" class="org.opendaylight.protocol.bgp.state.StateProviderImpl"
21           init-method="init" destroy-method="close">
22         <argument ref="dataBroker"/>
23         <argument>
24             <bean factory-ref="bgpStateConfig" factory-method="getTimer"/>
25         </argument>
26         <argument ref="bgpTableTypeRegistry"/>
27         <argument ref="bgpStateProvider"/>
28         <argument value="global-bgp"/>
29     </bean>
30 </blueprint>