ovsdb: Add support for "enum" constraints.
authorBen Pfaff <blp@nicira.com>
Thu, 25 Feb 2010 22:59:33 +0000 (14:59 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 25 Feb 2010 22:59:41 +0000 (14:59 -0800)
commitbfc96d9b50ae119fcbf39a9511bd9f662e7ad390
tree254e753c940fa0997879b1494ef01d0558d91a4b
parenta26cc67c16932fa9d07da200bbff75889cfe7529
ovsdb: Add support for "enum" constraints.

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.
12 files changed:
lib/ovsdb-data.c
lib/ovsdb-data.h
lib/ovsdb-parser.h
lib/ovsdb-types.c
lib/ovsdb-types.h
ovsdb/SPECS
ovsdb/mutation.c
ovsdb/ovsdb-idlc.in
tests/ovs-vsctl.at
tests/ovsdb-data.at
tests/ovsdb-types.at
vswitchd/vswitch.ovsschema