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

[Cluster-devel] conga/luci/site/luci/Extensions cluster_adapte ...



CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	rmccabe sourceware org	2006-09-27 18:46:08

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

Log message:
	stub in some validation functions

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

--- conga/luci/site/luci/Extensions/cluster_adapters.py	2006/09/27 16:18:03	1.73
+++ conga/luci/site/luci/Extensions/cluster_adapters.py	2006/09/27 18:46:08	1.74
@@ -266,9 +266,37 @@
 	buildClusterCreateFlags(self, batch_id_map, clusterName)
 	return (True, {'errors': errors, 'messages': messages})
 
+def validateServiceEdit(self, request):
+	return (True, {})
+
+def validateServiceAdd(self, request):
+	return (True, {})
+
+def validateResourceAdd(self, request):
+	return (True, {})
+	
+def validateResourceEdit(self, request):
+	return (True, {})
+
+def validateConfigCluster(self, request):
+	return (True, {})
+
+def validateFenceAdd(self, request):
+	return (True, {})
+
+def validateFenceEdit(self, request):
+	return (True, {})
+
 formValidators = {
 	6: validateCreateCluster,
-	15: validateAddClusterNode
+	7: validateConfigCluster,
+	15: validateAddClusterNode,
+	21: validateServiceAdd,
+	24: validateServiceEdit,
+	31: validateResourceAdd,
+	33: validateResourceEdit,
+	51: validateFenceAdd,
+	50: validateFenceEdit
 }
 
 def validatePost(self, request):


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