The freezer_dr.evacuators.common.driver Module

class freezer_dr.evacuators.common.driver.EvacuatorBaseDriver(nodes, evacuator_conf, fencer)[source]

Bases: object

Abstract class for all evacuation drivers should implement to have a unified interface

evacuate(enable_fencing=True)[source]

Evacuate the infected node. :return: Two lists; the first one will be the succeeded nodes and the other is the failed nodes

get_info()[source]

Get Driver Information :return: Dict contains driver information