summaryrefslogtreecommitdiff
path: root/ironic/conf/redfish.py
diff options
context:
space:
mode:
authorDmitry Tantsur <dtantsur@protonmail.com>2020-05-06 15:21:05 +0200
committerDmitry Tantsur <dtantsur@protonmail.com>2020-05-06 16:22:51 +0200
commit50c81cdbc90c254957b32b854223845dc7a4adac (patch)
tree216ae4fa8a89798aab3c0072c22bb8925aa6daba /ironic/conf/redfish.py
parentb889daccc232c56476ce2bb1c5190a276821b07b (diff)
downloadironic-50c81cdbc90c254957b32b854223845dc7a4adac.tar.gz
Mark more configuration options as reloadable
I have only checked the main configuration options and two generic drivers, leaving everything else untouched. Added are options that is possible and makes sense to reload. Change-Id: I74c629bcaf50da7f829f0ec8c526d936b9d40b36
Diffstat (limited to 'ironic/conf/redfish.py')
-rw-r--r--ironic/conf/redfish.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ironic/conf/redfish.py b/ironic/conf/redfish.py
index af1b06451..7310b5a51 100644
--- a/ironic/conf/redfish.py
+++ b/ironic/conf/redfish.py
@@ -46,6 +46,7 @@ opts = [
help=_('Redfish HTTP client authentication method.')),
cfg.BoolOpt('use_swift',
default=True,
+ mutable=True,
help=_('Upload generated ISO images for virtual media boot to '
'Swift, then pass temporary URL to BMC for booting the '
'node. If set to false, images are placed on the '
@@ -53,15 +54,18 @@ opts = [
'local HTTP server.')),
cfg.StrOpt('swift_container',
default='ironic_redfish_container',
+ mutable=True,
help=_('The Swift container to store Redfish driver data. '
'Applies only when `use_swift` is enabled.')),
cfg.IntOpt('swift_object_expiry_timeout',
default=900,
+ mutable=True,
help=_('Amount of time in seconds for Swift objects to '
'auto-expire. Applies only when `use_swift` is '
'enabled.')),
cfg.StrOpt('kernel_append_params',
default='nofb nomodeset vga=normal',
+ mutable=True,
help=_('Additional kernel parameters to pass down to the '
'instance kernel. These parameters can be consumed by '
'the kernel or by the applications by reading '