Vendor Interface for Redfish drivers and its supporting methods.
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.
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.
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.
task – a TaskManager instance containing the node to act on.
method – method to be validated.
kwargs – kwargs containing the vendor passthru method’s parameters.
InvalidParameterValue, if any of the parameters have invalid value.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.