Author: eallen
Date: 2008-10-21 16:29:31 -0400 (Tue, 21 Oct 2008)
New Revision: 2669
Modified:
mgmt/trunk/cumin/python/cumin/collector.py
Log:
Tied collector start/stop into master
Modified: mgmt/trunk/cumin/python/cumin/collector.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/collector.py 2008-10-21 14:26:50 UTC (rev 2668)
+++ mgmt/trunk/cumin/python/cumin/collector.py 2008-10-21 20:29:31 UTC (rev 2669)
@@ -116,8 +116,8 @@
def process_item(self, session, item):
collector = Collector.get(item)
- action = self.app.model.collector.start
- action.invoke(collector)
+ action = self.app.model.master.start
+ action.invoke(collector, {"subsystem": "COLLECTOR"})
self.process_cancel(session)
class CollectorStop(CuminBulkActionForm):
@@ -132,7 +132,7 @@
def process_item(self, session, item):
collector = Collector.get(item)
- action = self.app.model.collector.stop
- action.invoke(collector)
+ action = self.app.model.master.stop
+ action.invoke(collector, {"subsystem": "COLLECTOR"})
self.process_cancel(session)