Skip to content

Commit aa65b8c

Browse files
committed
Missing 'interface' in Clean Step
Add 'interface': 'deploy' to the clean step configuration to avoid the error Change-Id: Ie2297fc3375f6e0a389fa19789506a72fcf967e7
1 parent 91f5203 commit aa65b8c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

examples/business-logic/example_business_logic.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ def get_clean_steps(self, node, ports):
7373
return [{
7474
'step': 'companyx_verify_device_lifecycle',
7575
'priority': 472,
76+
'interface': 'deploy',
7677
# If you need Ironic to coordinate a reboot after this step
7778
# runs, but before continuing cleaning, this should be true.
7879
'reboot_requested': False,

examples/vendor-device/example_device.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ def get_clean_steps(self, node, ports):
120120
return [{
121121
'step': 'upgrade_example_device_model1234_firmware',
122122
'priority': 37,
123+
'interface': 'deploy',
123124
# If you need Ironic to coordinate a reboot after this step
124125
# runs, but before continuing cleaning, this should be true.
125126
'reboot_requested': True,

0 commit comments

Comments
 (0)