Revision 8ef418bb lib/hypervisor/hv_chroot.py
b/lib/hypervisor/hv_chroot.py | ||
---|---|---|
301 | 301 |
return "The required directory '%s' does not exist" % self._ROOT_DIR |
302 | 302 |
|
303 | 303 |
@classmethod |
304 |
def PowercycleNode(cls): |
|
304 |
def PowercycleNode(cls, hvparams=None):
|
|
305 | 305 |
"""Chroot powercycle, just a wrapper over Linux powercycle. |
306 | 306 |
|
307 |
@type hvparams: dict of strings |
|
308 |
@param hvparams: hypervisor params to be used on this node |
|
309 |
|
|
307 | 310 |
""" |
308 | 311 |
cls.LinuxPowercycle() |
309 | 312 |
|
Also available in: Unified diff