diff options
author | Shu Shen <shu.shen@radisys.com> | 2015-02-10 21:20:12 -0800 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2015-02-13 09:27:37 -0800 |
commit | d8a5cedab523a99cdc97539f0cde21bb7f4932ec (patch) | |
tree | fb3323a2f2ded4a3eb03201ac277e9a6e7375a6e /ovsdb/ovsdb-dot.in | |
parent | 9d078ec2f17adc7cceb2793687f8faa1f1c6f4f3 (diff) | |
download | openvswitch-d8a5cedab523a99cdc97539f0cde21bb7f4932ec.tar.gz |
docs: Fix overlapping 'weak' edges in ovs-vswitchd.conf.db.5.
Multiple weak edges between nodes at the same rank overlaps with each other in
a dot/graphviz diagram. The vswitchd.pic used in ovs-vswitchd.conf.db.5 suffers
this problem.
Removing "constraint=false" allows graphviz to rank the nodes using the weak
edages as well so that the nodes at the ends of a weak edge won't be at the
same rank and allows mutlple 'weak' edges to be visible.
Signed-off-by: Shu Shen <shu.shen@radisys.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'ovsdb/ovsdb-dot.in')
-rwxr-xr-x | ovsdb/ovsdb-dot.in | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ovsdb/ovsdb-dot.in b/ovsdb/ovsdb-dot.in index 006d7ed90..134ce2269 100755 --- a/ovsdb/ovsdb-dot.in +++ b/ovsdb/ovsdb-dot.in @@ -30,7 +30,6 @@ def printEdge(tableName, type, baseType, label): options = {} options['label'] = '"%s%s"' % (label, arity) if baseType.ref_type == 'weak': - options['constraint'] = 'false' options['style'] = 'dotted' print "\t%s -> %s [%s];" % ( tableName, |