The ironic.drivers.modules.fake
Module¶
Fake driver interfaces used in testing.
This is also an example of some kinds of things which can be done within drivers. For instance, the MultipleVendorInterface class demonstrates how to load more than one interface and wrap them in some logic to route incoming vendor_passthru requests appropriately. This can be useful eg. when mixing functionality between a power interface and a deploy interface, when both rely on separate vendor_passthru methods.
-
class
ironic.drivers.modules.fake.
FakeBoot
[source]¶ Bases:
ironic.drivers.base.BootInterface
Example implementation of a simple boot interface.
-
class
ironic.drivers.modules.fake.
FakeConsole
[source]¶ Bases:
ironic.drivers.base.ConsoleInterface
Example implementation of a simple console interface.
-
class
ironic.drivers.modules.fake.
FakeDeploy
[source]¶ Bases:
ironic.drivers.base.DeployInterface
Class for a fake deployment driver.
Example imlementation of a deploy interface that uses a separate power interface.
-
class
ironic.drivers.modules.fake.
FakeInspect
[source]¶ Bases:
ironic.drivers.base.InspectInterface
Example implementation of a simple inspect interface.
-
class
ironic.drivers.modules.fake.
FakeManagement
[source]¶ Bases:
ironic.drivers.base.ManagementInterface
Example implementation of a simple management interface.
-
class
ironic.drivers.modules.fake.
FakePower
[source]¶ Bases:
ironic.drivers.base.PowerInterface
Example implementation of a simple power interface.
-
class
ironic.drivers.modules.fake.
FakeRAID
[source]¶ Bases:
ironic.drivers.base.RAIDInterface
Example implementation of simple RAIDInterface.
-
class
ironic.drivers.modules.fake.
FakeSoftPower
[source]¶ Bases:
ironic.drivers.modules.fake.FakePower
Example implementation of a simple soft power operations.
-
class
ironic.drivers.modules.fake.
FakeStorage
[source]¶ Bases:
ironic.drivers.base.StorageInterface
Example implementation of simple storage Interface.
-
class
ironic.drivers.modules.fake.
FakeVendorA
[source]¶ Bases:
ironic.drivers.base.VendorInterface
Example implementation of a vendor passthru interface.
-
class
ironic.drivers.modules.fake.
FakeVendorB
[source]¶ Bases:
ironic.drivers.base.VendorInterface
Example implementation of a secondary vendor passthru.