The freezer_dr.evacuators.common.driver Module

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

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.