Commit 37b1abd4 authored by Pablo Armingol's avatar Pablo Armingol
Browse files

Remove unnecessary debug log statements in ServiceServiceServicerImpl

parent 0e36b542
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -254,8 +254,6 @@ class ServiceServiceServicerImpl(ServiceServiceServicer):
        tasks_scheduler = TasksScheduler(self.service_handler_factory)
        tasks_scheduler = TasksScheduler(self.service_handler_factory)


        if is_deployed_optical() and service.service_type == ServiceTypeEnum.SERVICETYPE_OPTICAL_CONNECTIVITY:
        if is_deployed_optical() and service.service_type == ServiceTypeEnum.SERVICETYPE_OPTICAL_CONNECTIVITY:
            LOGGER.debug('[case1]' )

            context_id_x = json_context_id(DEFAULT_CONTEXT_NAME)
            context_id_x = json_context_id(DEFAULT_CONTEXT_NAME)
            topology_id_x = json_topology_id(
            topology_id_x = json_topology_id(
                DEFAULT_TOPOLOGY_NAME, context_id_x)
                DEFAULT_TOPOLOGY_NAME, context_id_x)
@@ -326,7 +324,6 @@ class ServiceServiceServicerImpl(ServiceServiceServicer):
                tasks_scheduler.compose_from_pathcompreply(
                tasks_scheduler.compose_from_pathcompreply(
                    optical_reply, is_delete=False)
                    optical_reply, is_delete=False)
        else:
        else:

            if len(service_with_uuids.service_endpoint_ids) >= num_expected_endpoints:
            if len(service_with_uuids.service_endpoint_ids) >= num_expected_endpoints:
                pathcomp_request = PathCompRequest()
                pathcomp_request = PathCompRequest()
                pathcomp_request.services.append(service_with_uuids)    # pylint: disable=no-member
                pathcomp_request.services.append(service_with_uuids)    # pylint: disable=no-member