conga/luci/site/luci/Extensions cluster_adapte ...
CVSROOT: /cvs/cluster
Module name: conga
Changes by: jparsons at sourceware.org 2006-07-25 20:16:21
Modified files:
luci/site/luci/Extensions: cluster_adapters.py
Log message:
Fixed more quorum stuff in cluster info
luci/site/luci/Extensions/cluster_adapters.py +8 -2
@@ -955,10 +955,13 @@ return elif actiontype == FENCEDAEMON: + pass elif actiontype == MULTICAST: + pass elif actiontype == QUORUMD: + pass else: return
@@ -1019,6 +1022,10 @@ map['min_score'] = "" map['device'] = "" map['label'] = "" + + #list struct for heuristics... + hlist = list() + if is_quorumd: qdp = model.getQuorumdPtr() interval = qdp.getAttribute('interval')
@@ -1047,7 +1054,6 @@ heuristic_kids = qdp.getChildren() h_ctr = 0 - hlist = list() for kid in heuristic_kids: hmap = {} hname = kid.getAttribute('name')
@@ -1073,7 +1079,7 @@ else: hmap['hinterval'] = "" hlist.append(hmap) - map['hlist'] = hlist + map['hlist'] = hlist return map