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 <[email protected]>
---
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 <[email protected]>
Gerrit-Reviewer: Mike Kolesnik <[email protected]>
Gerrit-Reviewer: Moti Asayag <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to