[ovs-dev] [PATCH] Revert "vswitchd: Require "target" column to be unique in OVS database."

Ben Pfaff blp at nicira.com
Tue Feb 12 19:42:28 UTC 2013


This reverts commit 41219e63a02bd315e7066145d72798f7a4204566.

In fact, the "target" column cannot be made unique within the
Controller table, because different bridges are allowed to have
the same target.  OVSDB does not have a way to express this
constraint, so it must be omitted entirely.

Reported-by: Saul St. John <sstjohn at cs.wisc.edu>
CC: Natasha Gude <natasha at nicira.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
---
I pushed this to master already, sending to the mailing list as a
notification only.

 vswitchd/vswitch.ovsschema |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/vswitchd/vswitch.ovsschema b/vswitchd/vswitch.ovsschema
index 53d1675..a7901a8 100644
--- a/vswitchd/vswitch.ovsschema
+++ b/vswitchd/vswitch.ovsschema
@@ -1,6 +1,6 @@
 {"name": "Open_vSwitch",
  "version": "7.0.0",
- "cksum": "438518409 17329",
+ "cksum": "3537583872 17299",
  "tables": {
    "Open_vSwitch": {
      "columns": {
@@ -428,8 +428,7 @@
          "ephemeral": true},
        "status": {
          "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
-         "ephemeral": true}},
-     "indexes": [["target"]]},
+         "ephemeral": true}}},
    "Manager": {
      "columns": {
        "target": {
-- 
1.7.2.5




More information about the dev mailing list