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
ovsdb-idl: Transition to better interfaces for reading table columns.
[sliver-openvswitch.git]
/
ovsdb
/
OVSDB.py
diff --git
a/ovsdb/OVSDB.py
b/ovsdb/OVSDB.py
index
0cd416e
..
3acc7b8
100644
(file)
--- a/
ovsdb/OVSDB.py
+++ b/
ovsdb/OVSDB.py
@@
-298,6
+298,9
@@
class BaseType:
'boolean': 'bool ',
'string': 'char *'}[self.type]
+ def toAtomicType(self):
+ return "OVSDB_TYPE_%s" % self.type.upper()
+
def copyCValue(self, dst, src):
args = {'dst': dst, 'src': src}
if self.refTable: