class documentation

class NodeMaintenance(object):

View In Hierarchy

Talks to confd daemons and possible shutdown instances/drbd devices.

Class Method DoMaintenance Maintain the instance list.
Static Method GetRunningInstances Compute list of hypervisor/running instances.
Static Method GetUsedDRBDs Get list of used DRBD minors.
Static Method ShouldRun Checks whether node maintenance should run.
Static Method ShutdownDRBD Shutdown active DRBD devices.
Static Method ShutdownInstances Shutdown running instances.
Method __init__ Undocumented
Method Exec Check node status versus cluster desired state.
Instance Variable confd_client Undocumented
Instance Variable filter_cb Undocumented
Instance Variable store_cb Undocumented
@classmethod
def DoMaintenance(cls, role):

Maintain the instance list.

@staticmethod
def GetRunningInstances():

Compute list of hypervisor/running instances.

@staticmethod
def GetUsedDRBDs():

Get list of used DRBD minors.

@staticmethod
def ShouldRun():

Checks whether node maintenance should run.

@staticmethod
def ShutdownDRBD(drbd_running):

Shutdown active DRBD devices.

@staticmethod
def ShutdownInstances(inst_running):

Shutdown running instances.

def __init__(self):

Undocumented

def Exec(self):

Check node status versus cluster desired state.

confd_client =

Undocumented

filter_cb =

Undocumented

store_cb =

Undocumented