ovsdb-idlc: Generate new *_get_for_uuid() functions.
authorBen Pfaff <blp@nicira.com>
Fri, 28 Mar 2014 02:11:20 +0000 (19:11 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 28 Mar 2014 15:06:46 +0000 (08:06 -0700)
commit8c6cf7b8a6f159a284f78db8dbac1fd0a0f197a4
treecb0827a673c251373470260465727179a6cf4c72
parentb6c4da210dccd802d775a58af1b6eac2e866d011
ovsdb-idlc: Generate new *_get_for_uuid() functions.

This allows a client to obtain the IDL version of a row given its UUID.
It isn't normally useful, but there's a specialized use case for getting
the IDL version of a row given the UUID returned by
ovsdb_idl_txn_get_insert_uuid() following transaction commit.

An alternative would be to generate table-specific versions of
ovsdb_idl_txn_get_insert_uuid().  That seems reasonable to me too.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Andy Zhou <azhou@nicira.com>
ovsdb/ovsdb-idlc.in