summaryrefslogtreecommitdiff
path: root/ironic/conf/redfish.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/conf/redfish.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/conf/redfish.py')
-rw-r--r--ironic/conf/redfish.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/ironic/conf/redfish.py b/ironic/conf/redfish.py
index 7c3eef31a..ad522865e 100644
--- a/ironic/conf/redfish.py
+++ b/ironic/conf/redfish.py
@@ -80,6 +80,16 @@ opts = [
'or as the octal number ``0o644`` in Python. '
'This setting must be set to the octal number '
'representation, meaning starting with ``0o``.')),
+ cfg.IntOpt('firmware_update_status_interval',
+ min=0,
+ default=60,
+ help=_('Number of seconds to wait between checking for '
+ 'completed firmware update tasks')),
+ cfg.IntOpt('firmware_update_fail_interval',
+ min=0,
+ default=60,
+ help=_('Number of seconds to wait between checking for '
+ 'failed firmware update tasks')),
]