Revision 8ef418bb lib/hypervisor/hv_fake.py
b/lib/hypervisor/hv_fake.py | ||
---|---|---|
260 | 260 |
return "The required directory '%s' does not exist" % self._ROOT_DIR |
261 | 261 |
|
262 | 262 |
@classmethod |
263 |
def PowercycleNode(cls): |
|
263 |
def PowercycleNode(cls, hvparams=None):
|
|
264 | 264 |
"""Fake hypervisor powercycle, just a wrapper over Linux powercycle. |
265 | 265 |
|
266 |
@type hvparams: dict of strings |
|
267 |
@param hvparams: hypervisor params to be used on this node |
|
268 |
|
|
266 | 269 |
""" |
267 | 270 |
cls.LinuxPowercycle() |
268 | 271 |
|
Also available in: Unified diff