[ovs-dev] [indexes 6/6] vswitchd: Add unique indexes for some columns.

Justin Pettit jpettit at nicira.com
Mon Jun 6 07:52:25 UTC 2011


On Jun 2, 2011, at 4:19 PM, Ben Pfaff wrote:

> @@ -353,7 +355,8 @@
>          "ephemeral": true},
>        "status": {
>          "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
> -         "ephemeral": true}}},
> +         "ephemeral": true}},
> +     "indexes": [["target"]]},

I believe this is the Controller table.  Do we want to require the target to be unique?  I think we may want to be able to have different bridges point to the same controller with different configurations.

What about the "name" field in the Mirror table?  I don't think I saw that listed.

Otherwise, this looks good.  Thanks!

--Justin





More information about the dev mailing list