Loading src/common/tools/object_factory/Link.py +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ from typing import Dict, List def get_link_uuid(a_endpoint_id : Dict, z_endpoint_id : Dict) -> str: return '{:s}/{:s}=={:s}/{:s}'.format( a_endpoint_id['device_id']['device_uuid']['uuid'], a_endpoint_id['endpoint_uuid']['uuid'], a_endpoint_id['device_id']['device_uuid']['uuid'], z_endpoint_id['endpoint_uuid']['uuid']) z_endpoint_id['device_id']['device_uuid']['uuid'], z_endpoint_id['endpoint_uuid']['uuid']) def json_link_id(link_uuid : str): return {'link_uuid': {'uuid': link_uuid}} Loading Loading
src/common/tools/object_factory/Link.py +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ from typing import Dict, List def get_link_uuid(a_endpoint_id : Dict, z_endpoint_id : Dict) -> str: return '{:s}/{:s}=={:s}/{:s}'.format( a_endpoint_id['device_id']['device_uuid']['uuid'], a_endpoint_id['endpoint_uuid']['uuid'], a_endpoint_id['device_id']['device_uuid']['uuid'], z_endpoint_id['endpoint_uuid']['uuid']) z_endpoint_id['device_id']['device_uuid']['uuid'], z_endpoint_id['endpoint_uuid']['uuid']) def json_link_id(link_uuid : str): return {'link_uuid': {'uuid': link_uuid}} Loading