diff options
author | Dmitry Tantsur <dtantsur@protonmail.com> | 2019-09-10 15:51:03 +0200 |
---|---|---|
committer | Dmitry Tantsur <dtantsur@protonmail.com> | 2019-11-21 13:31:47 +0100 |
commit | c5dfa1bd9fe39eedbb60be537b5b3d83b1cde15b (patch) | |
tree | 18928746d34e5b343db5dd21e2ea4cadacb4dcb5 /ironic/conf/inspector.py | |
parent | 6582471c0559bcfd6940083090cae6f02e621f4a (diff) | |
download | ironic-c5dfa1bd9fe39eedbb60be537b5b3d83b1cde15b.tar.gz |
Foundation for boot/network management for in-band inspection
This change the required base driver interface additions and inspector
interface changes to support in-band inspection driven by ironic.
Change-Id: Ibf9a80d0f72d5f128bf46ddca4cb9762c9a8191b
Story: #1528920
Task: #10404
Diffstat (limited to 'ironic/conf/inspector.py')
-rw-r--r-- | ironic/conf/inspector.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ironic/conf/inspector.py b/ironic/conf/inspector.py index da63687b4..290d4ed41 100644 --- a/ironic/conf/inspector.py +++ b/ironic/conf/inspector.py @@ -21,6 +21,23 @@ opts = [ cfg.IntOpt('status_check_period', default=60, help=_('period (in seconds) to check status of nodes ' 'on inspection')), + cfg.StrOpt('extra_kernel_params', default='', + help=_('extra kernel parameters to pass to the inspection ' + 'ramdisk when boot is managed by ironic (not ' + 'ironic-inspector). Pairs key=value separated by ' + 'spaces.')), + cfg.BoolOpt('power_off', default=True, + help=_('whether to power off a node after inspection ' + 'finishes')), + cfg.StrOpt('callback_endpoint_override', + help=_('endpoint to use as a callback for posting back ' + 'introspection data when boot is managed by ironic. ' + 'Standard keystoneauth options are used by default.')), + cfg.BoolOpt('require_managed_boot', default=False, + help=_('require that the in-band inspection boot is fully ' + 'managed by ironic. Set this to True if your ' + 'installation of ironic-inspector does not have a ' + 'separate PXE boot environment.')), ] |