1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
4 Copyright © 2017 Orange and others. All rights reserved.
6 This program and the accompanying materials are made available under the
7 terms of the Eclipse Public License v1.0 which accompanies this distribution,
8 and is available at http://www.eclipse.org/legal/epl-v10.html
10 Author: Martial Coulibaly <martial.coulibaly@gfi.com> on behalf of Orange
12 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
14 <reference id="networkTransactionImpl" interface="org.opendaylight.transportpce.common.network.NetworkTransactionService" />
15 <reference id="rpcService" interface="org.opendaylight.mdsal.binding.api.RpcProviderService"/>
16 <reference id="notificationPublishService" interface="org.opendaylight.mdsal.binding.api.NotificationPublishService"/>
17 <reference id="portMapping" interface="org.opendaylight.transportpce.common.mapping.PortMapping"/>
18 <reference id="gnpyConsumer" interface="org.opendaylight.transportpce.pce.gnpy.consumer.GnpyConsumer"/>
20 <bean id="pceServiceImpl"
21 class="org.opendaylight.transportpce.pce.service.PathComputationServiceImpl"
22 init-method="init" destroy-method="close">
23 <argument ref="networkTransactionImpl"/>
24 <argument ref="notificationPublishService" />
25 <argument ref="gnpyConsumer" />
26 <argument ref="portMapping" />
30 class="org.opendaylight.transportpce.pce.impl.PceProvider"
31 init-method="init" destroy-method="close">
32 <argument ref="rpcService" />
33 <argument ref="pceServiceImpl" />
36 <service ref="pceServiceImpl"
37 interface="org.opendaylight.transportpce.pce.service.PathComputationService"/>