summaryrefslogtreecommitdiff
path: root/ironic/conf/redfish.py
diff options
context:
space:
mode:
authorIlya Etingof <etingof@gmail.com>2018-11-21 09:37:34 +0100
committerIlya Etingof <etingof@gmail.com>2019-08-14 14:19:03 +0200
commit9fab96fc3748dcdefb3a57bf40b8c9feb4a1981b (patch)
tree15a8a2a67e71e877e41cc32cad4158cb10abf290 /ironic/conf/redfish.py
parent33acfa2d1b6b73e45b457e2664b8d808427bcb49 (diff)
downloadironic-9fab96fc3748dcdefb3a57bf40b8c9feb4a1981b.tar.gz
Add Redfish Virtual Media Boot support
This patch introduces standard Redfish virtual media boot support to ironic. The patch implements basic boot interface features along with devstack plugin support for virtual media boot. Functionally, redfish boot interface supports the same set of features as PXE. Unlike other virtual media boot implementations (e.g. iLo), this patch does not require user-built deploy/rescue/boot ISO images for virtual media boot. Instead, ironic will build necessary images out of common kernel/ramdisk pair (though user needs to provide ESP image). Story: 1526753 Task: 10389 Co-Authored-By: Shivanand Tendulker <stendulker@gmail.com> Change-Id: I0db0a64c5ccf260f5a0695dbe994af1e11f71517
Diffstat (limited to 'ironic/conf/redfish.py')
-rw-r--r--ironic/conf/redfish.py13
1 files changed, 12 insertions, 1 deletions
diff --git a/ironic/conf/redfish.py b/ironic/conf/redfish.py
index a49f2e5d1..20cd3af5e 100644
--- a/ironic/conf/redfish.py
+++ b/ironic/conf/redfish.py
@@ -43,7 +43,18 @@ opts = [
('auto', _('Try HTTP session authentication first, '
'fall back to basic HTTP authentication'))],
default='auto',
- help=_('Redfish HTTP client authentication method.'))
+ help=_('Redfish HTTP client authentication method.')),
+ cfg.StrOpt('swift_container',
+ default='ironic_redfish_container',
+ help=_('The Swift container to store Redfish driver data.')),
+ cfg.IntOpt('swift_object_expiry_timeout',
+ default=900,
+ help=_('Amount of time in seconds for Swift objects to '
+ 'auto-expire.')),
+ cfg.StrOpt('kernel_append_params',
+ default='nofb nomodeset vga=normal',
+ help=_('Additional kernel parameters for baremetal '
+ 'Virtual Media boot.')),
]