Re: [ovs-dev] [mointor2 4/9] lib: add diff and apply diff APIs for ovsdb_datum

2015-11-10 Thread Ben Pfaff
On Wed, Oct 21, 2015 at 09:45:26PM -0700, Andy Zhou wrote: > When an OVSDB column change its value, it is more efficient to only > send what has changed, rather than sending the entire new copy. > This is analogous to software programmer send patches rather than > the entire source file. > > For c

[ovs-dev] [mointor2 4/9] lib: add diff and apply diff APIs for ovsdb_datum

2015-10-21 Thread Andy Zhou
When an OVSDB column change its value, it is more efficient to only send what has changed, rather than sending the entire new copy. This is analogous to software programmer send patches rather than the entire source file. For columns store a single element, the "diff" datum is the same as the "new