The freezer_dr.notifiers.common.driver Module

The freezer_dr.notifiers.common.driver Module

class freezer_dr.notifiers.common.driver.NotifierBaseDriver(url, username, password, templates_dir, notify_from, admin_list=None, **kwargs)[source]

Bases: object

Used to notify admins/users at any stage that an error happened or process completed or something went wrong !

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]

Custom notification method. Can be used if you want to send custom notification about Tenant, Instance, or go deeper if you want :param node: Compute Host, Tenant, Instance, … :param status: Error, Success, Info :return: True, False

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.