Skip to contentSkip to conversation

conga/luci/site/luci/Extensions cluster_adapte ...

Cluster-devel [email protected] 1 participant 1 message Jul 19, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2006-07-19 20:57:39

Modified files:
luci/site/luci/Extensions: cluster_adapters.py ricci_bridge.py

Log message:
add in stan's code to generate the batch command for creating a cluster

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

luci/site/luci/Extensions/cluster_adapters.py +9 -1
@@ -105,7 +105,15 @@
 		'rnodeHash': rnodeHash,
 		'isComplete': len(errors) < 1 and len(filter(dfn, nodeList)) == 0
 	}
-	return (len(errors) < 1, {'errors': errors, 'requestResults': cluster_properties })
+
+	if cluster_properties['isComplete'] != True:
+		return (False, {'errors': errors, 'requestResults':cluster_properties })
+
+	if cluster_properties['isComplete'] == True:
+		for i in nodeList:
+			i = i # yell@ricci
+
+	return (len(errors) < 1, {'errors': errors, 'messages': messages })
 
 def createCluChooser(self, request, systems):
   dummynode = {}
luci/site/luci/Extensions/ricci_bridge.py +58 -0

61 lines not on this page · raw message