Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow control over IP allocation method during host create #551

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

terjekv
Copy link
Collaborator

@terjekv terjekv commented Sep 11, 2024

Allow users to select either random or first free from a network when asking for an IP during host creation. Adds the optional field allocation_method to POST for /hosts/ when asking for a network allocation, allowing the values of either "first" or "random". Defaults to first if not set.

The previous behaviour with network was random only.

@terjekv terjekv self-assigned this Sep 11, 2024
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.

1 participant