X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ovsdb%2Fovsdb-dot.in;h=85c126d158cf3caff2f41e48137211057f196d29;hb=fd76a6f94338b668175336434b156827458b5e7d;hp=30da1cb351cce7a3d89f2d71e039f72058fac0df;hpb=d5a59e7e9ef3fdfc7dc7d4a80cbde6b524c5100b;p=sliver-openvswitch.git diff --git a/ovsdb/ovsdb-dot.in b/ovsdb/ovsdb-dot.in index 30da1cb35..85c126d15 100755 --- 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): - if baseType.ref_table: + if baseType.ref_table_name: 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, - baseType.ref_table, + baseType.ref_table_name, ', '.join(['%s=%s' % (k,v) for k,v in options.items()])) def schemaToDot(schemaFile):