From 9694fb50bddf1be0bf095fe5821b1d0f324393a7 Mon Sep 17 00:00:00 2001 From: Jan Pokorný Date: Wed, 27 Nov 2013 19:30:13 +0100 Subject: cluster-cman: fix logically wrong FencedBy transitive rel. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan Pokorný --- cluster-cman.py | 14 +++++++------- lib_edges.py | 1 + 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, )) -- cgit