Revert "vswitchd: Require "target" column to be unique in OVS database."
authorBen Pfaff <blp@nicira.com>
Tue, 12 Feb 2013 19:38:05 +0000 (11:38 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 12 Feb 2013 19:40:21 +0000 (11:40 -0800)
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@cs.wisc.edu>
CC: Natasha Gude <natasha@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
vswitchd/vswitch.ovsschema

index 53d1675..a7901a8 100644 (file)
@@ -1,6 +1,6 @@
 {"name": "Open_vSwitch",
  "version": "7.0.0",
- "cksum": "438518409 17329",
+ "cksum": "3537583872 17299",
  "tables": {
    "Open_vSwitch": {
      "columns": {
          "ephemeral": true},
        "status": {
          "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
-         "ephemeral": true}},
-     "indexes": [["target"]]},
+         "ephemeral": true}}},
    "Manager": {
      "columns": {
        "target": {