ovsdb: Allow a named-uuid to be used within the operation that creates it.
authorBen Pfaff <blp@nicira.com>
Wed, 2 Dec 2009 00:35:33 +0000 (16:35 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 2 Dec 2009 19:18:59 +0000 (11:18 -0800)
commit6e30ca6372f83f6b4ba9ee7bf7ac464c79708ce1
tree12f1866d99d808028b2f343f8474614a3bfb2f4e
parentb36682d8dcf5290fc70d99c5bc1aa1e0be6d878e
ovsdb: Allow a named-uuid to be used within the operation that creates it.

This allows a transaction like this:

[{"op": "insert",
  "table": "mytable",
  "row": {"i": 0, "k": ["named-uuid", "self"]},
  "uuid-name": "self"}]

It was already possible to do this by following up on the "insert" with an
"update", but since this was easy to implement I did it.
ovsdb/SPECS
ovsdb/execution.c