[ovs-git] Open vSwitch: Delete local copy of simplejson. (master)

dev at openvswitch.org dev at openvswitch.org
Wed Aug 25 22:45:37 UTC 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  1900fc2c706f6ce204d0710532daaee99ccc5f0c (commit)
       via  991559357f6a03c3a5b70c053c8c2554aa8d5ee4 (commit)
       via  d1b680c61626595b2777f4bf25997a9178acb60c (commit)
       via  d785193ad9989b429ea4c6931af9da7f4edf60ec (commit)
       via  d4db8309c5f22e1fb0201c67b2bf044f652332b7 (commit)
       via  528b8cc4fa1a3cee71cd647ec399caf68760c9c0 (commit)
       via  20063bd1c80f042a62cae0c75953ebeb2e1a3df5 (commit)
       via  6d2d2111e16354fdf2a6319303f6e8abb608b12d (commit)
       via  33ff0dceb4f7c9888229081edf5031b5f8d01d55 (commit)
       via  294e9fc859f87578be6e944a599b5c4af841e7d3 (commit)
       via  051a77d6777f23f3fe11dbd576d46ac6b5990b24 (commit)
       via  d931cde4d74ef1eee77594dd60c3a5b587394a1a (commit)
      from  d53e44e9346d6755ebc4ac70d3f43ce8fd98ea57 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1900fc2c706f6ce204d0710532daaee99ccc5f0c
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1900fc2c706f6ce204d0710532daaee99ccc5f0c
Author: Ben Pfaff <blp at nicira.com>
		
Delete local copy of simplejson.
		
The previous commit dropped usage of simplejson from the Python
code in the tree, because it did not provide adequate features to
support the JSON-RPC engine.  In particular simplejson is not a
"push parser"--you can't give it a byte or a character at a time
and have it tell you when it has read a whole JSON value.


commit 991559357f6a03c3a5b70c053c8c2554aa8d5ee4
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=991559357f6a03c3a5b70c053c8c2554aa8d5ee4
Author: Ben Pfaff <blp at nicira.com>
		
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.


commit d1b680c61626595b2777f4bf25997a9178acb60c
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=d1b680c61626595b2777f4bf25997a9178acb60c
Author: Ben Pfaff <blp at nicira.com>
		
reconnect: Refactor tests to use common macro.
		
This will make it easier to add tests for the Python implemenentation.


commit d785193ad9989b429ea4c6931af9da7f4edf60ec
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=d785193ad9989b429ea4c6931af9da7f4edf60ec
Author: Ben Pfaff <blp at nicira.com>
		
ovsdbmonitor: Fix uninstall.
		
We install an ovsdbmonitor binary so we should uninstall it too.


commit d4db8309c5f22e1fb0201c67b2bf044f652332b7
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=d4db8309c5f22e1fb0201c67b2bf044f652332b7
Author: Ben Pfaff <blp at nicira.com>
		
daemon: Improve comments.
		
Elsewhere we put the name of command-line options that control global
variables in the comment, so do so here as well.

Also fix a comment typo.


commit 528b8cc4fa1a3cee71cd647ec399caf68760c9c0
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=528b8cc4fa1a3cee71cd647ec399caf68760c9c0
Author: Ben Pfaff <blp at nicira.com>
		
reconnect: Fix typo in comment.
		


commit 20063bd1c80f042a62cae0c75953ebeb2e1a3df5
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=20063bd1c80f042a62cae0c75953ebeb2e1a3df5
Author: Ben Pfaff <blp at nicira.com>
		
json: Remove unused return value from json_parser_push().
		
No point in returning a value that no caller uses.


commit 6d2d2111e16354fdf2a6319303f6e8abb608b12d
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=6d2d2111e16354fdf2a6319303f6e8abb608b12d
Author: Ben Pfaff <blp at nicira.com>
		
poll-loop: Fix obsolete comment.
		
The poll loop used to have support for autonomous subroutines, but it no
longer does.


commit 33ff0dceb4f7c9888229081edf5031b5f8d01d55
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=33ff0dceb4f7c9888229081edf5031b5f8d01d55
Author: Ben Pfaff <blp at nicira.com>
		
jsonrpc: Indentation fix.
		


commit 294e9fc859f87578be6e944a599b5c4af841e7d3
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=294e9fc859f87578be6e944a599b5c4af841e7d3
Author: Ben Pfaff <blp at nicira.com>
		
stream, vconn: Fix comments.
		
All streams and all vconns are "active", so there's no point in noting that
requirement in comments.  (A long time ago, active and passive vconns were
conflated instead of having passive vconns broken out as pvconns.  But
active and passive streams have always been distinct.)


