[ovirt-devel] removed some "marked" fields from instance type

Tomas Jelinek tjelinek at redhat.com
Fri Nov 7 08:53:49 UTC 2014


Hi all,

as you may know, a subpart of the instance type entity (the "marked" column from [1]) are the ones which are marked with the chain icon in the VM dialogs.
The meaning is that this fields are so important that if you want the newly created VM to be based on that instance type, you can not change any of this fields.

The problem was that too many of the fields was "marked" which would force the user to create lots of instance types like: "big with soundcard", "big with smardcard and
soundcard", "medium with smardcard and without soundcard" etc. This after some more thinking seems to be an incorrect approach - the list of "marked" fields should be small and contain
only the really most important fields which lets you to categorize the VMs and not all the devices.

I have proposed two patches ([2], [3]) which implement this. According to this patches only the following fields will be "marked":
- memory size
- num of sockets/cores per socket
- HA
- migration model/downtime
- priority
- balloon
- min allocated memory

So the behavior will now be:
- the instance type still contains all kinds of devices we support
- only a small part of them are "marked"
- when the user creates a VM from an instance type, he will be provided by a big set of defaults from the instance type he can tune
- he will also be provided by a small set of fields he can not change if does not want to be detached from the instance type

Thoughts?
Tomas

[1]: http://www.ovirt.org/Features/Instance_Types#Design
[2]: http://gerrit.ovirt.org/#/c/34915/
[3]: http://gerrit.ovirt.org/#/c/34916/



More information about the Devel mailing list