From 4f71600be5bf6db93947b7cbfdcb87fb0bcad741 Mon Sep 17 00:00:00 2001 From: Amir Date: Wed, 18 Dec 2024 17:53:22 +0100 Subject: [PATCH] Return created link --- gns3fy/gns3fy.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gns3fy/gns3fy.py b/gns3fy/gns3fy.py index 98acf76..5e8f409 100644 --- a/gns3fy/gns3fy.py +++ b/gns3fy/gns3fy.py @@ -1825,6 +1825,7 @@ def create_link(self, node_a, port_a, node_b, port_b): _link.create() self.links.append(_link) print(f"Created Link-ID: {_link.link_id} -- Type: {_link.link_type}") + return _link def delete_link(self, node_a, port_a, node_b, port_b): """