Adam Litke has submitted this change and it was merged.
Change subject: export api for resetting policy to init state
......................................................................
export api for resetting policy to init state
Policies are changed through time, but can't be resetted to init state
unless restarting mom.
expose this api to address this problem.
Change-Id: I298a53e5b90bc30e2b9c351f5907203707c21324
Signed-off-by: Royce Lv<lvroyce(a)linux.vnet.ibm.com>
Signed-off-by: MeiLiu <liumbj(a)linux.vnet.ibm.com>
Reviewed-on:
http://gerrit.ovirt.org/12518
Reviewed-by: Adam Litke <agl(a)us.ibm.com>
---
M mom/MOMFuncs.py
M mom/PolicyEngine.py
M tests/GeneralTests.py
3 files changed, 16 insertions(+), 1 deletion(-)
Approvals:
Adam Litke: Looks good to me, approved
Mei Liu: Verified
--
To view, visit
http://gerrit.ovirt.org/12518
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I298a53e5b90bc30e2b9c351f5907203707c21324
Gerrit-PatchSet: 5
Gerrit-Project: mom
Gerrit-Branch: master
Gerrit-Owner: Royce Lv <lvroyce(a)linux.vnet.ibm.com>
Gerrit-Reviewer: Adam Litke <agl(a)us.ibm.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck(a)redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak(a)redhat.com>
Gerrit-Reviewer: Mei Liu <liumbj(a)linux.vnet.ibm.com>
Gerrit-Reviewer: Royce Lv <lvroyce(a)linux.vnet.ibm.com>