X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=lighty%2Fsrc%2Fmain%2Fjava%2Fio%2Flighty%2Fcontrollers%2Ftpce%2Fmodule%2FTransportPCEImpl.java;h=889c7f410754a30e35307f8291495ed7df003bd3;hb=30a7633eb11290b9fc0da5116fb9f6bec50710cc;hp=0505c1269937e8b108bc9d342591089e5bb1c61b;hpb=924a03f6d2ca5875c2726f3976bd0cff440daea3;p=transportpce.git diff --git a/lighty/src/main/java/io/lighty/controllers/tpce/module/TransportPCEImpl.java b/lighty/src/main/java/io/lighty/controllers/tpce/module/TransportPCEImpl.java index 0505c1269..889c7f410 100644 --- a/lighty/src/main/java/io/lighty/controllers/tpce/module/TransportPCEImpl.java +++ b/lighty/src/main/java/io/lighty/controllers/tpce/module/TransportPCEImpl.java @@ -12,6 +12,8 @@ import io.lighty.core.controller.api.LightyServices; import java.util.Arrays; import java.util.List; import org.opendaylight.mdsal.binding.api.NotificationService; +import org.opendaylight.transportpce.servicehandler.catalog.CatalogDataStoreOperations; +import org.opendaylight.transportpce.servicehandler.catalog.CatalogDataStoreOperationsImpl; import org.opendaylight.transportpce.common.crossconnect.CrossConnect; import org.opendaylight.transportpce.common.crossconnect.CrossConnectImpl; import org.opendaylight.transportpce.common.crossconnect.CrossConnectImpl121; @@ -199,15 +201,17 @@ public class TransportPCEImpl extends AbstractLightyModule implements TransportP lightyServices.getBindingNotificationPublishService(), serviceDataStoreOperations); NetworkModelListenerImpl networkModelListenerImpl = new NetworkModelListenerImpl( lightyServices.getBindingNotificationPublishService(), serviceDataStoreOperations); + CatalogDataStoreOperations catalogDataStoreOperations = new CatalogDataStoreOperationsImpl( + lightyServices.getBindingDataBroker()); ServicehandlerImpl servicehandler = new ServicehandlerImpl(lightyServices.getBindingDataBroker(), pathComputationService, rendererServiceOperations, lightyServices.getBindingNotificationPublishService(), - pceListenerImpl, rendererListenerImpl, networkModelListenerImpl, serviceDataStoreOperations); + pceListenerImpl, rendererListenerImpl, networkModelListenerImpl, serviceDataStoreOperations, catalogDataStoreOperations); ServiceListener serviceListener = new ServiceListener(servicehandler, serviceDataStoreOperations, lightyServices.getBindingNotificationPublishService()); servicehandlerProvider = new ServicehandlerProvider(lightyServices.getBindingDataBroker(), lightyServices.getRpcProviderService(), lightyServices.getNotificationService(), serviceDataStoreOperations, pceListenerImpl, serviceListener, rendererListenerImpl, - networkModelListenerImpl, servicehandler); + networkModelListenerImpl, servicehandler, catalogDataStoreOperations); if (activateTapi) { LOG.info("Creating tapi beans ..."); TapiLink tapiLink = new TapiLink(networkTransaction);