ovsdb: Make scalars and 1-element sets interchangeable.
authorBen Pfaff <blp@nicira.com>
Tue, 9 Feb 2010 00:37:49 +0000 (16:37 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 9 Feb 2010 00:37:49 +0000 (16:37 -0800)
commitae8f13e29057e233712356b3c03f02a7ef4e1e93
tree3450bd2f4b286cfc36a20fb201962780728af02a
parentfbf925e45da7100e5018bd3ad49532e407666f77
ovsdb: Make scalars and 1-element sets interchangeable.

It is natural to write "abc" in place of ["set",["abc"]] and vice versa.
I cannot think of a reason not to support this, and it can make reading
and writing OVSDB files and transactions easier, so support it.
lib/ovsdb-data.c
lib/ovsdb-types.c
ovsdb/SPECS
tests/ovsdb-condition.at
tests/ovsdb-data.at
tests/ovsdb-mutation.at
tests/ovsdb-row.at