NIO NAT support for QEMU VMs (user mode back-end is used).

This commit is contained in:
grossmj committed 2015-05-06 14:59:01 -06:00
1 parent 17b93e6a89
commit fcff2d0813
6 files changed
+82 -21

No files matched your search

+2
View File
@@ -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