Author: eallen
Date: 2009-09-30 10:53:24 -0400 (Wed, 30 Sep 2009)
New Revision: 3661
Modified:
mgmt/trunk/cumin/python/cumin/inventory/system.py
Log:
Pass system parameter to system slot map widget
Modified: mgmt/trunk/cumin/python/cumin/inventory/system.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/inventory/system.py 2009-09-30 14:50:58 UTC (rev 3660)
+++ mgmt/trunk/cumin/python/cumin/inventory/system.py 2009-09-30 14:53:24 UTC (rev 3661)
@@ -298,11 +298,15 @@
return sess.marshal()
+ def get_scheduler_select(self, session):
+ system = self.system.get(session)
+ return "system='%s'" % system.nodeName
+
class SystemSlotMapPage(SlotMapPage):
def __init__(self, app, name):
- super(SystemSlotMapPage, self).__init__(app, name)
+ self.system = SystemParameter(app, "id")
+ super(SystemSlotMapPage, self).__init__(app, name, self.system,
"System")
- self.system = SystemParameter(app, "id")
self.add_parameter(self.system)
def do_process(self, session):
Show replies by date