1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
4 Copyright © 2016 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 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
11 <reference id="dataBroker" interface="org.opendaylight.mdsal.binding.api.DataBroker"/>
12 <reference id="rpcProviderService" interface="org.opendaylight.mdsal.binding.api.RpcProviderService" />
13 <reference id="openRoadmInterfaces" interface="org.opendaylight.transportpce.common.openroadminterfaces.OpenRoadmInterfaces" />
14 <reference id="deviceTransactionManager" interface="org.opendaylight.transportpce.common.device.DeviceTransactionManager" />
15 <reference id="portMapping" interface="org.opendaylight.transportpce.common.mapping.PortMapping" />
16 <reference id="mappingUtils" interface="org.opendaylight.transportpce.common.mapping.MappingUtils" />
17 <reference id="powerMgmt" interface="org.opendaylight.transportpce.olm.power.PowerMgmt" />
19 <bean id="olmPowerServiceImpl" class="org.opendaylight.transportpce.olm.service.OlmPowerServiceImpl">
20 <argument ref="dataBroker" />
21 <argument ref="powerMgmt" />
22 <argument ref="deviceTransactionManager" />
23 <argument ref="portMapping" />
24 <argument ref="mappingUtils" />
25 <argument ref="openRoadmInterfaces" />
28 <bean id="olmPowerServiceRpcImpl" class="org.opendaylight.transportpce.olm.OlmPowerServiceRpcImpl">
29 <argument ref="olmPowerServiceImpl" />
32 <bean id="provider" class="org.opendaylight.transportpce.olm.OlmProvider"
33 init-method="init" destroy-method="close">
34 <argument ref="rpcProviderService" />
35 <argument ref="olmPowerServiceRpcImpl" />
38 <service ref="olmPowerServiceRpcImpl"
39 interface="org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.olm.rev210618.TransportpceOlmService"/>