summaryrefslogtreecommitdiff
path: root/ironic/conf
diff options
context:
space:
mode:
authorJacob Anders <janders@redhat.com>2021-07-08 19:49:49 +1000
committerJacob Anders <janders@redhat.com>2021-09-30 20:46:17 +1000
commitb385d9ae5bda45d683e51d0140be7c0b2c1d6aca (patch)
tree814a338c13b667431596cc474006b3ae7ed8b98e /ironic/conf
parent62439d5633ced36f949b9c0bbf340f8b791613d6 (diff)
downloadironic-b385d9ae5bda45d683e51d0140be7c0b2c1d6aca.tar.gz
Add support for verify steps
This change adds support for verify steps in Ironic. Verify steps allow executing actions on transition from "verifying" to "managable" state and can perform actions such as cleaning BMC job queue or resetting the BMC on supported platforms. Verify steps are similar to deploy and clean steps, just simpler. Story: 2009025 Task: 42751 Change-Id: Iee27199a0315b8609e629bac272998c28274802b
Diffstat (limited to 'ironic/conf')
-rw-r--r--ironic/conf/conductor.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/ironic/conf/conductor.py b/ironic/conf/conductor.py
index 61d6b3247..a2d168fd0 100644
--- a/ironic/conf/conductor.py
+++ b/ironic/conf/conductor.py
@@ -334,6 +334,16 @@ opts = [
'node_history_max_entries setting as users of '
'this setting are anticipated to need to retain '
'history by policy.')),
+ cfg.MultiOpt('verify_step_priority_override',
+ item_type=types.Dict(),
+ default={},
+ mutable=True,
+ help=_('Priority to run automated verify steps '
+ 'provided in interface.step_name:priority format,'
+ 'e.g. management.clear_job_queue:123. The option can '
+ 'be specified multiple times to define priorities '
+ 'for multiple steps. If set to 0, this specific step '
+ 'will not run during cleaning. ')),
]