1 <?xml version="1.0" encoding="UTF-8"?>
2 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
3 xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0">
6 <reference id="BGPExtensionContext" interface="org.opendaylight.protocol.bgp.parser.spi.BGPExtensionConsumerContext"/>
7 <reference id="globalBossGroup" interface="io.netty.channel.EventLoopGroup" odl:type="global-boss-group"/>
8 <reference id="globalWorkerGroup" interface="io.netty.channel.EventLoopGroup" odl:type="global-worker-group"/>
10 <bean id="BGPDispatcher" class="org.opendaylight.protocol.bgp.rib.impl.BGPDispatcherImpl">
12 <bean factory-ref="BGPExtensionContext" factory-method="getMessageRegistry"/>
14 <argument ref="globalBossGroup"/>
15 <argument ref="globalWorkerGroup"/>
18 <service ref="BGPDispatcher" interface="org.opendaylight.protocol.bgp.rib.impl.spi.BGPDispatcher">
19 <!-- The following service properties specify the config system module and instance that correspond to
20 this OSGi service which enables the config system module to be restarted when this blueprint
21 container is restarted. -->
23 <entry key="config-module-namespace" value="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl"/>
24 <entry key="config-module-name" value="bgp-dispatcher-impl"/>
25 <entry key="config-instance-name" value="global-bgp-dispatcher"/>
29 <bean id="BGPPeerRegistry" class="org.opendaylight.protocol.bgp.rib.impl.StrictBGPPeerRegistry"
30 factory-method="instance"/>
32 <service ref="BGPPeerRegistry" interface="org.opendaylight.protocol.bgp.rib.impl.spi.BGPPeerRegistry"
34 <!-- The following service properties specify the config system module and instance that correspond to
35 this OSGi service which enables the config system module to be restarted when this blueprint
36 container is restarted. -->
38 <entry key="config-module-namespace" value="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl"/>
39 <entry key="config-module-name" value="strict-bgp-peer-registry"/>
40 <entry key="config-instance-name" value="global-bgp-peer-registry"/>