--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- vi: set et smarttab sw=4 tabstop=4: -->
+<!--
+Copyright © 2016 Orange and others. All rights reserved.
+
+This program and the accompanying materials are made available under the
+terms of the Eclipse Public License v1.0 which accompanies this distribution,
+and is available at http://www.eclipse.org/legal/epl-v10.html
+-->
+<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
+ xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
+ odl:use-default-for-reference-types="true">
+
+ <reference id="dataBroker"
+ interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"
+ odl:type="default" />
+ <reference id="rpcProviderRegistry"
+ interface="org.opendaylight.controller.sal.binding.api.RpcProviderRegistry" />
+ <reference id="openRoadmInterfaces"
+ interface="org.opendaylight.transportpce.common.openroadminterfaces.OpenRoadmInterfaces" />
+ <reference id="crossConnect"
+ interface="org.opendaylight.transportpce.common.crossconnect.CrossConnect" />
+ <reference id="deviceTransactionManager"
+ interface="org.opendaylight.transportpce.common.device.DeviceTransactionManager" />
+ <reference id="portMapping"
+ interface="org.opendaylight.transportpce.common.mapping.PortMapping" />
+
+ <bean id="olmPowerServiceImpl"
+ class="org.opendaylight.transportpce.olm.service.OlmPowerServiceImpl"
+ init-method="init" destroy-method="close">
+ <argument ref="dataBroker" />
+ <argument ref="powerMgmt" />
+ <argument ref="deviceTransactionManager" />
+ <argument ref="portMapping" />
+ </bean>
+
+ <bean id="powerMgmt" class="org.opendaylight.transportpce.olm.power.PowerMgmt" >
+ <argument ref="dataBroker" />
+ <argument ref="openRoadmInterfaces" />
+ <argument ref="crossConnect" />
+ <argument ref="deviceTransactionManager" />
+ </bean>
+
+ <bean id="provider"
+ class="org.opendaylight.transportpce.olm.OlmProvider"
+ init-method="init" destroy-method="close">
+ <argument ref="rpcProviderRegistry" />
+ <argument ref="olmPowerServiceImpl" />
+ </bean>
+
+ <service ref="olmPowerServiceImpl"
+ interface="org.opendaylight.transportpce.olm.service.OlmPowerService"/>
+
+</blueprint>