vswitch: Limit Open_vSwitch table to a single record.
authorBen Pfaff <blp@nicira.com>
Wed, 17 Mar 2010 00:09:44 +0000 (17:09 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 18 Mar 2010 18:32:26 +0000 (11:32 -0700)
This table has always been limited to a single record.  This commit makes
the database itself enforce that limit.

vswitchd/vswitch.ovsschema

index 7196ed6..2331064 100644 (file)
@@ -22,7 +22,8 @@
        "next_cfg": {
          "type": "integer"},
        "cur_cfg": {
-         "type": "integer"}}},
+         "type": "integer"}},
+     "maxRows": 1},
    "Bridge": {
      "columns": {
        "name": {