Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vswitchd: Require "target" column to be unique in OVS database.
Commit cc7ecee (vswitchd: Add unique indexes for some columns.) says, in part: With this commit, the database server itself rejects attempts to add Port or Interface records with duplicate names or Controller or Manager records with duplicate targets. but in fact didn't change the Controller table as described. This commit fixes that. This commit updates the schema version number's major version, because this is a potentially non-backward compatible change, if some user depended on the ability to add Controller records with duplicate targets. However, if anyone thinks this is a bad idea, then I'm open to discussion. Reported-by: Natasha Gude <[email protected]> Signed-off-by: Ben Pfaff <[email protected]> Acked-by: Ethan Jackson <[email protected]>
- Loading branch information