congress.synchronizer.policy_rule_synchronizer module

congress.synchronizer.policy_rule_synchronizer module

class congress.synchronizer.policy_rule_synchronizer.PolicyRuleSynchronizer(service_obj, node)

Bases: object

start()
stop()
sync_one_policy(name, datasource=True, db_session=None)
sync_one_policy_nonlocking(name, datasource=True, db_session=None)

Synchronize single policy with DB.

Param:name: policy name to be synchronized
Param:datasource: True, to sync a datasource policy
synchronize_all_policies()

Function to synchronize im-mem policies with DB

synchronize_rules(db_session=None)
synchronize_rules_nonlocking(db_session=None)
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.