Mike Kolesnik has submitted this change and it was merged.
Change subject: engine: Replace validation by simpler one
......................................................................
engine: Replace validation by simpler one
The validation needs to check that network is not attached to a cluster.
This is simple enough to check by querying the NetworkCluster entity to
see it there exists any connection from this network to a cluster.
Change-Id: I02f78a56f367d738bd16c6c4b143a21893606628
Signed-off-by: Mike Kolesnik <mkolesni(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/dc/NetworkCommon.java
1 file changed, 4 insertions(+), 12 deletions(-)
Approvals:
Mike Kolesnik: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/10470
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I02f78a56f367d738bd16c6c4b143a21893606628
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Mike Kolesnik <mkolesni(a)redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni(a)redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag(a)redhat.com>
Gerrit-Reviewer: Muli Salem <msalem(a)redhat.com>