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

mkolesni at redhat.com mkolesni at redhat.com
Mon Feb 10 09:49:29 UTC 2014


Mike Kolesnik 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/24247
To unsubscribe, visit http://gerrit.ovirt.org/settings

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



More information about the Engine-commits mailing list