mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 22:41:12 +02:00
NIO NAT support for QEMU VMs (user mode back-end is used).
This commit is contained in:
1 parent
17b93e6a89
commit
fcff2d0813
6 files changed
+82
-21
No files matched your search
@@ -410,6 +410,8 @@ class Dynamips(BaseManager):
|
||||
nio = NIOVDE(node.hypervisor, control_file, local_file)
|
||||
elif nio_settings["type"] == "nio_null":
|
||||
nio = NIONull(node.hypervisor)
|
||||
else:
|
||||
raise aiohttp.web.HTTPConflict(text="NIO of type {} is not supported".format(nio_settings["type"]))
|
||||
|
||||
yield from nio.create()
|
||||
return nio
|
||||
|
||||
Reference in new issue
Block a user