DRAC vendor-passthru interface
ironic.drivers.modules.drac.vendor_passthru.
DracVendorPassthru
(*args, **kwargs)[source]¶Bases: ironic.drivers.modules.drac.vendor_passthru.DracWSManVendorPassthru
Class alias of class DracWSManVendorPassthru.
This class provides ongoing support of the deprecated ‘idrac’ vendor passthru interface implementation entrypoint.
All bug fixes and new features should be implemented in its base class, DracWSManVendorPassthru. That makes them available to both the deprecated ‘idrac’ and new ‘idrac-wsman’ entrypoints. Such changes should not be made to this class.
ironic.drivers.modules.drac.vendor_passthru.
DracWSManVendorPassthru
(*args, **kwargs)[source]¶Bases: ironic.drivers.base.VendorInterface
Interface for DRAC specific methods.
abandon_bios_config
(task, **kwargs)[source]¶Abandon a BIOS configuration job.
This method is used to abandon a BIOS configuration previously submitted through set_bios_config().
task – a TaskManager instance containing the node to act on.
kwargs – not used.
DracOperationError on an error from python-dracclient.
commit_bios_config
(task, reboot=False, **kwargs)[source]¶Commit a BIOS configuration job.
This method is used to commit a BIOS configuration job. submitted through set_bios_config().
task – a TaskManager instance containing the node to act on.
reboot – indicates whether a reboot job should be automatically created with the config job.
kwargs – not used.
DracOperationError on an error from python-dracclient.
A dictionary containing the job_id
key with the id of the
newly created config job, and the reboot_required
key
indicating whether the node needs to be rebooted to start the
config job.
get_bios_config
(task, **kwargs)[source]¶Get the BIOS configuration.
This method is used to retrieve the BIOS settings from a node.
task – a TaskManager instance containing the node to act on.
kwargs – not used.
DracOperationError on an error from python-dracclient.
a dictionary containing BIOS settings.
list_unfinished_jobs
(task, **kwargs)[source]¶List unfinished config jobs of the node.
task – a TaskManager instance containing the node to act on.
kwargs – not used.
a dictionary containing the unfinished_jobs
key; this key
points to a list of dicts, with each dict representing a Job
object.
DracOperationError on an error from python-dracclient.
set_bios_config
(task, **kwargs)[source]¶Change BIOS settings.
This method is used to change the BIOS settings on a node.
task – a TaskManager instance containing the node to act on.
kwargs – a dictionary of {‘AttributeName’: ‘NewValue’}
DracOperationError on an error from python-dracclient.
A dictionary containing the is_commit_required
key with a
Boolean value indicating whether commit_bios_config() needs
to be called to make the changes, and the
is_reboot_required
key with a value of ‘true’ or ‘false’.
This key is used to indicate to the commit_bios_config() call
if a reboot should be performed.
validate
(task, **kwargs)[source]¶Validate the driver-specific info supplied.
This method validates whether the ‘driver_info’ property of the supplied node contains the required information for this driver to manage the power state of the node.
task – a TaskManager instance containing the node to act on.
kwargs – not used.
InvalidParameterValue if required driver_info attribute is missing or invalid on the node.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.