Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Why does Openstack use flavor in APIs?

Hello, this question is more about a problem of understanding. I would like to know why an instance is created with a flavor as parameter and not with the directly with the parameters of the flavor. E.g: why this: server_create(imageRef, flavorRef...) and not this: server_create(imageRef, ram, disk, vcpus...) ?

Thanks beforehand.

Why does Openstack use flavor in APIs?

Hello, this question is more about a problem of understanding. I would like to know why an instance is created with a flavor as parameter and not with the directly with the parameters of the flavor. E.g: flavor.

E.g:

why this: this:

server_create(imageRef, flavorRef...) flavorRef...)

and not this: this:

server_create(imageRef, ram, disk, vcpus...) ?

Thanks beforehand.

Why does Openstack use flavor in APIs?

Hello, this question is more about a problem of understanding. I would like to know why an instance is created with a flavor as parameter and not directly with the parameters of the flavor.

E.g:

why this:

server_create(imageRef, flavorRef...)

and not this:

server_create(imageRef, ram, disk, vcpus...) ?

Thanks beforehand.