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.
ironic.drivers.modules.fake.
FakeBoot
[source]¶Bases: ironic.drivers.base.BootInterface
Example implementation of a simple boot interface.
ironic.drivers.modules.fake.
FakeConsole
[source]¶Bases: ironic.drivers.base.ConsoleInterface
Example implementation of a simple console interface.
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.
ironic.drivers.modules.fake.
FakeInspect
[source]¶Bases: ironic.drivers.base.InspectInterface
Example implementation of a simple inspect interface.
ironic.drivers.modules.fake.
FakeManagement
[source]¶Bases: ironic.drivers.base.ManagementInterface
Example implementation of a simple management interface.
ironic.drivers.modules.fake.
FakePower
[source]¶Bases: ironic.drivers.base.PowerInterface
Example implementation of a simple power interface.
ironic.drivers.modules.fake.
FakeRAID
[source]¶Bases: ironic.drivers.base.RAIDInterface
Example implementation of simple RAIDInterface.
ironic.drivers.modules.fake.
FakeSoftPower
[source]¶Bases: ironic.drivers.modules.fake.FakePower
Example implementation of a simple soft power operations.
ironic.drivers.modules.fake.
FakeStorage
[source]¶Bases: ironic.drivers.base.StorageInterface
Example implementation of simple storage Interface.
ironic.drivers.modules.fake.
FakeVendorA
[source]¶Bases: ironic.drivers.base.VendorInterface
Example implementation of a vendor passthru interface.
ironic.drivers.modules.fake.
FakeVendorB
[source]¶Bases: ironic.drivers.base.VendorInterface
Example implementation of a secondary vendor passthru.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.