ironicclient.v1.driver module¶
-
class
ironicclient.v1.driver.
DriverManager
(api)[source]¶ Bases:
ironicclient.common.base.Manager
-
list
(driver_type=None, detail=None)[source]¶ Retrieve a list of drivers.
- Parameters
driver_type – Optional, string to filter the drivers by type. Value should be ‘classic’ or ‘dynamic’.
detail – Optional, flag whether to return detailed information about drivers. Default is None means not to send the arg to the server due to older versions of the server cannot handle filtering on detail.
- Returns
A list of drivers.
-
raid_logical_disk_properties
(driver_name)[source]¶ Returns the RAID logical disk properties for the driver.
- Parameters
driver_name – Name of the driver.
- Returns
A dictionary containing the properties that can be mentioned for RAID logical disks and a textual description for them. It returns an empty dictionary on error.
-
vendor_passthru
(driver_name, method, args=None, http_method=None)[source]¶ Issue requests for vendor-specific actions on a given driver.
- Parameters
driver_name – The name of the driver.
method – Name of the vendor method.
args – Optional. The arguments to be passed to the method.
http_method – The HTTP method to use on the request. Defaults to POST.
-