1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
4 Copyright © 2018 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: Gilles Thouenon <gilles.thouenon@orange.com>
12 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
13 xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
14 odl:use-default-for-reference-types="true">
16 <reference id="dataBroker"
17 interface="org.opendaylight.mdsal.binding.api.DataBroker"/>
19 <reference id="deviceTransactionManager"
20 interface="org.opendaylight.transportpce.common.device.DeviceTransactionManager" />
22 <reference id="rpcProviderService"
23 interface="org.opendaylight.mdsal.binding.api.RpcProviderService"/>
25 <reference id="serviceHandlerService"
26 interface="org.opendaylight.yang.gen.v1.http.org.openroadm.service.rev190531.OrgOpenroadmServiceService" />
28 <reference id="networkTransactionImpl"
29 interface="org.opendaylight.transportpce.common.network.NetworkTransactionService" />
31 <reference id="serviceDatastoreOperation"
32 interface="org.opendaylight.transportpce.servicehandler.service.ServiceDataStoreOperations" />
34 <bean id="tapiListener"
35 class="org.opendaylight.transportpce.tapi.utils.TapiListener">
38 <bean id="tapiNetworkModelService" class="org.opendaylight.transportpce.tapi.topology.TapiNetworkModelServiceImpl">
39 <argument ref="tapilinkDiscoveryImpl" />
40 <argument ref="networkTransactionImpl" />
43 <bean id="tapiNetconfTopologyListener" class="org.opendaylight.transportpce.tapi.topology.TapiNetconfTopologyListener">
44 <argument ref="tapiNetworkModelService" />
47 <bean id="tapiProvider"
48 class="org.opendaylight.transportpce.tapi.impl.TapiProvider"
49 init-method="init" destroy-method="close">
50 <argument ref="dataBroker" />
51 <argument ref="rpcProviderService" />
52 <argument ref="serviceHandlerService" />
53 <argument ref="serviceDatastoreOperation" />
54 <argument ref="tapiListener" />
55 <argument ref="networkTransactionImpl" />
56 <argument ref="tapiNetconfTopologyListener" />
57 <argument ref="tapiPortMappingListener" />
60 <bean id="tapiPortMappingListener" class="org.opendaylight.transportpce.tapi.topology.TapiPortMappingListener">
61 <argument ref="tapiNetworkModelService" />
64 <bean id="tapilinkDiscoveryImpl" class="org.opendaylight.transportpce.tapi.R2RTapiLinkDiscovery">
65 <argument ref="dataBroker" />
66 <argument ref="deviceTransactionManager" />
69 <service ref="tapiNetworkModelService" interface="org.opendaylight.transportpce.tapi.topology.TapiNetworkModelService" />