Path Computation Server
[bgpcep.git] / pcep / server / server-provider / src / main / resources / OSGI-INF / blueprint / pce-server.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   Copyright (c) 2020 Orange. 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="pathComputationProvider" interface="org.opendaylight.algo.PathComputationProvider"/>
13     <reference id="connectedGraphProvider" interface="org.opendaylight.graph.ConnectedGraphProvider" />
14
15     <bean id="pceServerProvider" class="org.opendaylight.bgpcep.pcep.server.provider.PceServerFactory">
16         <argument ref="connectedGraphProvider"/>
17         <argument ref="pathComputationProvider"/>
18     </bean>
19
20     <service ref="pceServerProvider" interface="org.opendaylight.bgpcep.pcep.server.PceServerProvider"/>
21
22 </blueprint>