Mei Liu has posted comments on this change.

Change subject: export api for resetting policy to init state
......................................................................


Patch Set 2: I would prefer that you didn't submit this

(1 inline comment)

....................................................
File mom/MOMFuncs.py
Line 38: 
Line 39:     @exported
Line 40:     def resetPolicies(self):
Line 41:         self.logger.info('resetPolicyies()')
Line 42:         return self.threads['policy_engine'].load_policy()
Policies need to be cleared before load the initial policy. Otherwise, old 
policies may still exist.
Line 43: 
Line 44:     @exported
Line 45:     def setPolicy(self, policy):
Line 46:         self.logger.info("setPolicy()")


-- 
To view, visit http://gerrit.ovirt.org/12518
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I298a53e5b90bc30e2b9c351f5907203707c21324
Gerrit-PatchSet: 2
Gerrit-Project: mom
Gerrit-Branch: master
Gerrit-Owner: Royce Lv <[email protected]>
Gerrit-Reviewer: Adam Litke <[email protected]>
Gerrit-Reviewer: Doron Fediuck <[email protected]>
Gerrit-Reviewer: Martin Sivák <[email protected]>
Gerrit-Reviewer: Mei Liu <[email protected]>
Gerrit-Reviewer: Royce Lv <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to