The ironicclient.v1.driver Module

class ironicclient.v1.driver.Driver(manager, info, loaded=False)[source]

Bases: ironicclient.common.base.Resource

class ironicclient.v1.driver.DriverManager(api)[source]

Bases: ironicclient.common.base.Manager

delete(driver_name)[source]
get(driver_name)[source]
get_vendor_passthru_methods(driver_name)[source]
list()[source]
properties(driver_name)[source]
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.
resource_class

alias of Driver

update(driver_name, patch, http_method='PATCH')[source]
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.