Commit 051bd585 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Pre-release CI/CD pipeline fixes

parent 9512d565
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -116,12 +116,10 @@ def eropath_to_hops(
            if link_tuple is None: raise Exception('Malformed path')

            ingress = next(iter([
                ep_id for ep_id in link_tuple[0]['link_endpoint_ids']
                if (ep_id['endpoint_id']['device_id'] == device_uuid) and\
                    (ep_id['endpoint_id']['endpoint_uuid'] != endpoint_uuid)
                ep_id
                for ep_id in link_tuple[0]['link_endpoint_ids']
                if ep_id['endpoint_id']['device_id'] != device_uuid
            ]), None)
            if ingress['endpoint_id']['device_id'] != device_uuid:
                raise Exception('Malformed path')

            ingress_ep = ingress['endpoint_id']['endpoint_uuid']
            ingress_ep = MAP_TAPI_UUIDS.get(ingress_ep, ingress_ep)
+184 −0

File added.

Preview size limit exceeded, changes collapsed.