Remove NAT NIO.

This commit is contained in:
grossmj committed 2016-05-31 19:06:48 -06:00
1 parent f0e0988d6a
commit f2eb2a4bdc
4 files changed
+19 -42

No files matched your search

-3
View File
@@ -37,7 +37,6 @@ from .project_manager import ProjectManager
from .nios.nio_udp import NIOUDP
from .nios.nio_tap import NIOTAP
from .nios.nio_nat import NIONAT
from .nios.nio_generic_ethernet import NIOGenericEthernet
from ..utils.images import md5sum, remove_checksum
from .node_error import NodeError
@@ -388,8 +387,6 @@ class BaseManager:
if not is_interface_up(ethernet_device):
raise aiohttp.web.HTTPConflict(text="Ethernet interface {} does not exist or is down".format(ethernet_device))
nio = NIOGenericEthernet(ethernet_device)
elif nio_settings["type"] == "nio_nat":
nio = NIONAT()
assert nio is not None
return nio