Mike Kolesnik has submitted this change and it was merged.
Change subject: core: Decouple networks & bonds names from list
......................................................................
core: Decouple networks & bonds names from list
In SetupNetworksHelper the modified networks were kept in a map,
but in order to send just the networks that changed, we need
to decouple the set of networks that are still attached to NIC
from the list of networks that were actually modified.
A similar change is done with the bonds map, but the field needs to
stay as a map in order to be able to process bonds correctly (in next
patches).
Change-Id: Ie324b1acd9022bc3d5f5f0a200040715954132bb
Signed-off-by: Mike Kolesnik <mkolesni(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/SetupNetworksHelper.java
M
backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/SetupNetworksHelperTest.java
2 files changed, 30 insertions(+), 33 deletions(-)
Approvals:
Mike Kolesnik: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/4926
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie324b1acd9022bc3d5f5f0a200040715954132bb
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Mike Kolesnik <mkolesni(a)redhat.com>
Gerrit-Reviewer: Livnat Peer <lpeer(a)redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni(a)redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag(a)redhat.com>