Path Computation Algorithms
[bgpcep.git] / algo / algo-impl / src / main / resources / OSGI-INF / blueprint / path-computation.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="connectedGraphProvider" interface="org.opendaylight.graph.ConnectedGraphProvider"/>
13     <reference id="rpcRegistry" interface="org.opendaylight.mdsal.binding.api.RpcProviderService"/>
14
15     <bean id="pathComputationProvider"
16           class="org.opendaylight.algo.impl.PathComputationServer"
17           destroy-method="close"
18           init-method="init">
19         <argument ref="rpcRegistry"/>
20         <argument ref="connectedGraphProvider"/>
21     </bean>
22
23     <service ref="pathComputationProvider" interface="org.opendaylight.algo.PathComputationProvider" />
24
25 </blueprint>