The freezer_dr.notifiers.drivers.slack.slack Module

The freezer_dr.notifiers.drivers.slack.slack Module

class freezer_dr.notifiers.drivers.slack.slack.SlackNotifier(url, username, password, templates_dir, notify_from, admin_list=None, **kwargs)[source]

Bases: freezer_dr.notifiers.common.driver.NotifierBaseDriver

MAX_CACHE_SIZE = 100
RESPONSE_OK = 'ok'
notify(message)[source]

This method will be used in different places to notify admins about certain problem :param message: String message name :return:

notify_status(node, status)[source]

Notify the Host Evacuation status via slack Posts on the given url

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.