aboutsummaryrefslogtreecommitdiff
path: root/vswitchd
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-03-16 17:09:44 -0700
committerBen Pfaff <blp@nicira.com>2010-03-18 11:32:26 -0700
commit2b7093cd3c66b4f2c796256ef770c4a557e16492 (patch)
tree7e0a45872899243224b96eef8057f3a979d5d78f /vswitchd
parent87ab878cadeb8cf5f8f89a7d00bfc64ee6b4edbf (diff)
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.
Diffstat (limited to 'vswitchd')
-rw-r--r--vswitchd/vswitch.ovsschema3
1 files changed, 2 insertions, 1 deletions
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": {