Use ubridge for dynamips routers

Ref #1109
This commit is contained in:
Julien Duponchelle committed 2017-07-10 20:38:28 +02:00
1 parent c6f28afb7c
commit 557924e91a
11 files changed
+62 -24

No files matched your search

+1 -1
View File
@@ -351,7 +351,7 @@ class Dynamips(BaseManager):
sock.connect(sa)
except OSError as e:
raise DynamipsError("Could not create an UDP connection to {}:{}: {}".format(rhost, rport, e))
nio = NIOUDP(node.hypervisor, lport, rhost, rport)
nio = NIOUDP(node, lport, rhost, rport, nio_settings.get("filters", {}))
elif nio_settings["type"] == "nio_generic_ethernet":
ethernet_device = nio_settings["ethernet_device"]
if sys.platform.startswith("win"):