summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2013-11-27 19:30:13 +0100
committerJan Pokorný <jpokorny@redhat.com>2013-11-27 19:30:13 +0100
commit9694fb50bddf1be0bf095fe5821b1d0f324393a7 (patch)
treeb46d143e3009a220e4a12ccae6309b7421532263
parentde87d9a24b113590ec3c71f7899e224cc8359448 (diff)
downloadcluster-overview-9694fb50bddf1be0bf095fe5821b1d0f324393a7.zip
cluster-overview-9694fb50bddf1be0bf095fe5821b1d0f324393a7.tar.gz
cluster-overview-9694fb50bddf1be0bf095fe5821b1d0f324393a7.tar.xz
cluster-cman: fix logically wrong FencedBy transitive rel.
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rwxr-xr-xcluster-cman.py14
-rw-r--r--lib_edges.py1
2 files changed, 8 insertions, 7 deletions
diff --git a/cluster-cman.py b/cluster-cman.py
index 9857556..eee48ee 100755
--- a/cluster-cman.py
+++ b/cluster-cman.py
@@ -558,13 +558,13 @@ graph = lambda\
#
# cluster devices layer
#
- ,label='fence devices'
+ ,label='I/O fence facilities'
,_subgraphs=\
[SubgraphStandard('cluster.direct-fence'
#
# direct fencing
#
- ,label='direct fence'
+ ,label='direct fencing'
,_subgraphs=\
[SubgraphStandard('cluster.hypervisor'
#
@@ -667,11 +667,11 @@ graph = lambda\
,minlen='2'
,weight='2'
)
- ,FencedBy\
- ('switch-ethernet'
- ,'switch-based-fence'
- ,ltail='cluster.switch'
- ,lhead='cluster.switch-based-fence'
+ ,MapsTo\
+ ('switch-based-fence'
+ ,'switch-ethernet'
+ ,ltail='cluster.switch-based-fence'
+ ,lhead='cluster.switch'
)
,FencedBy\
('nas'
diff --git a/lib_edges.py b/lib_edges.py
index 5a1dc20..2e31819 100644
--- a/lib_edges.py
+++ b/lib_edges.py
@@ -90,6 +90,7 @@ class MapsTo(LibEdge):
COLOR.tomato,
FONTCOLOR.tomato,
STYLE.dotted,
+ CONSTRAINT.false,
))