crossbar.common.checkconfig¶
Functions¶
|
Check a Crossbar.io top-level configuration. |
|
Check a Crossbar.io local configuration file. |
|
Check the arguments of C{config} according to C{spec}. |
|
Check a guest worker configuration. |
|
Converts a Crossbar.io configuration file from JSON to YAML or from |
Module Contents¶
- check_config(personality, config)[source]¶
Check a Crossbar.io top-level configuration.
http://crossbar.io/docs/ https://github.com/crossbario/crossbar/blob/master/docs/pages/administration/Node-Configuration.md
- Parameters:
config (dict) – The configuration to check.
- check_config_file(personality, configfile)[source]¶
Check a Crossbar.io local configuration file.
- Parameters:
configfile (str) – The file to check.
- check_dict_args(spec, config, msg)[source]¶
Check the arguments of C{config} according to C{spec}.
C{spec} is a dict, with the key mapping to the config and the value being a 2-tuple, for which the first item being whether or not it is mandatory, and the second being a list of types of which the config item can be.
- check_guest(personality, guest)[source]¶
Check a guest worker configuration.
http://crossbar.io/docs/ https://github.com/crossbario/crossbar/blob/master/docs/pages/administration/worker/Guest-Configuration.md