diff options
author | Peter Barabas <peter.barabas@ericsson.com> | 2016-01-27 11:07:52 +0100 |
---|---|---|
committer | Stefan Berg <sfb@consultron.com> | 2016-01-29 14:26:04 +0100 |
commit | 4651f81d2deae1512f4033841af173a51a7c6eca (patch) | |
tree | 4d6ed6b72db420ca64fd12815bdc89401a09168a /deploy/cloud | |
parent | 19f52239658b8e8b905acf4e8613db51f8d03e02 (diff) |
Use Fuel 8 CLI compatible commands
Change-Id: Icd2feed7326772837c74f35688160d1eb0c25652
Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
(cherry picked from commit b4cc8935a0b22c4104cbeec027a7325afff9b3ae)
Diffstat (limited to 'deploy/cloud')
-rw-r--r-- | deploy/cloud/configure_environment.py | 11 |
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) |