selinon.global_config module¶
User’s global configuration section parsed from YAML config file.
-
class
selinon.global_config.GlobalConfig[source]¶ Bases:
objectUser global configuration stated in YAML file.
-
DEFAULT_CELERY_QUEUE= 'celery'¶
-
default_dispatcher_queue= 'celery'¶
-
default_task_queue= 'celery'¶
-
classmethod
dump_trace(output, config_name, indent_count=0)[source]¶ Dump trace configuration to output stream.
Parameters: - output – output stream to write to
- config_name – name of configuration class instance to be referenced when initializing trace
- indent_count – indentation that should be used to indent source
-
classmethod
from_dict(system, dict_)[source]¶ Parse global configuration from a dictionary.
Parameters: - system – system instance for storage lookup
- dict – dictionary containing global configuration as stated in YAML config file
-
migration_dir= None¶
-
predicates_module= 'selinon.predicates'¶
-
