-
Notifications
You must be signed in to change notification settings - Fork 53
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
Support Virtual Network scheduling (NETWORK_MODE = "auto") on virtual machine nics #477
Comments
Might be handy for datastores also? |
For the disk with datastore scheduling open an other issue, please. At first glance:
This will require careful testing regarding the tests cases to cover, the complexity of nic management code etc. |
treywelsh
added a commit
that referenced
this issue
Nov 7, 2023
treywelsh
added a commit
that referenced
this issue
Nov 15, 2023
treywelsh
added a commit
that referenced
this issue
Nov 17, 2023
treywelsh
added a commit
that referenced
this issue
Nov 17, 2023
treywelsh
added a commit
that referenced
this issue
Nov 28, 2023
treywelsh
added a commit
that referenced
this issue
Nov 28, 2023
treywelsh
added a commit
that referenced
this issue
Jan 16, 2024
frousselet
pushed a commit
that referenced
this issue
Jan 16, 2024
frousselet
pushed a commit
that referenced
this issue
Jan 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
https://docs.opennebula.io/6.2/management_and_operations/capacity_planning/scheduling.html#scheduling-virtual-networks
There is already a
sched_requirements
property on theopennebula_virtual_machine
andopennebula_template
definition, so it would make sense to carry this through to the nic structure.I propose to add a mechanism to enable NETWORK_MODE=auto and other parameters to automatically determine the NIC to attach to a VM and Template.
It could look something like this:
This would enable automatic nic scheduling for VMs and reduce the terraform resources needed to set up a VM
From the docs:
New or affected resources and data sources
opennebula_virtual_machine
andopennebula_template
Potential terraform configuration
NIC = [ NETWORK_MODE = "auto",
SCHED_REQUIREMENTS = "TRAFFIC_TYPE = "public"",
SCHED_RANK = "-USED_LEASES" ]
The text was updated successfully, but these errors were encountered: