Change in ovirt-engine[master]: core: Decouple networks & bonds names from list

mkolesni at redhat.com mkolesni at redhat.com
Wed Jun 6 09:45:01 UTC 2012


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 at 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 at redhat.com>
Gerrit-Reviewer: Livnat Peer <lpeer at redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>



More information about the Engine-commits mailing list