Re: [ovs-discuss] Scaling ovsdb-idl's update notification

2015-08-02 Thread सौरभ श्रीवास्तव
One approach can be to link all the struct ovsdb_idl_row in a linked list where nodes are ordered by their time of update ie a newly added node is put at the end of the linked list, an updated node is removed from its current position and put at the end of the linked list, a deleted node is kept in

Re: [ovs-discuss] Load Action for Registers

2015-06-20 Thread सौरभ श्रीवास्तव
You need to use "move" instead of "load". -- Saurabh (सौरभ) On Fri, Jun 19, 2015 at 6:35 PM, Ben Pfaff wrote: > On Fri, Jun 19, 2015 at 01:25:03PM +0500, Haleema Sadia wrote: > > I am trying to load the in_port value to register, like this: > > > > ovs-ofctl add-flow br0 "tcp,in_port=1,actions=

Re: [ovs-discuss] OVSDB updates, IDL consistency

2015-06-10 Thread सौरभ श्रीवास्तव
ible. (Before that, though, it is basically unchanged for years.) > > I'd love a reproduction case. > > On Wed, Jun 10, 2015 at 06:01:16PM -0700, Saurabh Shrivastava (सौरभ > श्रीवास्तव) wrote: > > The transaction reply appears after all the updates are received (but I >

Re: [ovs-discuss] OVSDB updates, IDL consistency

2015-06-10 Thread सौरभ श्रीवास्तव
5:43858: received notification, method="update", params=[null,{"Physical_Locator_Set":{"ff6908de-98aa-4c30-8809-7e1395ea13c9":{"old":{"locators":["uuid","901cdefe-0292-48bb-a9df-6a4837061931"]] [027 m 05/26/15 22:22:16.846] A:

Re: [ovs-discuss] OVSDB updates, IDL consistency

2015-06-10 Thread सौरभ श्रीवास्तव
a9df-6a4837061931"]] [027 m 05/26/15 22:22:16.846] A:dc_rpc:OVS: ovs|09831|jsonrpc|DBG|ssl: 135.227.147.205:43858: received notification, method="update", params=[null,{"Physical_Locator":{"901cdefe-0292-48bb-a9df-6a4837061931":{"old":{"ds

Re: [ovs-discuss] OVSDB updates, IDL consistency

2015-06-10 Thread सौरभ श्रीवास्तव
"deletes"? -- Saurabh (सौरभ) On Wed, Jun 10, 2015 at 8:15 AM, Ben Pfaff wrote: > On Wed, Jun 10, 2015 at 07:55:20AM -0700, Ben Pfaff wrote: > > On Tue, Jun 09, 2015 at 11:16:34PM -0700, Saurabh Shrivastava (सौरभ > श्रीवास्तव) wrote: > > > When OVSDB server sends upda

[ovs-discuss] OVSDB updates, IDL consistency

2015-06-09 Thread सौरभ श्रीवास्तव
Hi, When OVSDB server sends updates to an OVSDB client, the IDL changes idl_seqno. When idl_seqno changes, the client can rebrowse the IDL and look for changes. Does OVSDB server guarantee that the updates always maintain referential integrity for row creation and row updates i.e. if the client b