summaryrefslogtreecommitdiffstats
path: root/apex/deploy.py
diff options
context:
space:
mode:
Diffstat (limited to 'apex/deploy.py')
-rw-r--r--apex/deploy.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/apex/deploy.py b/apex/deploy.py
index ceef160a..6a08b36f 100644
--- a/apex/deploy.py
+++ b/apex/deploy.py
@@ -291,8 +291,13 @@ def main():
if uc_external:
jump_networks.append('external')
for network in jump_networks:
- iface = net_settings['networks'][network]['installer_vm'][
- 'members'][0]
+ if network == 'external':
+ # TODO(trozet): enable vlan secondary external networks
+ iface = net_settings['networks'][network][0][
+ 'installer_vm']['members'][0]
+ else:
+ iface = net_settings['networks'][network]['installer_vm'][
+ 'members'][0]
bridge = "br-{}".format(network)
jumphost.attach_interface_to_ovs(bridge, iface, network)
# Dump all settings out to temp bash files to be sourced