tacker.manager
Module¶tacker.manager.
Manager
(host=None)¶Bases: oslo_service.periodic_task.PeriodicTasks
after_start
()¶Handler post initialization stuff.
Child classes can override this method.
init_host
()¶Handle initialization if this is a standalone service.
Child classes should override this method.
periodic_tasks
(context, raise_on_error=False)¶target
= <Target version=1.0>¶tacker.manager.
TackerManager
(options=None, config_file=None)¶Bases: object
Tacker’s Manager class.
Tacker’s Manager class is responsible for parsing a config file and instantiating the correct plugin that concretely implement tacker_plugin_base class. The caller should make sure that TackerManager is a singleton.
clear_instance
()¶get_instance
()¶get_plugin
()¶get_service_plugins
()¶has_instance
()¶load_class_for_provider
(namespace, plugin_provider)¶Loads plugin using alias or class name
Load class using stevedore alias or the class name :param namespace: namespace where alias is defined :param plugin_provider: plugin alias or class name :returns: plugin that is loaded :raises ImportError: if fails to load plugin
tacker.manager.
validate_post_plugin_load
()¶Checks if the configuration variables are valid.
If the configuration is invalid then the method will return an error message. If all is OK then it will return None.
tacker.manager.
validate_pre_plugin_load
()¶Checks if the configuration variables are valid.
If the configuration is invalid then the method will return an error message. If all is OK then it will return None.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.