[ovs-discuss] ovsdb update operation

Ben Pfaff blp at nicira.com
Wed Feb 25 20:06:33 UTC 2015


Please see the OVS makefiles, specifically the idlc related stuff in
ovsdb/automake.mk, also the manpage for ovsdb-idlc.

On Wed, Feb 25, 2015 at 07:53:05PM +0000, vis reddy wrote:
> 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.
> 
> 
>   



More information about the discuss mailing list