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.

Project Source

This Page