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">
5 <!-- Obtains the specific list of PCEPCapability OSGi services announced via
6 META-INF/services/org.opendaylight.protocol.pcep.PCEPCapability resources.
8 <odl:specific-reference-list id="pcepCapabilities" interface="org.opendaylight.protocol.pcep.PCEPCapability"/>
10 <odl:clustered-app-config id="pcepSessionConfig"
11 binding-class="org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.pcep.app.config.rev160707.PcepSessionConfig"/>
13 <bean id="sessionProposalFactory" class="org.opendaylight.protocol.pcep.impl.BasePCEPSessionProposalFactory">
15 <bean factory-ref="pcepSessionConfig" factory-method="getDeadTimerValue"/>
18 <bean factory-ref="pcepSessionConfig" factory-method="getKeepAliveTimerValue"/>
20 <argument ref="pcepCapabilities"/>
23 <!-- PCEPDispatcher -->
25 <reference id="pcepExtensionContext" interface="org.opendaylight.protocol.pcep.spi.PCEPExtensionConsumerContext"/>
26 <reference id="globalBossGroup" interface="io.netty.channel.EventLoopGroup" odl:type="global-boss-group"/>
27 <reference id="globalWorkerGroup" interface="io.netty.channel.EventLoopGroup" odl:type="global-worker-group"/>
29 <odl:clustered-app-config id="pcepDispatcherConfig"
30 binding-class="org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.pcep.app.config.rev160707.PcepDispatcherConfig"/>
32 <bean id="pcepSessionNegotiatorFactory" class="org.opendaylight.protocol.pcep.impl.DefaultPCEPSessionNegotiatorFactory">
33 <argument ref="sessionProposalFactory"/>
34 <argument ref="pcepDispatcherConfig"/>
37 <bean id="pcepDispatcher" class="org.opendaylight.protocol.pcep.impl.PCEPDispatcherImpl">
39 <bean factory-ref="pcepExtensionContext" factory-method="getMessageHandlerRegistry"/>
41 <argument ref="pcepSessionNegotiatorFactory"/>
42 <argument ref="globalBossGroup"/>
43 <argument ref="globalWorkerGroup"/>
46 <service ref="pcepDispatcher" interface="org.opendaylight.protocol.pcep.PCEPDispatcher"/>