|
Methods defined here:
- configure_modules(self)
- Loads configuration into each module
Returns
-------
- initialise(self)
- Initialises logger, database etc. with loaded configuration
Returns
-------
- load_config(self)
- Loads configurations from /config/ (Path relative to __nephos_dir__)
Returns
-------
Static methods defined here:
- load_data(file_name, is_config)
- Loads data from YAML configuration
Using PyYAML's safe_load method, read more at
https://security.openstack.org/guidelines/dg_avoid-dangerous-input-parsing-libraries.html
Parameters
----------
file_name
type: str
name of the config file, else full path for data files
is_config
type: bool
if file is config, default loads.
Returns
-------
type: dict
Dictionary containing configuration information provided by the path or default path
type: bool
False if the file is a data file and fails to load
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
Data and other attributes defined here:
- logging_config = None
- maintenance_config = None
- modules_config = None
|