The tacker.manager Module¶
- 
class 
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>¶ 
- 
 
- 
class 
tacker.manager.TackerManager(options=None, config_file=None)¶ Bases:
objectTacker’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.
- 
classmethod 
clear_instance()¶ 
- 
classmethod 
get_instance()¶ 
- 
classmethod 
get_plugin()¶ 
- 
classmethod 
get_service_plugins()¶ 
- 
classmethod 
has_instance()¶ 
- 
static 
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
- 
classmethod 
 
- 
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.