The ironic.drivers.utils Module

The ironic.drivers.utils Module

class ironic.drivers.utils.MixinVendorInterface(mapping, driver_passthru_mapping=None)[source]

Bases: ironic.drivers.base.VendorInterface

Wrapper around multiple VendorInterfaces.

get_properties()[source]

Return the properties from all the VendorInterfaces.

Returns:a dictionary of <property_name>:<property_description> entries.
validate(task, method, **kwargs)[source]

Call validate on the appropriate interface only.

Raises:UnsupportedDriverExtension if ‘method’ can not be mapped to the supported interfaces.
Raises:InvalidParameterValue if ‘method’ is invalid.
Raises:MissingParameterValue if missing ‘method’ or parameters in kwargs.
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.