Update driver names and base class.
Also, add (task, node) to the base and fake driver method parameters. Prepares the way for adding TaskManagers in a following patch. Change-Id: I846227b2416445a539f9ac51d86b33ea49d4abcb
This commit is contained in:
parent
250db43549
commit
820bfc0f32
|
@ -83,12 +83,12 @@ def _get_console_pid(node_id):
|
|||
return None
|
||||
|
||||
|
||||
class IPMIPowerDriver(base.BMCDriver):
|
||||
class IPMIPowerDriver(base.ControlDriver):
|
||||
"""Generic IPMI Power Driver
|
||||
|
||||
This BMCDriver class provides mechanism for controlling the power state
|
||||
of physical hardware via IPMI calls. It also provides console access
|
||||
for some supported hardware.
|
||||
This ControlDriver class provides mechanism for controlling the power state
|
||||
of physical hardware via IPMI calls. It also provides console access for
|
||||
some supported hardware.
|
||||
"""
|
||||
|
||||
def __init__(self, node, **kwargs):
|
||||
|
|
|
@ -32,6 +32,15 @@ console_scripts =
|
|||
ironic-dbsync = ironic.cmd.dbsync:main
|
||||
ironic-manager = ironic.cmd.manager:main
|
||||
|
||||
ironic.controllers =
|
||||
fake = ironic.drivers.fake:FakeControlDriver
|
||||
ipmi = ironic.drivers.ipmi:IPMIPowerDriver
|
||||
# vpd = ironic.drivers.vpd:VirtualPowerDriver
|
||||
|
||||
ironic.deployers =
|
||||
fake = ironic.drivers.fake:FakeDeployDriver
|
||||
# pxe = ironic.drivers.pxe.PXEDeployDriver
|
||||
|
||||
[build_sphinx]
|
||||
all_files = 1
|
||||
build-dir = doc/build
|
||||
|
|
Loading…
Reference in New Issue