diff --git a/src/common/tools/object_factory/Link.py b/src/common/tools/object_factory/Link.py
index 13973566ece5e6f83312c9bd50ca0c4add2d262b..922a39dbe24f4f4b635f378180ab13c80322801b 100644
--- a/src/common/tools/object_factory/Link.py
+++ b/src/common/tools/object_factory/Link.py
@@ -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}}