[ovs-dev] [PATCH v2 3/3] tests: Add test for Partial Map Updates

2016-05-02 Thread Aymerich, Edward
Insert basic functionality for testing partial map updates and add a new test table named "simple2". Signed-off-by: Edward Aymerich Signed-off-by: Arnoldo Lutz Co-authored-by: Arnoldo Lutz --- The corresponding pull request is available here: https://github.com/openvswitch/ovs/pull/124 test

[ovs-dev] [PATCH v2 2/3] ovsdb-idlc.in: Autogenerate Partial Map Updates functions

2016-05-02 Thread Aymerich, Edward
Code inserted that autogenerates corresponding map functions to set and delete elements in map columns. Inserts description to the functions that are autogenerated. Signed-off-by: Edward Aymerich Signed-off-by: Arnoldo Lutz Co-authored-by: Arnoldo Lutz --- The corresponding pull request is ava

[ovs-dev] [PATCH v2 1/3] lib: Add Partial Map Updates functionality

2016-05-02 Thread Aymerich, Edward
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

[ovs-dev] [PATCH 3/3] tests: Add test for Partial Map Updates

2016-04-29 Thread Aymerich, Edward
Insert basic functionality for testing partial update column and add a new test table named "simple2". Signed-off-by: Edward Aymerich Signed-off-by: Arnoldo Lutz Co-authored-by: Arnoldo Lutz --- The corresponding pull request is available here: https://github.com/openvswitch/ovs/pull/121 te

[ovs-dev] [PATCH 2/3] ovsdb-idlc.in: Autogenerate Partial Map Updates functions

2016-04-29 Thread Aymerich, Edward
Code inserted that autogenerates corresponding map functions to set and delete elements in map columns. Inserts description to the functions that are autogenerated. Signed-off-by: Edward Aymerich Signed-off-by: Arnoldo Lutz Co-authored-by: Arnoldo Lutz --- The corresponding pull request is ava

[ovs-dev] [PATCH 1/3] lib: Add Partial Map Updates functionality

2016-04-29 Thread Aymerich, Edward
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

Re: [ovs-dev] [Partial-Update-Map-Columns 0/7] Add Initial code for Partia-map-columns funtionality

2016-03-23 Thread Aymerich, Edward
t run ovsdb_datum_sort() to maintain the invariants. When a significant number of elements are inserted or deleted, the sorting time adds up and degrades performance. -Original Message- From: Ben Pfaff [mailto:b...@ovn.org] Sent: jueves 10 de marzo de 2016 11:06 p.m. To: Aymerich, Edward C

Re: [ovs-dev] [Partial-Update-Map-Columns 0/7] Add Initial code for Partia-map-columns funtionality

2016-03-02 Thread Aymerich, Edward
Hello, 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 a

[ovs-dev] [PATCH] ovsdb-idl.c: improves ovsdb_idl_add_table() comment.

2015-11-27 Thread Aymerich, Edward
The new comment reflects with more clarity what ovsdb_idl_add_table() does. Previous comment could be misunderstood, leading to believe that this function replicates all columns on IDL. Hopefully this fix clarifies that columns are not replicated, just minimal data for reference integrity is replic

[ovs-dev] What should be the behavior of ovsdb_idl_add_table()?

2015-11-24 Thread Aymerich, Edward
I was under the impression that ovsdb_idl_add_table() should replicate and monitor all columns of the given table, so I don't have to add each column individually. But this is not working for me. Let's say that I have a table called 'Test', and this table has columns 'colA', 'colB' and 'colC'.