conga/luci/site/luci/Extensions cluster_adapte ...
CVSROOT: /cvs/cluster
Module name: conga
Changes by: jparsons at sourceware.org 2006-07-24 21:13:45
Modified files:
luci/site/luci/Extensions: cluster_adapters.py
Log message:
minor change in mcast section
luci/site/luci/Extensions/cluster_adapters.py +5 -2
@@ -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