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

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



CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	rmccabe sourceware org	2007-09-18 21:49:46

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

Log message:
	add support for setting the self_fence attribute on clusterfs resources, part 2

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

--- conga/luci/site/luci/Extensions/ResourceHandler.py	2007/06/25 16:03:38	1.2
+++ conga/luci/site/luci/Extensions/ResourceHandler.py	2007/09/18 21:49:46	1.3
@@ -218,6 +218,11 @@
 	else:
 		res.addAttribute('force_unmount', '0')
 
+	if form.has_key('selffence'):
+		res.addAttribute('self_fence', '1')
+	else:
+		res.addAttribute('self_fence', '0')
+
 	return errors
 
 def addNetfs(res, rname, form, model):


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