Moti Asayag has submitted this change and it was merged.
Change subject: engine: Extract common code for network used
......................................................................
engine: Extract common code for network used
This validation is the same for hosts, VMs and templates; so extracted
it to a common method that handles the core validation logic, and the
calling methods need just to supply the entities and a replacement for
their verbal representation in the message.
Change-Id: I42fdbca64b805cc5d506b2b63add176062b93124
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, 12 insertions(+), 25 deletions(-)
Approvals:
Mike Kolesnik: Verified
Moti Asayag: Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/10768
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I42fdbca64b805cc5d506b2b63add176062b93124
Gerrit-PatchSet: 2
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>