congress.cfg_validator.utils module

congress.cfg_validator.utils module

Support functions for cfg_validator

congress.cfg_validator.utils.AGENT_TOPIC = 'congress-validator-agent'

Topic for RPC between cfg validator driver (client) and the agents (server)

congress.cfg_validator.utils.add_rule(bus, policy_name, rules)

Adds a policy and rules to the engine

congress.cfg_validator.utils.cfg_value_to_congress(value)

Sanitize values for congress

values of log formatting options typically contains ‘%s’ etc, which should not be put in datalog

congress.cfg_validator.utils.compute_hash(*args)

computes a hash from the arguments. Not cryptographically strong.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.