The ironic.drivers.modules.noop
Module¶
Dummy interface implementations for use as defaults with optional interfaces.
Note that unlike fake implementatios, these do not pass validation and raise exceptions for user-accessible actions.
-
class
ironic.drivers.modules.noop.
FailMixin
[source]¶ Bases:
object
Mixin to add to an interface to make it fail validation.
-
validate
(iface, task, *args, **kwargs)¶
-
-
class
ironic.drivers.modules.noop.
NoConsole
[source]¶ Bases:
ironic.drivers.modules.noop.FailMixin
,ironic.drivers.base.ConsoleInterface
Console interface implementation that raises errors on all requests.
-
get_console
(iface, task, *args, **kwargs)¶
-
start_console
(iface, task, *args, **kwargs)¶
-
stop_console
(iface, task, *args, **kwargs)¶
-
-
class
ironic.drivers.modules.noop.
NoInspect
[source]¶ Bases:
ironic.drivers.modules.noop.FailMixin
,ironic.drivers.base.InspectInterface
Inspect interface implementation that raises errors on all requests.
-
inspect_hardware
(iface, task, *args, **kwargs)¶
-
-
class
ironic.drivers.modules.noop.
NoRAID
[source]¶ Bases:
ironic.drivers.modules.noop.FailMixin
,ironic.drivers.base.RAIDInterface
RAID interface implementation that raises errors on all requests.
-
create_configuration
(iface, task, *args, **kwargs)¶
-
delete_configuration
(iface, task, *args, **kwargs)¶
-
-
class
ironic.drivers.modules.noop.
NoRescue
[source]¶ Bases:
ironic.drivers.modules.noop.FailMixin
,ironic.drivers.base.RescueInterface
Rescue interface implementation that raises errors on all requests.
-
rescue
(iface, task, *args, **kwargs)¶
-
unrescue
(iface, task, *args, **kwargs)¶
-
-
class
ironic.drivers.modules.noop.
NoVendor
[source]¶ Bases:
ironic.drivers.modules.noop.FailMixin
,ironic.drivers.base.VendorInterface
Vendor interface implementation that raises errors on all requests.