faucet.config_parser_util module¶
Utility functions supporting FAUCET/Gauge config parsing.
-
faucet.config_parser_util.
config_changed
(top_config_file, new_top_config_file, config_hashes)[source]¶ Return True if configuration has changed.
- Args:
- top_config_file (str): name of FAUCET config file new_top_config_file (str): name, possibly new, of FAUCET config file. config_hashes (dict): map of config file/includes and hashes of contents.
- Returns:
- bool: True if the file, or any file it includes, has changed.
-
faucet.config_parser_util.
config_file_hash
(config_file_name)[source]¶ Return hash of YAML config file contents.