The ironicclient.v1.driver Module

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(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.

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.
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.