X-Git-Url: https://code.grnet.gr/git/ganeti-local/blobdiff_plain/398fd4f6560ee66eceaf6969c56f755f0b4f29c1..8ef418bb92:/lib/hypervisor/hv_base.py diff --git a/lib/hypervisor/hv_base.py b/lib/hypervisor/hv_base.py index 49ad03e..3ef7b6f 100644 --- a/lib/hypervisor/hv_base.py +++ b/lib/hypervisor/hv_base.py @@ -446,13 +446,16 @@ class BaseHypervisor(object): (name, errstr, value)) @classmethod - def PowercycleNode(cls): + def PowercycleNode(cls, hvparams=None): """Hard powercycle a node using hypervisor specific methods. This method should hard powercycle the node, using whatever methods the hypervisor provides. Note that this means that all instances running on the node must be stopped too. + @type hvparams: dict of strings + @param hvparams: hypervisor params to be used on this node + """ raise NotImplementedError