The freezer_dr.fencers.common.driver Module

Abstract fencer

class freezer_dr.fencers.common.driver.FencerBaseDriver(nodes, fencer_conf)[source]

Bases: object

Abstract class that all fencer plugins.

Should be implemented to have a unified interface and as many plugins as needed.

fence()[source]

This function to be implemented by each driver. Each driver will implement its own fencing logic and the manager will just load it and call the fence function

get_info()[source]

Get Driver information.

Returns:dict of name, version, author, …