Move BP xml to OSGI-INF
[bgpcep.git] / pcep / segment-routing / src / main / resources / OSGI-INF / blueprint / pcep-segment-routing.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   <odl:clustered-app-config id="segmentRoutingConfig"
13       binding-class="org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.pcep.segment.routing.app.config.rev160707.PcepSegmentRoutingConfig"/>
14
15   <!-- Protocal extension provider -->
16
17   <bean id="segmentRoutingActivator" class="org.opendaylight.protocol.pcep.segment.routing.SegmentRoutingActivator">
18     <argument>
19       <bean factory-ref="segmentRoutingConfig" factory-method="isIanaSrSubobjectsType"/>
20     </argument>
21   </bean>
22
23   <service ref="segmentRoutingActivator" interface="org.opendaylight.protocol.pcep.spi.PCEPExtensionProviderActivator"
24           odl:type="org.opendaylight.protocol.pcep.segment.routing.SegmentRoutingActivator"/>
25
26   <!-- Capabilities -->
27
28   <bean id="segmentRoutingCapability" class="org.opendaylight.protocol.pcep.segment.routing.PCEPSegmentRoutingCapability">
29     <argument>
30       <bean factory-ref="segmentRoutingConfig" factory-method="isSrCapable"/>
31     </argument>
32   </bean>
33
34   <service ref="segmentRoutingCapability" interface="org.opendaylight.protocol.pcep.PCEPCapability"
35           odl:type="org.opendaylight.protocol.pcep.segment.routing.PCEPSegmentRoutingCapability"/>
36 </blueprint>