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:
Aparna
2017-01-17 05:35:48 +00:00
parent 615ac0eee2
commit 90e26dbff6
2 changed files with 6 additions and 0 deletions

View File

@@ -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):

View File

@@ -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("", ""))