From mboxrd@z Thu Jan 1 00:00:00 1970 From: jparsons@sourceware.org Date: 25 Jul 2006 20:16:21 -0000 Subject: [Cluster-devel] conga/luci/site/luci/Extensions cluster_adapte ... Message-ID: <20060725201621.8309.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/cluster_adapters.py.diff?cvsroot=cluster&r1=1.14&r2=1.15 --- conga/luci/site/luci/Extensions/cluster_adapters.py 2006/07/25 20:01:12 1.14 +++ conga/luci/site/luci/Extensions/cluster_adapters.py 2006/07/25 20:16:21 1.15 @@ -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