The freezer_dr.monitors.drivers.dummy.driver Module

class freezer_dr.monitors.drivers.dummy.driver.DummyDriver(backend_name, notifier)[source]

Bases: freezer_dr.monitors.common.driver.MonitorBaseDriver

A monitoring driver that returns a configured list of nodes as failed.

This can be useful for testing without actually shutting down the nodes. The nodes that should be reported as failing, can be configured in the monitoring section of the freezer_dr configuration file as follows: kwargs = nodes_down:hostname1;hostname2

analyze_nodes(nodes)[source]
get_data()[source]
get_info()[source]
get_metrics()[source]
is_alive()[source]
process_failed(nodes=None, wait=0)[source]