Skip to content
Snippets Groups Projects
Commit e246ec5c authored by Radovan Krebs's avatar Radovan Krebs
Browse files

Resolve "Implement hidden network support"

parent 8a5b3d01
Branches
Tags
1 merge request!10Resolve "Implement hidden network support"
...@@ -110,7 +110,7 @@ class TopologyInstance: ...@@ -110,7 +110,7 @@ class TopologyInstance:
Return a list of TI virtual machines that are not hidden directly Return a list of TI virtual machines that are not hidden directly
or through their network. or through their network.
""" """
hosts = [self.get_node(m.name) for m in self.topology_definition.net_mappings hosts = [self.get_node(m.host) for m in self.topology_definition.net_mappings
if not self.get_node(m.host).hidden and not self.get_network(m.network).hidden] if not self.get_node(m.host).hidden and not self.get_network(m.network).hidden]
# removes duplicates caused by hosts assigned to multiple networks # removes duplicates caused by hosts assigned to multiple networks
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment