Add list of authorized/denied instance types/networks per template
Daniel Dehennin wrote:
Ruben S. Montero wrote:This issue is to:
- add option to enable/disbale the capacity and network sections (create dialog).
In our use case, most of the time a user clone a VM template is to increase the capacity or run the VM on its own network, so cloud view is great for us, even if not completely used (#3414).
This could be a
falseor a list of authorized/denied capacities or networks, or two settings, a
falseflag, and when flag is
truecheck a list, for example:
In which case, just switching the
FALSEdisable all capacities.
For networks, if a user have the
USEACL on a shared network, but a VM has a built-in DHCP server, the admin could opt-in or opt-out the networks usable with this VM, for example:
The selection should include the
_ENABLEDlist first and then exclude the
These parameters should be saved if the user save the VM.
The capacities could be set in the VM template but I see it more useful at user groups, for example:
- every body is authorized to use
I understand that all of this is useless if the user can update its own VM templates:
- user clone a VM
- user update the VM template to remove the VM limitations
but the per group limitations stays