Author: eallen
Date: 2010-06-21 11:24:54 -0400 (Mon, 21 Jun 2010)
New Revision: 4044
Modified:
mgmt/newdata/cumin/python/cumin/grid/negotiator.py
Log:
Wait for previous qmf calls to respond before call Reconfig
Modified: mgmt/newdata/cumin/python/cumin/grid/negotiator.py
===================================================================
--- mgmt/newdata/cumin/python/cumin/grid/negotiator.py 2010-06-21 15:20:31 UTC (rev 4043)
+++ mgmt/newdata/cumin/python/cumin/grid/negotiator.py 2010-06-21 15:24:54 UTC (rev 4044)
@@ -907,12 +907,14 @@
self.app.main_page.main.grid.pool.negotiator.view.show(session)
def do_invoke(self, invoc, negotiator, group, value):
- self.qmf_call(invoc, negotiator, "SetRawConfig", group, value)
+ # don't call self.qmf_call here since we need to
+ # wait for the response before making the next QMF call
+ action = QmfCall(self.app)
+ action.execute(negotiator, "SetRawConfig", group, value)
def reconfig(self, negotiator):
action = QmfCall(self.app)
- #TODO: put this back when setrawconfig is fixed
- #action.execute(negotiator, "Reconfig")
+ action.execute(negotiator, "Reconfig")
class NegotiatorGroupAdd(NegotiatorGroupTask):
def __init__(self, app, frame):