Revision 8ef418bb lib/hypervisor/hv_base.py
b/lib/hypervisor/hv_base.py | ||
---|---|---|
446 | 446 |
(name, errstr, value)) |
447 | 447 |
|
448 | 448 |
@classmethod |
449 |
def PowercycleNode(cls): |
|
449 |
def PowercycleNode(cls, hvparams=None):
|
|
450 | 450 |
"""Hard powercycle a node using hypervisor specific methods. |
451 | 451 |
|
452 | 452 |
This method should hard powercycle the node, using whatever |
453 | 453 |
methods the hypervisor provides. Note that this means that all |
454 | 454 |
instances running on the node must be stopped too. |
455 | 455 |
|
456 |
@type hvparams: dict of strings |
|
457 |
@param hvparams: hypervisor params to be used on this node |
|
458 |
|
|
456 | 459 |
""" |
457 | 460 |
raise NotImplementedError |
458 | 461 |
|
Also available in: Unified diff