summaryrefslogtreecommitdiffstats
path: root/deploy/cloud/configure_environment.py
diff options
context:
space:
mode:
authorPeter Barabas <peter.barabas@ericsson.com>2016-01-27 11:07:52 +0100
committerPeter Barabas <peter.barabas@ericsson.com>2016-01-27 11:08:32 +0100
commitb4cc8935a0b22c4104cbeec027a7325afff9b3ae (patch)
treebe02982b971eb956703cc4c4ce72279a16d9ba6d /deploy/cloud/configure_environment.py
parent4214600456bf87ca339805407a904d229ad29dc6 (diff)
Use Fuel 8 CLI compatible commands
Change-Id: Icd2feed7326772837c74f35688160d1eb0c25652 Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
Diffstat (limited to 'deploy/cloud/configure_environment.py')
-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)