diff options
author | Ben Pfaff <blp@nicira.com> | 2010-08-25 10:26:40 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2010-08-25 14:55:48 -0700 |
commit | 991559357f6a03c3a5b70c053c8c2554aa8d5ee4 (patch) | |
tree | 8731002433c65ea41dbe94648c0e39737f666469 /tests/ovsdb-column.at | |
parent | d1b680c61626595b2777f4bf25997a9178acb60c (diff) | |
download | openvswitch-991559357f6a03c3a5b70c053c8c2554aa8d5ee4.tar.gz |
Implement initial Python bindings for Open vSwitch database.
These initial bindings pass a few hundred of the corresponding tests
for C implementations of various bits of the Open vSwitch library API.
The poorest part of them is actually the Python IDL interface in
ovs.db.idl, which has not received enough attention yet. It appears
to work, but it doesn't yet support writes (transactions) and it is
difficult to use. I hope to improve it as it becomes clear what
semantics Python applications actually want from an IDL.
Diffstat (limited to 'tests/ovsdb-column.at')
-rw-r--r-- | tests/ovsdb-column.at | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ovsdb-column.at b/tests/ovsdb-column.at index 7dd55e413..b8d093991 100644 --- a/tests/ovsdb-column.at +++ b/tests/ovsdb-column.at @@ -1,13 +1,13 @@ AT_BANNER([OVSDB -- columns]) -OVSDB_CHECK_POSITIVE([ordinary column], +OVSDB_CHECK_POSITIVE_CPY([ordinary column], [[parse-column mycol '{"type": "integer"}']], [[{"type":"integer"}]]) -OVSDB_CHECK_POSITIVE([immutable column], +OVSDB_CHECK_POSITIVE_CPY([immutable column], [[parse-column mycol '{"type": "real", "mutable": false}']], [[{"mutable":false,"type":"real"}]]) -OVSDB_CHECK_POSITIVE([ephemeral column], +OVSDB_CHECK_POSITIVE_CPY([ephemeral column], [[parse-column mycol '{"type": "uuid", "ephemeral": true}']], [[{"ephemeral":true,"type":"uuid"}]]) |