diff options
-rwxr-xr-x | cluster-cman.py | 14 | ||||
-rw-r--r-- | 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, )) |