commit 051a77d6777f23f3fe11dbd576d46ac6b5990b24
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=051a77d6777f23f3fe11dbd576d46ac6b5990b24
Author: Ben Pfaff <blp at nicira.com>
		
json: Remove write-only variable from json_lex_number().
		


commit d931cde4d74ef1eee77594dd60c3a5b587394a1a
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=d931cde4d74ef1eee77594dd60c3a5b587394a1a
Author: Ben Pfaff <blp at nicira.com>
		
ovsdb: Remove unused ovsdb_datum_from_json_unique().
		
This function was not used outside of the test-ovsdb program.  It seems
like we might as well remove it.


-----------------------------------------------------------------------

Summary of changes:
 COPYING                                            |   24 -
 Makefile.am                                        |    2 +-
 lib/automake.mk                                    |    3 +-
 lib/daemon.c                                       |   15 +-
 lib/json.c                                         |   10 +-
 lib/jsonrpc.c                                      |    4 +-
 lib/ovsdb-data.c                                   |   17 -
 lib/ovsdb-data.h                                   |    5 -
 lib/poll-loop.h                                    |    7 +-
 lib/reconnect.c                                    |    3 +-
 lib/stream.c                                       |    8 +-
 lib/vconn.c                                        |   27 +-
 ovsdb/OVSDB.py                                     |  510 -----
 ovsdb/automake.mk                                  |   32 +-
 ovsdb/ovsdb-doc.in                                 |   27 +-
 ovsdb/ovsdb-dot.in                                 |    7 +-
 ovsdb/ovsdb-idlc.in                                |  127 +-
 ovsdb/ovsdbmonitor/automake.mk                     |    4 +
 ovsdb/simplejson/__init__.py                       |  318 ---
 ovsdb/simplejson/_speedups.c                       | 2329 --------------------
 ovsdb/simplejson/decoder.py                        |  354 ---
 ovsdb/simplejson/encoder.py                        |  440 ----
 ovsdb/simplejson/scanner.py                        |   65 -
 ovsdb/simplejson/tests/__init__.py                 |   23 -
 ovsdb/simplejson/tests/test_check_circular.py      |   30 -
 ovsdb/simplejson/tests/test_decode.py              |   22 -
 ovsdb/simplejson/tests/test_default.py             |    9 -
 ovsdb/simplejson/tests/test_dump.py                |   21 -
 .../tests/test_encode_basestring_ascii.py          |   38 -
 ovsdb/simplejson/tests/test_fail.py                |   76 -
 ovsdb/simplejson/tests/test_float.py               |   15 -
 ovsdb/simplejson/tests/test_indent.py              |   41 -
 ovsdb/simplejson/tests/test_pass1.py               |   76 -
 ovsdb/simplejson/tests/test_pass2.py               |   14 -
 ovsdb/simplejson/tests/test_pass3.py               |   20 -
 ovsdb/simplejson/tests/test_recursion.py           |   67 -
 ovsdb/simplejson/tests/test_scanstring.py          |  111 -
 ovsdb/simplejson/tests/test_separators.py          |   42 -
 ovsdb/simplejson/tests/test_unicode.py             |   64 -
 ovsdb/simplejson/tool.py                           |   37 -
 python/ovs/__init__.py                             |    1 +
 python/ovs/automake.mk                             |   42 +
 python/ovs/daemon.py                               |  431 ++++
 python/ovs/db/__init__.py                          |    1 +
 python/ovs/db/data.py                              |  433 ++++
 python/ovs/db/error.py                             |   34 +
 python/ovs/db/idl.py                               |  305 +++
 python/ovs/db/parser.py                            |  105 +
 python/ovs/db/schema.py                            |  159 ++
 python/ovs/db/types.py                             |  545 +++++
 python/ovs/dirs.py                                 |    7 +
 python/ovs/fatal_signal.py                         |  121 +
 python/ovs/json.py                                 |  528 +++++
 python/ovs/jsonrpc.py                              |  526 +++++
 python/ovs/ovsuuid.py                              |   72 +
 python/ovs/poller.py                               |  123 +
 python/ovs/process.py                              |   39 +
 python/ovs/reconnect.py                            |  563 +++++
 python/ovs/socket_util.py                          |  143 ++
 python/ovs/stream.py                               |  316 +++
 .../ovsdbmonitor.in => python/ovs/timeval.py       |   33 +-
 python/ovs/util.py                                 |   43 +
 tests/atlocal.in                                   |    3 +
 tests/automake.mk                                  |   11 +
 tests/{daemon.at => daemon-py.at}                  |   54 +-
 tests/daemon.at                                    |    2 +-
 tests/json.at                                      |   45 +-
 tests/{jsonrpc.at => jsonrpc-py.at}                |   23 +-
 tests/jsonrpc.at                                   |    2 +-
 tests/ovsdb-column.at                              |    6 +-
 tests/ovsdb-data.at                                |  104 +-
 tests/ovsdb-idl-py.at                              |  149 ++
 tests/ovsdb-schema.at                              |    6 +-
 tests/ovsdb-table.at                               |   14 +-
 tests/ovsdb-types.at                               |  108 +-
 tests/ovsdb.at                                     |   57 +
 tests/reconnect.at                                 |  131 +-
 tests/test-daemon.py                               |   66 +
 tests/test-json.py                                 |   92 +
 tests/test-jsonrpc.c                               |    2 +-
 tests/test-jsonrpc.py                              |  221 ++
 tests/test-ovsdb.c                                 |   10 -
 tests/test-ovsdb.py                                |  372 ++++
 tests/test-reconnect.py                            |  195 ++
 tests/testsuite.at                                 |    2 +
 xenserver/README                                   |    6 +
 xenserver/automake.mk                              |    3 +-
 xenserver/openvswitch-xen.spec                     |   32 +-
 xenserver/uuid.py                                  |  541 +++++
 89 files changed, 6645 insertions(+), 5226 deletions(-)
 delete mode 100644 ovsdb/OVSDB.py
 delete mode 100644 ovsdb/simplejson/__init__.py
 delete mode 100644 ovsdb/simplejson/_speedups.c
 delete mode 100644 ovsdb/simplejson/decoder.py
 delete mode 100644 ovsdb/simplejson/encoder.py
 delete mode 100644 ovsdb/simplejson/scanner.py
 delete mode 100644 ovsdb/simplejson/tests/__init__.py
 delete mode 100644 ovsdb/simplejson/tests/test_check_circular.py
 delete mode 100644 ovsdb/simplejson/tests/test_decode.py
 delete mode 100644 ovsdb/simplejson/tests/test_default.py
 delete mode 100644 ovsdb/simplejson/tests/test_dump.py
 delete mode 100644 ovsdb/simplejson/tests/test_encode_basestring_ascii.py
 delete mode 100644 ovsdb/simplejson/tests/test_fail.py
 delete mode 100644 ovsdb/simplejson/tests/test_float.py
 delete mode 100644 ovsdb/simplejson/tests/test_indent.py
 delete mode 100644 ovsdb/simplejson/tests/test_pass1.py
 delete mode 100644 ovsdb/simplejson/tests/test_pass2.py
 delete mode 100644 ovsdb/simplejson/tests/test_pass3.py
 delete mode 100644 ovsdb/simplejson/tests/test_recursion.py
 delete mode 100644 ovsdb/simplejson/tests/test_scanstring.py
 delete mode 100644 ovsdb/simplejson/tests/test_separators.py
 delete mode 100644 ovsdb/simplejson/tests/test_unicode.py
 delete mode 100644 ovsdb/simplejson/tool.py
 create mode 100644 python/ovs/__init__.py
 create mode 100644 python/ovs/automake.mk
 create mode 100644 python/ovs/daemon.py
 create mode 100644 python/ovs/db/__init__.py
 create mode 100644 python/ovs/db/data.py
 create mode 100644 python/ovs/db/error.py
 create mode 100644 python/ovs/db/idl.py
 create mode 100644 python/ovs/db/parser.py
 create mode 100644 python/ovs/db/schema.py
 create mode 100644 python/ovs/db/types.py
 create mode 100644 python/ovs/dirs.py
 create mode 100644 python/ovs/fatal_signal.py
 create mode 100644 python/ovs/json.py
 create mode 100644 python/ovs/jsonrpc.py
 create mode 100644 python/ovs/ovsuuid.py
 create mode 100644 python/ovs/poller.py
 create mode 100644 python/ovs/process.py
 create mode 100644 python/ovs/reconnect.py
 create mode 100644 python/ovs/socket_util.py
 create mode 100644 python/ovs/stream.py
 copy ovsdb/ovsdbmonitor/ovsdbmonitor.in => python/ovs/timeval.py (50%)
 mode change 100755 => 100644
 create mode 100644 python/ovs/util.py
 copy tests/{daemon.at => daemon-py.at} (75%)
 copy tests/{jsonrpc.at => jsonrpc-py.at} (56%)
 create mode 100644 tests/ovsdb-idl-py.at
 create mode 100644 tests/test-daemon.py
 create mode 100644 tests/test-json.py
 create mode 100644 tests/test-jsonrpc.py
 create mode 100644 tests/test-ovsdb.py
 create mode 100644 tests/test-reconnect.py
 create mode 100644 xenserver/uuid.py


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list