Change in ovirt-engine[ovirt-engine-3.4]: engine: Initialize MAC pool partially

iheim at redhat.com iheim at redhat.com
Mon Feb 10 14:53:22 UTC 2014


Itamar Heim has submitted this change and it was merged.

Change subject: engine: Initialize MAC pool partially
......................................................................


engine: Initialize MAC pool partially

If MAC pool exceeds the maximum then we will initialize it until its
full. An error is being written to the log in this case.

The partial initialization will prevent an OOM in case of a really big
range (not entirely though, this will be fixed in the future).

Change-Id: I0547509eb81a51599e2342503c9f108df1fa47c7
Bug-Url: https://bugzilla.redhat.com/1056803
Signed-off-by: Mike Kolesnik <mkolesni at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/MacPoolManager.java
M backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/MacAddressRangeUtils.java
2 files changed, 14 insertions(+), 10 deletions(-)

Approvals:
  Mike Kolesnik: Verified
  Moti Asayag: Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/24270
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I0547509eb81a51599e2342503c9f108df1fa47c7
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.4
Gerrit-Owner: Mike Kolesnik <mkolesni at redhat.com>
Gerrit-Reviewer: Itamar Heim <iheim at redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list