diff --git a/system_test/actions/vcenter_actions.py b/system_test/actions/vcenter_actions.py index a0632751e..c4c513313 100644 --- a/system_test/actions/vcenter_actions.py +++ b/system_test/actions/vcenter_actions.py @@ -34,27 +34,6 @@ class VMwareActions(object): plugin_version = None - @deferred_decorator([make_snapshot_if_step_fail]) - @action - def enable_plugin(self): - """Enable plugin for Fuel""" - assert_true(self.plugin_name, "plugin_name is not specified") - - msg = "Plugin couldn't be enabled. Check plugin version. Test aborted" - assert_true( - self.fuel_web.check_plugin_exists( - self.cluster_id, - self.plugin_name), - msg) - - plugin_data = self.fuel_web.get_plugin_data(self.cluster_id, - self.plugin_name, - self.plugin_version) - options = {'metadata/enabled': True, - 'metadata/chosen_id': plugin_data['metadata']['plugin_id']} - self.fuel_web.update_plugin_data(self.cluster_id, - self.plugin_name, options) - @deferred_decorator([make_snapshot_if_step_fail]) @action def configure_dvs_plugin(self): @@ -76,7 +55,8 @@ class VMwareActions(object): 'dvswitch_name'] } self.fuel_web.update_plugin_settings( - self.cluster_id, self.plugin_name, self.plugin_version, options) + self.cluster_id, self.plugin_name, self.plugin_version, options, + enabled=True) @deferred_decorator([make_snapshot_if_step_fail]) @action diff --git a/system_test/tests/vcenter/test_vcenter_dvs.py b/system_test/tests/vcenter/test_vcenter_dvs.py index 1ae5636d4..b922ae445 100644 --- a/system_test/tests/vcenter/test_vcenter_dvs.py +++ b/system_test/tests/vcenter/test_vcenter_dvs.py @@ -48,7 +48,6 @@ class DeployWithVMware(ActionTest, BaseActions, VMwareActions): actions_order = [ 'prepare_env_with_plugin', 'create_env', - 'enable_plugin', 'configure_dvs_plugin', 'add_nodes', 'configure_vcenter', @@ -87,7 +86,6 @@ class ScaleWithVMware(ActionTest, BaseActions, VMwareActions): actions_order = [ 'prepare_env_with_plugin', 'create_env', - 'enable_plugin', 'configure_dvs_plugin', 'add_nodes', 'configure_vcenter', @@ -131,7 +129,6 @@ class ScaleWithVMwareSkipSrvCheck(ActionTest, BaseActions, VMwareActions): actions_order = [ 'prepare_env_with_plugin', 'create_env', - 'enable_plugin', 'configure_dvs_plugin', 'add_nodes', 'configure_vcenter', @@ -171,7 +168,6 @@ class DeployWithCustomHostname(ActionTest, BaseActions, VMwareActions): actions_order = [ 'prepare_env_with_plugin', 'create_env', - 'enable_plugin', 'configure_dvs_plugin', 'add_nodes', 'set_custom_node_names', @@ -209,7 +205,6 @@ class CheckNovaConfig(ActionTest, BaseActions, VMwareActions): actions_order = [ 'prepare_env_with_plugin', 'create_env', - 'enable_plugin', 'configure_dvs_plugin', 'add_nodes', 'configure_vcenter', @@ -247,7 +242,6 @@ class CheckNovaSrv(ActionTest, BaseActions, VMwareActions): actions_order = [ 'prepare_env_with_plugin', 'create_env', - 'enable_plugin', 'configure_dvs_plugin', 'add_nodes', 'configure_vcenter', @@ -285,7 +279,6 @@ class CheckCinderVmwareSrv(ActionTest, BaseActions, VMwareActions): actions_order = [ 'prepare_env_with_plugin', 'create_env', - 'enable_plugin', 'configure_dvs_plugin', 'add_nodes', 'configure_vcenter', @@ -322,7 +315,6 @@ class DeployNeutronPublicNet(ActionTest, BaseActions, VMwareActions): actions_order = [ 'prepare_env_with_plugin', 'create_env', - 'enable_plugin', 'configure_dvs_plugin', 'add_nodes', 'configure_vcenter',