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