summaryrefslogtreecommitdiff
path: root/tests/ovsdb-mutation.at
Commit message (Collapse)AuthorAgeFilesLines
* ovsdb: Enforce immutability of immutable columns.Ben Pfaff2012-09-051-0/+12
| | | | | | | | | | | OVSDB has always had the ability to mark a column as "immutable", so that its value cannot be changed in a given row after that row is initially inserted. However, we discovered recently that ovsdb-server has never enforced this constraint. This commit implements enforcement. Reported-by: Paul Ingram <paul@nicira.com> Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Kyle Mestery <kmestery@cisco.com>
* ovsdb: Add test for number-of-elements constraints.Ben Pfaff2011-05-311-0/+39
| | | | | This test already passes, but I did not see any existing test that checked for this problem.
* ovsdb: Make scalars and 1-element sets interchangeable.Ben Pfaff2010-02-081-30/+30
| | | | | | 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.
* ovsdb: Add simple constraints.Ben Pfaff2010-02-081-5/+81
|
* Rework and simplify the "lcov" support for the testsuite.Ben Pfaff2010-02-021-1/+1
|
* ovsdb: Add new "mutation" operation to transactions.Ben Pfaff2009-12-161-0/+700