1 <?xml version="1.0" encoding="UTF-8"?>
3 Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.
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
9 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
10 xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0">
12 <reference id="dataBroker" interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"
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"/>
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"/>
20 <bean id="bgpOpenconfigState" class="org.opendaylight.protocol.bgp.state.StateProviderImpl"
21 init-method="init" destroy-method="close">
22 <argument ref="dataBroker"/>
24 <bean factory-ref="bgpStateConfig" factory-method="getTimer"/>
26 <argument ref="bgpTableTypeRegistry"/>
27 <argument ref="bgpStateProvider"/>
28 <argument value="global-bgp"/>