TOSCA property for ephemeral disk size

Asked by Chip Boling

Is there currently (or planned ) TOSCA property for specifying the ephemeral disk size much the 'disk_size' used for block storage.

Currently I am using a pre-created flavor and specifying that, but may need to make this a parameter in the template in the near future.

  - Chip

Question information

English Edit question
tacker Edit question
Bob Haddleton Edit question
Last query:
Last reply:
Revision history for this message
Bob Haddleton (bob-haddleton) said :

Hi Chip:

I assume you are interested in the case where you don't specify the flavor directly but use the num_cpus/etc to have the flavor automatically selected.

The TOSCA Simple Profile includes disk_size as a property of the host capability defined for a Compute:

      type: tosca.nodes.Compute
        # Host container properties
           num_cpus: 1
           disk_size: 10 GB
           mem_size: 4096 MB

so the disk_size would be one of the factors used to select the appropriate flavor.

There are some sample templates in the Tacker git repo:

that show how this is used.

Hope this helps

Can you help with this problem?

Provide an answer of your own, or ask Chip Boling for more information if necessary.

To post a message you must log in.