Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cloudvirt/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ def _nuke_net_entries(self):
network_type = netxml_root.find("forward")
if "mode" not in network_type.attrib or network_type.attrib["mode"] not in [
"route",
"open",
"nat",
]:
return
Expand Down Expand Up @@ -172,6 +173,7 @@ def _network_precheck(self):

if "mode" not in network_type.attrib or network_type.attrib["mode"] not in [
"route",
"open",
"nat",
]:
self.logger.info("prechecks are not used for the route and nat modes")
Expand Down