[ovs-discuss] ovsdb update operation

vis reddy badveli_vishnuus at yahoo.com
Wed Feb 25 19:53:05 UTC 2015


Thanks Sir,I have another question i have my own schema vis.schemahow do i use ovsdb-idlc to generate my own idl header filei see that vtep-idl.h generated from vtep.ovsschema, vtep.xmlnot able to figure out how, could you please explain? ThanksVishnu
      From: Ben Pfaff <blp at nicira.com>
 To: vis reddy <badveli_vishnuus at yahoo.com> 
Cc: "discuss at openvswitch.org" <discuss at openvswitch.org> 
 Sent: Wednesday, 4 February 2015 2:17 PM
 Subject: Re: [ovs-discuss] ovsdb update operation
   
On Wed, Feb 04, 2015 at 08:09:41PM +0000, vis reddy wrote:


> 
> Hello All,Going through rfc 7047
> The operation updates rows in a table.  It searches "table" for rows
>    that match all the conditions specified in "where".  For each
>    matching row, it changes the value of each column specified in "row"
>    to the value for that column specified in "row". 
> I am not able to find out if there is an operation??which tries to find a row that match conditions and if does not exist, it can insert,??how do we achieve some thing like this?
> this is useful as I do not have a idea if the row is existing??i would want to update itor insert it if it does not exist. Should i always use select followed by insert or update operations.

I think you'll have to select then insert or update in that case.


  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150225/21dcbc7e/attachment-0002.html>


More information about the discuss mailing list