Fake drivers used in testing.
-
class
ironic.drivers.fake.FakeAgentDriver[source]
Bases: ironic.drivers.base.BaseDriver
Example implementation of an AgentDriver.
-
classmethod
to_hardware_type()[source]
Return corresponding hardware type and hardware interfaces.
| Returns: | a tuple with two items:
- new driver field - the target hardware type
- dictionary containing interfaces to update, e.g.
{‘deploy’: ‘iscsi’, ‘power’: ‘ipmitool’}
|
-
class
ironic.drivers.fake.FakeCIMCDriver[source]
Bases: ironic.drivers.base.BaseDriver
Fake CIMC driver.
-
classmethod
to_hardware_type()[source]
Return corresponding hardware type and hardware interfaces.
| Returns: | a tuple with two items:
- new driver field - the target hardware type
- dictionary containing interfaces to update, e.g.
{‘deploy’: ‘iscsi’, ‘power’: ‘ipmitool’}
|
-
class
ironic.drivers.fake.FakeDracDriver[source]
Bases: ironic.drivers.base.BaseDriver
Fake Drac driver.
-
classmethod
to_hardware_type()[source]
Return corresponding hardware type and hardware interfaces.
| Returns: | a tuple with two items:
- new driver field - the target hardware type
- dictionary containing interfaces to update, e.g.
{‘deploy’: ‘iscsi’, ‘power’: ‘ipmitool’}
|
-
class
ironic.drivers.fake.FakeDriver[source]
Bases: ironic.drivers.base.BaseDriver
Example implementation of a Driver.
-
classmethod
to_hardware_type()[source]
Return corresponding hardware type and hardware interfaces.
| Returns: | a tuple with two items:
- new driver field - the target hardware type
- dictionary containing interfaces to update, e.g.
{‘deploy’: ‘iscsi’, ‘power’: ‘ipmitool’}
|
-
class
ironic.drivers.fake.FakeIPMIToolDriver[source]
Bases: ironic.drivers.base.BaseDriver
Example implementation of a Driver.
-
classmethod
to_hardware_type()[source]
Return corresponding hardware type and hardware interfaces.
| Returns: | a tuple with two items:
- new driver field - the target hardware type
- dictionary containing interfaces to update, e.g.
{‘deploy’: ‘iscsi’, ‘power’: ‘ipmitool’}
|
-
class
ironic.drivers.fake.FakeIPMIToolInspectorDriver[source]
Bases: ironic.drivers.base.BaseDriver
Fake Inspector driver.
-
classmethod
to_hardware_type()[source]
Return corresponding hardware type and hardware interfaces.
| Returns: | a tuple with two items:
- new driver field - the target hardware type
- dictionary containing interfaces to update, e.g.
{‘deploy’: ‘iscsi’, ‘power’: ‘ipmitool’}
|
-
class
ironic.drivers.fake.FakeIPMIToolSocatDriver[source]
Bases: ironic.drivers.base.BaseDriver
Example implementation of a Driver.
-
classmethod
to_hardware_type()[source]
Return corresponding hardware type and hardware interfaces.
| Returns: | a tuple with two items:
- new driver field - the target hardware type
- dictionary containing interfaces to update, e.g.
{‘deploy’: ‘iscsi’, ‘power’: ‘ipmitool’}
|
-
class
ironic.drivers.fake.FakeIRMCDriver[source]
Bases: ironic.drivers.base.BaseDriver
Fake iRMC driver.
-
classmethod
to_hardware_type()[source]
Return corresponding hardware type and hardware interfaces.
| Returns: | a tuple with two items:
- new driver field - the target hardware type
- dictionary containing interfaces to update, e.g.
{‘deploy’: ‘iscsi’, ‘power’: ‘ipmitool’}
|
-
class
ironic.drivers.fake.FakeIloDriver[source]
Bases: ironic.drivers.base.BaseDriver
Fake iLO driver, used in testing.
-
classmethod
to_hardware_type()[source]
Return corresponding hardware type and hardware interfaces.
| Returns: | a tuple with two items:
- new driver field - the target hardware type
- dictionary containing interfaces to update, e.g.
{‘deploy’: ‘iscsi’, ‘power’: ‘ipmitool’}
|
-
class
ironic.drivers.fake.FakeOneViewDriver[source]
Bases: ironic.drivers.base.BaseDriver
Fake OneView driver. For testing purposes.
-
classmethod
to_hardware_type()[source]
Return corresponding hardware type and hardware interfaces.
| Returns: | a tuple with two items:
- new driver field - the target hardware type
- dictionary containing interfaces to update, e.g.
{‘deploy’: ‘iscsi’, ‘power’: ‘ipmitool’}
|
-
class
ironic.drivers.fake.FakePXEDriver[source]
Bases: ironic.drivers.base.BaseDriver
Example implementation of a Driver.
-
classmethod
to_hardware_type()[source]
Return corresponding hardware type and hardware interfaces.
| Returns: | a tuple with two items:
- new driver field - the target hardware type
- dictionary containing interfaces to update, e.g.
{‘deploy’: ‘iscsi’, ‘power’: ‘ipmitool’}
|
-
class
ironic.drivers.fake.FakeSNMPDriver[source]
Bases: ironic.drivers.base.BaseDriver
Fake SNMP driver.
-
classmethod
to_hardware_type()[source]
Return corresponding hardware type and hardware interfaces.
| Returns: | a tuple with two items:
- new driver field - the target hardware type
- dictionary containing interfaces to update, e.g.
{‘deploy’: ‘iscsi’, ‘power’: ‘ipmitool’}
|
-
class
ironic.drivers.fake.FakeSoftPowerDriver[source]
Bases: ironic.drivers.fake.FakeDriver
Example implementation of a Driver.
-
class
ironic.drivers.fake.FakeUcsDriver[source]
Bases: ironic.drivers.base.BaseDriver
Fake UCS driver.
-
classmethod
to_hardware_type()[source]
Return corresponding hardware type and hardware interfaces.
| Returns: | a tuple with two items:
- new driver field - the target hardware type
- dictionary containing interfaces to update, e.g.
{‘deploy’: ‘iscsi’, ‘power’: ‘ipmitool’}
|