[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:	jparsons sourceware org	2006-07-24 21:13:45

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

Log message:
	minor change in mcast section

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

--- conga/luci/site/luci/Extensions/cluster_adapters.py	2006/07/24 19:50:49	1.10
+++ conga/luci/site/luci/Extensions/cluster_adapters.py	2006/07/24 21:13:45	1.11
@@ -922,8 +922,8 @@
   response.redirect(req['HTTP_REFERER'] + "&busyfirst=true")
   
 def getClusterInfo(self, model, req):
-  baseurl = req['URL'] + "?" + PAGETYPE + "=" + CLUSTER_PROCESS + "&" + CLUNAME + "=" + cluname + "&"
   cluname = req[CLUNAME]
+  baseurl = req['URL'] + "?" + PAGETYPE + "=" + CLUSTER_PROCESS + "&" + CLUNAME + "=" + cluname + "&"
   map = {}
   basecluster_url = baseurl + ACTIONTYPE + "=" + BASECLUSTER
   #needed:
@@ -956,9 +956,12 @@
   map['multicast_url'] = multicast_url
   #mcast addr
   is_mcast = model.isMulticast()
-  map['is_mcast'] = is_mcast
+  #map['is_mcast'] = is_mcast
   if is_mcast:
     map['mcast_addr'] = model.getMcastAddr()
+    map['is_mcast'] = "True"
+  else:
+    map['is_mcast'] = "False"
     
   #-------------
   #quorum disk params


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