aboutsummaryrefslogtreecommitdiff
path: root/lib/ovsdb-types.c
AgeCommit message (Collapse)Author
2011-08-24python: Take advantage of Python "x < y < z" syntax.Ben Pfaff
Suggested-by: Reid Price <reid@nicira.com>
2010-03-17ovsdb: Add support for weak references.Ben Pfaff
2010-02-25ovsdb: Add support for "enum" constraints.Ben Pfaff
Some of the uses for the formerly supported regular expression constraints were simply to limit values to those in a set of allowed values. This commit adds support for that kind of simple enumeration constraint.
2010-02-25ovsdb: Drop regular expression constraints.Ben Pfaff
Regular expression constraints have caused nothing but trouble due to the lack of a ubiquitous regular expression library. PCRE is *almost* everywhere, but it has different versions, and different features, and different bugs, in different places. It is more trouble than it is worth. So this commit drops support.
2010-02-08ovsdb: Make scalars and 1-element sets interchangeable.Ben Pfaff
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.
2010-02-08ovsdb: Fix support for systems where libpcre is not installed.Ben Pfaff
This is one of the loose ends that I intended to fix up and test before pushing off my commits to add use of PCRE, but obviously I forgot.
2010-02-08ovsdb: Add support for referential integrity in the database itself.Ben Pfaff
2010-02-08ovsdb: Add simple constraints.Ben Pfaff
2010-01-26ovsdb: Require column type "min" value be 0 or 1.Ben Pfaff
A "min" value greater than 1 is problematic for the database. There is no reasonable way to synthesize a default value for such a column: keys in a set or map must unique, so the database cannot, say, simply set a set of 3 or more integers to [0, 0, 0]. This should have no effect on the vswitch in practice because it does not have any columns that require more than one element.
2009-11-04Initial implementation of OVSDB.Ben Pfaff