Bases: ironic.drivers.base.VendorInterface
Wrapper around multiple VendorInterfaces.
Return the properties from all the VendorInterfaces.
a dictionary of <property_name>:<property_description> entries.
Call validate on the appropriate interface only.
UnsupportedDriverExtension if ‘method’ can not be mapped to the supported interfaces.
InvalidParameterValue if ‘method’ is invalid.
MissingParameterValue if missing ‘method’ or parameters in kwargs.
Add ‘capability’ to node’s ‘capabilities’ property.
If ‘capability’ is already present, then a duplicate entry will be added.
task – Task object.
capability – Capability key.
value – Capability value.
Parse the capabilities string into a dictionary
capabilities – the capabilities of the node as a formatted string.
InvalidParameterValue if capabilities is not an string or has a malformed value
Collect and store the system logs from the IPA ramdisk.
Collect and store the system logs from the IPA ramdisk. This method makes a call to the IPA ramdisk to collect the logs and store it according to the configured storage backend.
node – A node object.
label – A string to label the log file such as a clean step name.
Ensure boot from correct device if persistent is True
If ipmi_force_boot_device is True and is_next_boot_persistent, set to boot from correct device, else unset is_next_boot_persistent field.
task – Node object.
driver_info – Node driver_info.
Set persistent boot device to driver_internal_info
If persistent is True set ‘persistent_boot_device’ field to the boot device and reset persistent to False, else set ‘is_next_boot_persistent’ to False.
task – Task object.
device – Boot device.
persistent – Whether next boot is persistent or not.
Get the agent ISO image.
Get the agent kernel/ramdisk as a dictionary.
Get a driver_info field with deprecated prefix.
Get the applicable kernel params.
The locations are checked in this order:
The node’s instance_info.
The node’s driver_info.
Configuration.
node – Node object.
default – Default value.
Returns ‘capability’ value from node’s ‘capabilities’ property.
node – Node object.
capability – Capability key.
Capability value. If capability is not present, then return “None”
Get all MAC addresses for the ports belonging to this task’s node.
task – a TaskManager instance containing the node to act on.
A list of MAC addresses in the format xx:xx:xx:xx:xx:xx.
Construct the log file name.
node – A node object.
label – A string to label the log file such as a clean step name.
The log file name.
Remove ‘-‘ and ‘:’ characters and lowercase the MAC string.
mac – MAC address to normalize.
Normalized MAC address string.
Store the ramdisk logs.
This method stores the ramdisk logs according to the configured storage backend.
node – A node object.
logs – A gzipped and base64 encoded string containing the logs archive.
label – A string to label the log file such as a clean step name.
OSError if the directory to save the logs cannot be created.
IOError when the logs can’t be saved to the local file system.
SwiftOperationError, if any operation with Swift fails.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.