RFE: Add hook to skip all cleaning on specific block device to HardwareManager
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ironic-python-agent |
Triaged
|
Wishlist
|
Daniel King |
Bug Description
It may occur that a user with a custom hardware manager may wish to programmatically reject all cleaning on a specific block device, including the metadata, at runtime rather than by specifying it in properties.
Currently, there is already the expectation that a user may wish to skip devices based upon skip_block_devices, which is retrieved from HardwareManager
What I am proposing is some sort of hook, and abstract member of HardwareManager, which is called using dispatch_
An example of how this might be done is to extend the functionality already being used by HardwareManager
The result would be that new custom HardwareManager classes could add a method get_additional_
Changed in ironic-python-agent: | |
assignee: | nobody → Daniel King (dankingtech) |
RFE approved during Ironic meeting here: https:/ /meetings. opendev. org/irclogs/ %23openstack- ironic/ %23openstack- ironic. 2024-03- 25.log. html#t2024- 03-25T15: 42:33
Some notes:
- Please ensure a detailed release note comes with the patch
- Please create a new example hardware manager providing a usage example with comments