5be9ceb632c4fa17ac00bc5bf8bf17197ce16aca
[bgpcep.git] / bgp / linkstate / src / main / resources / org / opendaylight / blueprint / bgp-linkstate.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ Copyright (c) 2016 Brocade Communications 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="rsvpExtensionContext" interface="org.opendaylight.protocol.rsvp.parser.spi.RSVPExtensionConsumerContext"/>
13
14   <odl:clustered-app-config id="linkStateAppConfig"
15       binding-class="org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.linkstate.app.config.rev160614.BgpLinkstateAppConfig"/>
16
17   <bean id="BGPActivator" class="org.opendaylight.protocol.bgp.linkstate.impl.BGPActivator">
18     <argument>
19       <bean factory-ref="linkStateAppConfig" factory-method="isIanaLinkstateAttributeType"/>
20     </argument>
21     <argument>
22       <bean factory-ref="rsvpExtensionContext" factory-method="getRsvpRegistry"/>
23     </argument>
24   </bean>
25
26   <bean id="RIBActivator" class="org.opendaylight.protocol.bgp.linkstate.impl.RIBActivator"/>
27
28   <bean id="TableTypeActivator" class="org.opendaylight.protocol.bgp.linkstate.impl.TableTypeActivator"/>
29
30   <service ref="BGPActivator" interface="org.opendaylight.protocol.bgp.parser.spi.BGPExtensionProviderActivator"
31           odl:type="org.opendaylight.protocol.bgp.linkstate.impl.BGPActivator"/>
32
33   <service ref="RIBActivator" interface="org.opendaylight.protocol.bgp.rib.spi.RIBExtensionProviderActivator"
34           odl:type="org.opendaylight.protocol.bgp.linkstate.impl.RIBActivator"/>
35
36   <service ref="TableTypeActivator" interface="org.opendaylight.protocol.bgp.openconfig.spi.BGPTableTypeRegistryProviderActivator"
37           odl:type="org.opendaylight.protocol.bgp.linkstate.impl.TableTypeActivator"/>
38 </blueprint>