2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-28 21:07:47 +00:00

5 Commits

Author SHA1 Message Date
Ethan Jackson
a6d214f005 lib: Suppress comparison warnings in ovsdb libraries.
This patch fixes compiler warnings like the following:

./lib/ovsdb-types.h:171:5: error: comparison of unsigned expression
>= 0 is always true [-Werror=type-limits]
2011-09-13 14:29:10 -07:00
Ben Pfaff
53d046612d ovsdb-parser: Use sset instead of svec for detecting unused members.
Should be slightly cheaper than sorting a list (O(n) vs. O(n lg n)).
2011-03-31 16:42:01 -07:00
Ben Pfaff
b966380b45 ovsdb: Require database, table, column names to be valid identifiers.
Database, table, and column names have always been required by the OVSDB
specification to be identifiers (e.g. valid C identifiers), but this has
never been enforced.

This commit adds enforcement and fixes one instance of an invalid column
name in the vswitch schema.
2009-11-19 16:48:12 -08:00
Ben Pfaff
4d0101a032 ovsdb-parser: Fix logic in ovsdb_parser_member().
I don't know why this test was written as it was.  The new test makes more
sense, and may be more correct as well.
2009-11-16 16:56:07 -08:00
Ben Pfaff
f85f8ebbfa Initial implementation of OVSDB. 2009-11-04 17:12:10 -08:00