<commit_before>.. _compute-flavors:

=======
Flavors
=======

Admin users can use the :command:`nova flavor-` commands to customize and
manage flavors. To see the available flavor-related commands, run:

.. code:: console

   $ nova help | grep flavor-
     flavor-access-add     Add flavor access for the given tenant.
     flavor-access-list    Print access information about the given flavor.
     flavor-access-remove  Remove flavor access for the given tenant.
     flavor-create         Create a new flavor
     flavor-delete         Delete a specific flavor
     flavor-key            Set or unset extra_spec for a flavor.
     flavor-list           Print a list of available 'flavors' (sizes of
     flavor-show           Show details about the given flavor.

.. note::

   -  Configuration rights can be delegated to additional users by
      redefining the access controls for
      ``compute_extension:flavormanage`` in :file:`/etc/nova/policy.json`
      on the nova-api server.

   -  To modify an existing flavor in the dashboard, you must delete
      the flavor and create a modified one with the same name.

Flavors define these elements:

**Identity Service configuration file sections**

+-------------+---------------------------------------------------------------+
| Element     | Description                                                   |
+=============+===============================================================+
| Name        | A descriptive name. XX.SIZE_NAME is typically not required,   |
|             | though some third party tools may rely on it.                 |
+-------------+---------------------------------------------------------------+
| Memory_MB   | Virtual machine memory in megabytes.                          |
+-------------+---------------------------------------------------------------+
| Disk        | Virtual root disk size in gigabytes. This is an ephemeral di\ |
|             | sk that the base image is copied into. When booting from a p\ |
|             | ersistent volume it is not used. The "0" size is a special c\ |
|             | ase which uses the native base image size as the size of the  |
|             | ephemeral root volume.                                        |
+-------------+---------------------------------------------------------------+
| Ephemeral   | Specifies the size of a secondary ephemeral data disk. This   |
|             | is an empty, unformatted disk and exists only for the life o\ |<commit_msg>Delete unrelated Inline markup in compute-flavors.rst<commit_after>.. _compute-flavors:

=======
Flavors
=======

Admin users can use the :command:`nova flavor-` commands to customize and
manage flavors. To see the available flavor-related commands, run:

.. code:: console

   $ nova help | grep flavor-
     flavor-access-add     Add flavor access for the given tenant.
     flavor-access-list    Print access information about the given flavor.
     flavor-access-remove  Remove flavor access for the given tenant.
     flavor-create         Create a new flavor
     flavor-delete         Delete a specific flavor
     flavor-key            Set or unset extra_spec for a flavor.
     flavor-list           Print a list of available 'flavors' (sizes of
     flavor-show           Show details about the given flavor.

.. note::

   -  Configuration rights can be delegated to additional users by
      redefining the access controls for
      ``compute_extension:flavormanage`` in :file:`/etc/nova/policy.json`
      on the nova-api server.

   -  To modify an existing flavor in the dashboard, you must delete
      the flavor and create a modified one with the same name.

Flavors define these elements:

+-------------+---------------------------------------------------------------+
| Element     | Description                                                   |
+=============+===============================================================+
| Name        | A descriptive name. XX.SIZE_NAME is typically not required,   |
|             | though some third party tools may rely on it.                 |
+-------------+---------------------------------------------------------------+
| Memory_MB   | Virtual machine memory in megabytes.                          |
+-------------+---------------------------------------------------------------+
| Disk        | Virtual root disk size in gigabytes. This is an ephemeral di\ |
|             | sk that the base image is copied into. When booting from a p\ |
|             | ersistent volume it is not used. The "0" size is a special c\ |
|             | ase which uses the native base image size as the size of the  |
|             | ephemeral root volume.                                        |
+-------------+---------------------------------------------------------------+
| Ephemeral   | Specifies the size of a secondary ephemeral data disk. This   |
|             | is an empty, unformatted disk and exists only for the life o\ |
{'fraction_non_alphanumeric': 0.21179302045728038, 'fraction_numerical': 0.00040112314480545525, 'mean_word_length': 1.4663699307616223, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 7, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4662305', 'n_tokens_mistral': 1115, 'n_tokens_neox': 1081, 'n_words': 486}