summaryrefslogtreecommitdiff
path: root/ironic/tests/unit/drivers/third_party_driver_mock_specs.py
diff options
context:
space:
mode:
authorRachit7194 <kapadiarachit007@gmail.com>2019-08-28 11:57:34 -0400
committerRachit7194 <kapadiarachit007@gmail.com>2019-10-16 12:29:56 -0400
commit8e3f682e29830a9a5a4795b5d775564a21f93733 (patch)
tree7d82a8e12501230e09924b752885733dd65167fb /ironic/tests/unit/drivers/third_party_driver_mock_specs.py
parenta2ae57c457962e6fa5e590c0de19f4d457637881 (diff)
downloadironic-8e3f682e29830a9a5a4795b5d775564a21f93733.tar.gz
DRAC: Drives conversion from JBOD to RAID
Added physical drives conversion from JBOD to RAID mode before RAID create_configuration cleaning step called in iDRAC driver. Change-Id: Ie6d1a9314d1543b73889f6d419541e75b7e06c89 Story: #2006479 Task: #36422
Diffstat (limited to 'ironic/tests/unit/drivers/third_party_driver_mock_specs.py')
-rw-r--r--ironic/tests/unit/drivers/third_party_driver_mock_specs.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/ironic/tests/unit/drivers/third_party_driver_mock_specs.py b/ironic/tests/unit/drivers/third_party_driver_mock_specs.py
index a89573094..6699c74ff 100644
--- a/ironic/tests/unit/drivers/third_party_driver_mock_specs.py
+++ b/ironic/tests/unit/drivers/third_party_driver_mock_specs.py
@@ -31,7 +31,8 @@ DRACCLIENT_CONSTANTS_MOD_SPEC = (
'POWER_OFF',
'POWER_ON',
'REBOOT',
- 'RebootRequired'
+ 'RebootRequired',
+ 'RaidStatus'
)
DRACCLIENT_CONSTANTS_REBOOT_REQUIRED_MOD_SPEC = (
@@ -40,6 +41,10 @@ DRACCLIENT_CONSTANTS_REBOOT_REQUIRED_MOD_SPEC = (
'false'
)
+DRACCLIENT_CONSTANTS_RAID_STATUS_MOD_SPEC = (
+ 'jbod',
+ 'raid'
+)
# proliantutils
PROLIANTUTILS_SPEC = (