[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] conga/luci/site/luci/Extensions ModelBuilder.py



CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	jparsons sourceware org	2006-08-09 21:49:30

Modified files:
	luci/site/luci/Extensions: ModelBuilder.py 

Log message:
	Support for service info hash

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ModelBuilder.py.diff?cvsroot=cluster&r1=1.4&r2=1.5

--- conga/luci/site/luci/Extensions/ModelBuilder.py	2006/07/24 19:39:06	1.4
+++ conga/luci/site/luci/Extensions/ModelBuilder.py	2006/08/09 21:49:30	1.5
@@ -638,6 +638,14 @@
           rg_list.append(kid)
 
     return rg_list
+
+  def getService(self, svcname):
+    services = self.getServices()
+    for service in services:
+      if service.getName() == svcname:
+        return service
+
+    return None
         
   def getXENVMs(self):
     rg_list = list()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]