summaryrefslogtreecommitdiffstats
path: root/deploy/cloud
diff options
context:
space:
mode:
authorStefan Berg <stefan.k.berg@ericsson.com>2016-01-29 13:30:56 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-01-29 13:30:56 +0000
commitda34b8fbba1d06db9ee62cc1e79af9c8a178eff6 (patch)
treecd8ec5d386e828b1f1c349d2384c1a378b505aaf /deploy/cloud
parentf32ce90a3a08891ab2253ca910b7025314b0c8d8 (diff)
parent4651f81d2deae1512f4033841af173a51a7c6eca (diff)
Merge "Use Fuel 8 CLI compatible commands" into stable/brahmaputra
Diffstat (limited to 'deploy/cloud')
-rw-r--r--deploy/cloud/configure_environment.py11
1 files changed, 4 insertions, 7 deletions
diff --git a/deploy/cloud/configure_environment.py b/deploy/cloud/configure_environment.py
index ed89fa600..1914d7e3e 100644
--- a/deploy/cloud/configure_environment.py
+++ b/deploy/cloud/configure_environment.py
@@ -46,14 +46,11 @@ class ConfigureEnvironment(object):
delete(self.yaml_config_dir)
create_dir_if_not_exists(self.yaml_config_dir)
env_name = self.dea.get_env_name()
- env_mode = self.dea.get_env_mode()
env_net_segment_type = self.dea.get_env_net_segment_type()
- log('Creating environment %s release %s, mode %s, network-mode neutron'
- ', net-segment-type %s'
- % (env_name, self.release_id, env_mode, env_net_segment_type))
- exec_cmd('fuel env create --name %s --release %s --mode %s '
- '--network-mode neutron --net-segment-type %s'
- % (env_name, self.release_id, env_mode, env_net_segment_type))
+ log('Creating environment %s release %s net-segment-type %s'
+ % (env_name, self.release_id, env_net_segment_type))
+ exec_cmd('fuel env create --name %s --release %s --net-segment-type %s'
+ % (env_name, self.release_id, env_net_segment_type))
if not self.env_exists(env_name):
err('Failed to create environment %s' % env_name)