git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
generic function for checking subcommand params
[sliver-openvswitch.git]
/
ovsdb
/
ovsdb-dot.in
diff --git
a/ovsdb/ovsdb-dot.in
b/ovsdb/ovsdb-dot.in
index
30da1cb
..
85c126d
100755
(executable)
--- a/
ovsdb/ovsdb-dot.in
+++ b/
ovsdb/ovsdb-dot.in
@@
-11,7
+11,7
@@
import sys
argv0 = sys.argv[0]
def printEdge(tableName, type, baseType, label):
argv0 = sys.argv[0]
def printEdge(tableName, type, baseType, label):
- if baseType.ref_table:
+ if baseType.ref_table
_name
:
if type.n_min == 0:
if type.n_max == 1:
arity = "?"
if type.n_min == 0:
if type.n_max == 1:
arity = "?"
@@
-34,7
+34,7
@@
def printEdge(tableName, type, baseType, label):
options['style'] = 'dotted'
print "\t%s -> %s [%s];" % (
tableName,
options['style'] = 'dotted'
print "\t%s -> %s [%s];" % (
tableName,
- baseType.ref_table,
+ baseType.ref_table
_name
,
', '.join(['%s=%s' % (k,v) for k,v in options.items()]))
def schemaToDot(schemaFile):
', '.join(['%s=%s' % (k,v) for k,v in options.items()]))
def schemaToDot(schemaFile):