[ovs-dev] [PATCH 3/3] vswitch: Limit Open_vSwitch table to a single record.

Ben Pfaff blp at nicira.com
Wed Mar 17 00:10:42 UTC 2010


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

diff --git a/vswitchd/vswitch.ovsschema b/vswitchd/vswitch.ovsschema
index f0217cd..31f31b7 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": {
-- 
1.6.6.1





More information about the dev mailing list