Commit 63e23460 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Service component - L3NM IETF Slice and NCE FAN:

- Added log messages for method DeleteEndpoints()
parent 985d056a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -172,6 +172,10 @@ class L3NM_IETFSlice_ServiceHandler(_ServiceHandler):
        endpoints: List[Tuple[str, str, Optional[str]]],
        connection_uuid: Optional[str] = None,
    ) -> List[Union[bool, Exception]]:
        LOGGER.debug('[DeleteEndpoint] service={:s}'.format(grpc_message_to_json_string(self.__service)))
        LOGGER.debug('[DeleteEndpoint] endpoints={:s}'.format(str(endpoints)))
        LOGGER.debug('[DeleteEndpoint] connection_uuid={:s}'.format(str(connection_uuid)))

        chk_type("endpoints", endpoints, list)
        if len(endpoints) == 0:
            return []
+4 −0
Original line number Diff line number Diff line
@@ -474,6 +474,10 @@ class L3NM_NCEFAN_ServiceHandler(_ServiceHandler):
        endpoints: List[Tuple[str, str, Optional[str]]],
        connection_uuid: Optional[str] = None,
    ) -> List[Union[bool, Exception]]:
        LOGGER.debug('[DeleteEndpoint] service={:s}'.format(grpc_message_to_json_string(self.__service)))
        LOGGER.debug('[DeleteEndpoint] endpoints={:s}'.format(str(endpoints)))
        LOGGER.debug('[DeleteEndpoint] connection_uuid={:s}'.format(str(connection_uuid)))

        chk_type("endpoints", endpoints, list)
        if len(endpoints) == 0:
            return []