From 2b7093cd3c66b4f2c796256ef770c4a557e16492 Mon Sep 17 00:00:00 2001
From: Ben Pfaff <blp@nicira.com>
Date: Tue, 16 Mar 2010 17:09:44 -0700
Subject: [PATCH] vswitch: Limit Open_vSwitch table to a single record.

This table has always been limited to a single record.  This commit makes
the database itself enforce that limit.
---
 vswitchd/vswitch.ovsschema | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/vswitchd/vswitch.ovsschema b/vswitchd/vswitch.ovsschema
index 7196ed61..2331064f 100644
--- a/vswitchd/vswitch.ovsschema
+++ b/vswitchd/vswitch.ovsschema
@@ -22,7 +22,8 @@
        "next_cfg": {
          "type": "integer"},
        "cur_cfg": {
-         "type": "integer"}}},
+         "type": "integer"}},
+     "maxRows": 1},
    "Bridge": {
      "columns": {
        "name": {
-- 
2.30.2