Add erase_devices into get_clean_step method
This commit adds `erase_devices` as a clean step into `get_clean_step` method of the ProliantHardwareManager. Change-Id: I40847640958b7b89f69fc4f8137f05194e43958d Closes-Bug: #1657005
This commit is contained in:
@@ -41,6 +41,9 @@ class ProliantHardwareManager(hardware.GenericHardwareManager):
|
||||
'priority': 0},
|
||||
{'step': 'delete_configuration',
|
||||
'interface': 'raid',
|
||||
'priority': 0},
|
||||
{'step': 'erase_devices',
|
||||
'interface': 'deploy',
|
||||
'priority': 0}]
|
||||
|
||||
def evaluate_hardware_support(cls):
|
||||
|
||||
@@ -36,6 +36,9 @@ class ProliantHardwareManagerTestCase(testtools.TestCase):
|
||||
'priority': 0},
|
||||
{'step': 'delete_configuration',
|
||||
'interface': 'raid',
|
||||
'priority': 0},
|
||||
{'step': 'erase_devices',
|
||||
'interface': 'deploy',
|
||||
'priority': 0}],
|
||||
self.hardware_manager.get_clean_steps("", ""))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user