Revision f5118ade daemons/ganeti-noded
b/daemons/ganeti-noded | ||
---|---|---|
552 | 552 |
return backend.DemoteFromMC() |
553 | 553 |
|
554 | 554 |
|
555 |
@staticmethod |
|
556 |
def perspective_node_powercycle(params): |
|
557 |
"""Tries to powercycle the nod. |
|
558 |
|
|
559 |
""" |
|
560 |
hypervisor_type = params[0] |
|
561 |
return backend.PowercycleNode(hypervisor_type) |
|
562 |
|
|
563 |
|
|
555 | 564 |
# cluster -------------------------- |
556 | 565 |
|
557 | 566 |
@staticmethod |
Also available in: Unified diff