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 7196ed6192b78d3046c99d219343f408f8a81a60..2331064fffcd65ed31684a08ea88d545a597f8fe 100644 (file)
@@ -22,7 +22,8 @@
        "next_cfg": {
          "type": "integer"},
        "cur_cfg": {
-         "type": "integer"}}},
+         "type": "integer"}},
+     "maxRows": 1},
    "Bridge": {
      "columns": {
        "name": {