The congress.synchronizer.policy_rule_synchronizer
Module¶
-
class
congress.synchronizer.policy_rule_synchronizer.
PolicyRuleSynchronizer
(service_obj, node)¶ Bases:
object
-
start
()¶
-
stop
()¶
-
sync_one_policy
(*args, **kwargs)¶ Synchronize single policy with DB.
Parameters: - name – policy name to be synchronized
- datasource – True, to sync a datasource policy
-
synchronize_all_policies
(*args, **kwargs)¶ Function to synchronize im-mem policies with DB
-
synchronize_rules
(*args, **kwargs)¶
-
synchronize_rules_nonlocking
(db_session=None)¶
-