Revision 8ef418bb lib/hypervisor/hv_kvm.py
b/lib/hypervisor/hv_kvm.py | ||
---|---|---|
2199 | 2199 |
machine_version) |
2200 | 2200 |
|
2201 | 2201 |
@classmethod |
2202 |
def PowercycleNode(cls): |
|
2202 |
def PowercycleNode(cls, hvparams=None):
|
|
2203 | 2203 |
"""KVM powercycle, just a wrapper over Linux powercycle. |
2204 | 2204 |
|
2205 |
@type hvparams: dict of strings |
|
2206 |
@param hvparams: hypervisor params to be used on this node |
|
2207 |
|
|
2205 | 2208 |
""" |
2206 | 2209 |
cls.LinuxPowercycle() |
Also available in: Unified diff