Revision 8ef418bb lib/hypervisor/hv_lxc.py
b/lib/hypervisor/hv_lxc.py | ||
---|---|---|
449 | 449 |
return self._FormatVerifyResults(msgs) |
450 | 450 |
|
451 | 451 |
@classmethod |
452 |
def PowercycleNode(cls): |
|
452 |
def PowercycleNode(cls, hvparams=None):
|
|
453 | 453 |
"""LXC powercycle, just a wrapper over Linux powercycle. |
454 | 454 |
|
455 |
@type hvparams: dict of strings |
|
456 |
@param hvparams: hypervisor params to be used on this node |
|
457 |
|
|
455 | 458 |
""" |
456 | 459 |
cls.LinuxPowercycle() |
457 | 460 |
|
Also available in: Unified diff