summaryrefslogtreecommitdiff
path: root/ironic/tests/unit/drivers/third_party_driver_mocks.py
diff options
context:
space:
mode:
authorChristopher Dearborn <Christopher.Dearborn@dell.com>2020-09-02 22:11:04 -0400
committerChristopher Dearborn <Christopher.Dearborn@dell.com>2020-09-28 15:12:53 -0400
commitf0e0ef634e55f46eda4942e9665d35c70d305365 (patch)
tree833c29ad82aef6b60f93596fcfb72e2029e09ad8 /ironic/tests/unit/drivers/third_party_driver_mocks.py
parente32e5f27a4ce3b09e45be80ee4a222f3a8e43732 (diff)
downloadironic-f0e0ef634e55f46eda4942e9665d35c70d305365.tar.gz
Redfish driver firmware update
This patch adds support for performing firmware updates using the redfish and idrac hardware types. Co-Authored-By: Aija Jaunteva <aija.jaunteva@dell.com> Change-Id: Ie8f3f68c4a771121ec0ee13ce9349c7cd2b1e567 Depends-On: https://review.opendev.org/#/c/745950 Story: 2008140 Task: 40872
Diffstat (limited to 'ironic/tests/unit/drivers/third_party_driver_mocks.py')
-rw-r--r--ironic/tests/unit/drivers/third_party_driver_mocks.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ironic/tests/unit/drivers/third_party_driver_mocks.py b/ironic/tests/unit/drivers/third_party_driver_mocks.py
index 33ab08022..df1a2bc2e 100644
--- a/ironic/tests/unit/drivers/third_party_driver_mocks.py
+++ b/ironic/tests/unit/drivers/third_party_driver_mocks.py
@@ -218,6 +218,9 @@ if not sushy:
VIRTUAL_MEDIA_CD='cd',
VIRTUAL_MEDIA_FLOPPY='floppy',
APPLY_TIME_ON_RESET='on reset',
+ TASK_STATE_COMPLETED='completed',
+ HEALTH_OK='ok',
+ HEALTH_WARNING='warning'
)
sys.modules['sushy'] = sushy