In the current implementation, every time an element of either a map or
set column has to be modified, the entire content of the column is
sent to the server to be updated. This is not a major problem if the
information contained in the column for the corresponding row is small,
but there are cases where these columns can have a significant amount of
elements per row or the frequency at which these values are updated is
high that making the cost of the modifications to become high in terms
of time and bandwidth.

In this solution, the ovsdb-idl code is modified to use mutate
operation, already implemented in the server code, to allow that kind
of partial modifications on map columns. The functionality is exposed
to clients in the vswitch idl.

Arnoldo Lutz (3):
      Add code to create partial map functions in autogenerated code
      Add documentation on how to use partial update of map columns
      Adds usage help on command to test of partial update of map column

Edward Aymerich (3):
      Add functionality to skeleton functions for Partial Map Update
      Add and correct functionality of Partial Update Map Columns
      Add fixes, improvements, refactors and cleans code

 Makefile.am                  |   1 +
 PARTIAL-UPDATE-MAP-COLUMN.md |  64 ++++++++++++++++++++++++++++++++
 lib/automake.mk              |   3 +-
 lib/ovsdb-idl-provider.h     |   6 ++-
 lib/ovsdb-idl.c              | 296 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------
 lib/ovsdb-map-op.c           | 171 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 lib/ovsdb-map-op.h           |  45 +++++++++++++++++++++++
 ovsdb/ovsdb-idlc.in          |  69 +++++++++++++++++++++++++++++++++++
 tests/idltest.ovsschema      |  24 +++++++++++-
 tests/idltest2.ovsschema     |  24 +++++++++++-
 tests/ovsdb-idl.at           |  34 +++++++++++++++++
 tests/test-ovsdb.c           | 110 
++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 12 files changed, 821 insertions(+), 26 deletions(-)


Arnoldo Lutz - Outsourced Contractor
Software Engineer
R&D, HP Networking Group
arnoldo.lutz.guev...@hpe.com
Heredia
Costa Rica



Please print thoughtfully


_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to