Enabled flex-grid support for 2.2.1 Roadms
[transportpce.git] / renderer / src / main / resources / OSGI-INF / blueprint / renderer-blueprint.xml
index 198ddb1b20fec05005dc6bfad637ed9f89545036..300a5b1324fa1471bcab49b49e36f1df4adfb66e 100644 (file)
@@ -24,6 +24,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
   <reference id="mappingUtils" interface="org.opendaylight.transportpce.common.mapping.MappingUtils"/>
   <reference id="FixedFlexImpl" interface="org.opendaylight.transportpce.common.fixedflex.FixedFlexInterface"/>
   <reference id="networkModelService" interface="org.opendaylight.transportpce.networkmodel.service.NetworkModelService"/>
+  <reference id="FlexGridImpl" interface="org.opendaylight.transportpce.common.fixedflex.FlexGridInterface"/>
 
   <odl:rpc-service id="olmService"
       interface="org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.olm.rev170418.TransportpceOlmService"/>
@@ -39,6 +40,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
     <argument ref="portMapping"/>
     <argument ref="openRoadmInterfaces"/>
     <argument ref="FixedFlexImpl"/>
+    <argument ref="FlexGridImpl"/>
   </bean>
 
   <bean id="openRoadmOtnInterface"
@@ -85,6 +87,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
 
   <bean id="rendererServiceOperations" class="org.opendaylight.transportpce.renderer.provisiondevice.RendererServiceOperationsImpl" >
     <argument ref="deviceRenderer" />
+    <argument ref="otnDeviceRenderer"/>
     <argument ref="olmService" />
     <argument ref="dataBroker" />
     <argument ref="networkModelWavelengthService" />
@@ -100,9 +103,11 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
 
   <service ref="deviceRenderer"
            interface="org.opendaylight.transportpce.renderer.provisiondevice.DeviceRendererService" />
-
   <service ref="rendererServiceOperations"
            interface="org.opendaylight.transportpce.renderer.provisiondevice.RendererServiceOperations" />
   <service ref="networkModelWavelengthService"
            interface="org.opendaylight.transportpce.renderer.NetworkModelWavelengthService" />
+  <service ref="otnDeviceRenderer"
+            interface="org.opendaylight.transportpce.renderer.provisiondevice.OtnDeviceRendererService"/>
+
 </blueprint>