Revision f5118ade lib/hypervisor/hv_kvm.py
b/lib/hypervisor/hv_kvm.py | ||
---|---|---|
721 | 721 |
hvparams[constants.HV_NIC_TYPE] == constants.HT_NIC_PARAVIRTUAL): |
722 | 722 |
raise errors.HypervisorError("Cannot boot from a paravirtual NIC. Please" |
723 | 723 |
" change the NIC type.") |
724 |
|
|
725 |
@classmethod |
|
726 |
def PowercycleNode(cls): |
|
727 |
"""KVM powercycle, just a wrapper over Linux powercycle. |
|
728 |
|
|
729 |
""" |
|
730 |
cls.LinuxPowercycle() |
Also available in: Unified diff