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

new resource ip4_available_network #5

Merged
merged 9 commits into from
Dec 9, 2020
Merged

Conversation

adarobin
Copy link
Member

@adarobin adarobin commented Dec 9, 2020

This splits the functionality out of ip4_network for taking a list of networks and finding the one with the most addresses free. I have built it in the spirit of the random_shuffle resource. It will now also allow picking a network from the list at random instead of the network with the most addresses free. With random, it will verify that there is at least 1 free address on the network before selecting it.

@adarobin adarobin force-pushed the ip4_available_network branch from 06ab68f to 9b2fe20 Compare December 9, 2020 21:50
1 error occurred:
	* resource bluecat_ip4_available_network: No Update defined, must set
ForceNew on: []string{"network_id_list"}

	* resource bluecat_ip4_available_network: network_id_list: ValidateFunc and
ValidateDiagFunc are not yet supported on lists or sets.
@adarobin adarobin merged commit de7adfb into master Dec 9, 2020
@adarobin adarobin deleted the ip4_available_network branch August 26, 2021 16:36
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