faucet.config_parser module

Implement configuration file parsing.

faucet.config_parser.dp_parser(config_file, logname)[source]

Parse a config file into DP configuration objects with hashes of config include/files.

faucet.config_parser.get_config_for_api(valves)[source]

Return config as dict for all DPs.

faucet.config_parser.watcher_parser(config_file, logname, prom_client)[source]

Return Watcher instances from config.