python: Implement write support in Python IDL for OVSDB.
authorBen Pfaff <blp@nicira.com>
Wed, 21 Sep 2011 17:43:03 +0000 (10:43 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 23 Sep 2011 21:23:16 +0000 (14:23 -0700)
commit8cdf0349740c3e1a73af9aa6209bb22be952cd37
tree866331f253cf075ff4c5b5b83d510897a27dbb17
parent7cba02e442012a7ae6cfdfe67f858a18057e5470
python: Implement write support in Python IDL for OVSDB.

Until now, the Python bindings for OVSDB have not supported writing to the
database.  Instead, writes had to be done with "ovs-vsctl" subprocesses.
This commit adds write support and brings the Python bindings in line with
the C bindings.

This commit deletes the Python-specific IDL tests in favor of using the
same tests as the C version of the IDL, which now pass with both
implementations.

This commit updates the two users of the Python IDL to use the new write
support.  I tested this updates only by writing unit tests for them,
which appear in upcoming commits.
14 files changed:
debian/ovs-monitor-ipsec
ovsdb/automake.mk
ovsdb/ovsdb-idlc.in
python/ovs/db/data.py
python/ovs/db/idl.py
python/ovs/db/schema.py
python/ovs/db/types.py
tests/atlocal.in
tests/automake.mk
tests/ovsdb-idl-py.at [deleted file]
tests/ovsdb-idl.at
tests/ovsdb.at
tests/test-ovsdb.py
xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync