On 11/29/22 01:32, Terry Wilson wrote: > On Sun, Nov 27, 2022 at 9:56 PM <[email protected] <mailto:[email protected]>> > wrote: > > From: Numan Siddique <[email protected] <mailto:[email protected]>> > > ovsdb-server allows the OVSDB clients to specify the uuid for > the row inserts [1]. Both the C IDL client library and Python > IDL are missing this feature. This patch adds this support. > > In C IDL, for each schema table, a new function is generated - > <schema_table>insert_persistent_uuid(txn, uuid) which can > be used the clients to persist the uuid. > > ovs-vsctl and other derivatives of ctl now supports the same > in the generic 'create' command with the option "--id=<UUID>". > > In Python IDL, the uuid to persist can be specified in > the Transaction.insert() function. > > [1] - a529e3cd1f("ovsdb-server: Allow OVSDB clients to specify the UUID > for inserted rows.:) > > Signed-off-by: Numan Siddique <[email protected] <mailto:[email protected]>> > Acked-by: Adrian Moreno <[email protected] <mailto:[email protected]>> > Acked-by: Han Zhou <[email protected] <mailto:[email protected]>> > CC: [email protected] <mailto:[email protected]> > CC: [email protected] <mailto:[email protected]> > > Looks good to me, I'll work on adding some code to ovsdbapp that uses this as > well. Thanks! > > Acked-by: Terry Wilson <[email protected] <mailto:[email protected]>>
Applied. Thanks! Best regards, Ilya Maximets. _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
