Loading src/service/service/service_handlers/l3nm_ietfl3vpn/L3NM_IETFL3VPN_ServiceHandler.py +3 −1 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ from common.proto.context_pb2 import ( Service, ServiceConfig, ) from common.tools.grpc.Tools import grpc_message_to_json_string from common.tools.object_factory.Device import json_device_id from common.type_checkers.Checkers import chk_type from service.service.service_handler_api._ServiceHandler import _ServiceHandler Loading Loading @@ -424,8 +425,9 @@ class L3NM_IETFL3VPN_ServiceHandler(_ServiceHandler): controller.device_config.config_rules.append(ConfigRule(**jcr)) self.__task_executor.configure_device(controller) except Exception as e: # pylint: disable=broad-except str_service_id = grpc_message_to_json_string(self.__service.service_id) LOGGER.exception( "Unable to SetEndpoint for Service({:s})".format(str(service_id)) "Unable to SetEndpoint for Service({:s})".format(str(str_service_id)) ) results.append(e) Loading Loading
src/service/service/service_handlers/l3nm_ietfl3vpn/L3NM_IETFL3VPN_ServiceHandler.py +3 −1 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ from common.proto.context_pb2 import ( Service, ServiceConfig, ) from common.tools.grpc.Tools import grpc_message_to_json_string from common.tools.object_factory.Device import json_device_id from common.type_checkers.Checkers import chk_type from service.service.service_handler_api._ServiceHandler import _ServiceHandler Loading Loading @@ -424,8 +425,9 @@ class L3NM_IETFL3VPN_ServiceHandler(_ServiceHandler): controller.device_config.config_rules.append(ConfigRule(**jcr)) self.__task_executor.configure_device(controller) except Exception as e: # pylint: disable=broad-except str_service_id = grpc_message_to_json_string(self.__service.service_id) LOGGER.exception( "Unable to SetEndpoint for Service({:s})".format(str(service_id)) "Unable to SetEndpoint for Service({:s})".format(str(str_service_id)) ) results.append(e) Loading