Merge "Missing 'interface' in Clean Step"

This commit is contained in:
Zuul
2025-03-20 19:27:40 +00:00
committed by Gerrit Code Review
2 changed files with 2 additions and 0 deletions

View File

@@ -73,6 +73,7 @@ class ExampleBusinessLogicHardwareManager(hardware.HardwareManager):
return [{
'step': 'companyx_verify_device_lifecycle',
'priority': 472,
'interface': 'deploy',
# If you need Ironic to coordinate a reboot after this step
# runs, but before continuing cleaning, this should be true.
'reboot_requested': False,

View File

@@ -120,6 +120,7 @@ class ExampleDeviceHardwareManager(hardware.HardwareManager):
return [{
'step': 'upgrade_example_device_model1234_firmware',
'priority': 37,
'interface': 'deploy',
# If you need Ironic to coordinate a reboot after this step
# runs, but before continuing cleaning, this should be true.
'reboot_requested': True,