Gilad Chaplik has submitted this change and it was merged.
Change subject: core: QoS name uniquness
......................................................................
core: QoS name uniquness
Prevent adding qos with the same name for same data center.
Also fixes state in which constraint cannot be applied, by
changing the name of a duplicated records which fail the addition
of the constraint.
Change-Id: I16c75592dd8a8745ecffc7728e6523de8be4f857
Bug-Url:
https://bugzilla.redhat.com/1105028
Signed-off-by: Gilad Chaplik <gchaplik(a)redhat.com>
---
M
backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/network/NetworkQosDaoTest.java
A packaging/dbscripts/upgrade/03_06_0780_qos_name_uniqueness.sql
2 files changed, 53 insertions(+), 0 deletions(-)
Approvals:
Gilad Chaplik: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/34154
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I16c75592dd8a8745ecffc7728e6523de8be4f857
Gerrit-PatchSet: 12
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Gilad Chaplik <gchaplik(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik(a)redhat.com>
Gerrit-Reviewer: Lior Vernia <lvernia(a)redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server