ironic.drivers.modules.redfish.vendor module¶
Vendor Interface for Redfish drivers and its supporting methods.
-
class
ironic.drivers.modules.redfish.vendor.
RedfishVendorPassthru
(*args, **kwargs)[source]¶ Bases:
ironic.drivers.base.VendorInterface
Vendor-specific interfaces for Redfish drivers.
-
eject_vmedia
(task, **kwargs)[source]¶ Eject a virtual media device.
- Parameters
task – A TaskManager object.
kwargs – The arguments sent with vendor passthru. The optional kwargs are:: ‘boot_device’: the boot device to eject
-
get_properties
()[source]¶ Return the properties of the interface.
- Returns
dictionary of <property name>:<property description> entries.
-
validate
(task, method, **kwargs)[source]¶ Validate vendor-specific actions.
Checks if a valid vendor passthru method was passed and validates the parameters for the vendor passthru method.
- Parameters
task – a TaskManager instance containing the node to act on.
method – method to be validated.
kwargs – kwargs containing the vendor passthru method’s parameters.
- Raises
InvalidParameterValue, if any of the parameters have invalid value.
-