Skip to content

Use Round Robin in Address Ranges#7053

Open
jujokini wants to merge 1 commit intoOpenNebula:masterfrom
TheQtCompanyRnD:round_robin
Open

Use Round Robin in Address Ranges#7053
jujokini wants to merge 1 commit intoOpenNebula:masterfrom
TheQtCompanyRnD:round_robin

Conversation

@jujokini
Copy link

@jujokini jujokini commented May 8, 2025

Description

Reusing same MAC addresses too fast has been occasionally an issue.

This pull request implements Round Robin algorithm for finding free addresses in address ranges.
NEXT_INDEX value is stored to the database for each Address range, and parsed when instantiating
AddressRange object. This has been tested on one-6.10-ce branch.

I am not 100% confident about all the places where NEXT_INDEX value needs to be stored or read. Please review and I'll make any modifications needed.

Branches to which this PR applies

  • [ X ] master
  • one-X.X

  • Check this if this PR should not be squashed

@jujokini jujokini marked this pull request as draft May 9, 2025 06:40
Signed-off-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
@jujokini jujokini marked this pull request as ready for review May 21, 2025 12:51
@aqupie
Copy link

aqupie commented Feb 5, 2026

We have been using this patch in our 6.8 environment for months and now also in 7.0.1 without issues. Would be good to have this included 7.x to get rid of the need for a custom build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants