Add ids to sections of flavors guide to allow deep-linking

The flavors section of the user guide is comprehensive with many
sub-sections, but only some of them had anchor ids.  Add anchors for
the rest so that deep-linking to any of these sub-sections is
possible.

Change-Id: I84984d7534c9c92b51fb4e1797cf6a9db3c28755
This commit is contained in:
Adam Spiers
2019-04-17 15:53:04 +01:00
committed by Eric Fried
parent e25d59078e
commit 5ee6e75ab6
+30
View File
@@ -107,6 +107,8 @@ Extra Specs
the ``cpu_shares_level`` option outside of documentation and (possibly)
useless tests. We should assess which drivers each option actually apply to.
.. _extra-specs-CPU-limits:
CPU limits
You can configure the CPU limits with control parameters. For example, to
configure the I/O limit, use:
@@ -161,6 +163,8 @@ CPU limits
In this example, an instance of ``FLAVOR-NAME`` can only consume a maximum
of 50% CPU of a physical CPU computing capability.
.. _extra-specs-memory-limits:
Memory limits
For VMware, you can configure the memory limits with control parameters.
@@ -192,6 +196,8 @@ Memory limits
--property quota:memory_shares_level=custom \
--property quota:memory_shares_share=15
.. _extra-specs-disk-io-limits:
Disk I/O limits
For VMware, you can configure the resource limits for disk with control
parameters.
@@ -223,6 +229,8 @@ Disk I/O limits
$ openstack flavor set FLAVOR-NAME \
--property quota:disk_io_reservation=2000
.. _extra-specs-disk-tuning:
Disk tuning
Using disk I/O quotas, you can set maximum disk write to 10 MB per second for
a VM user. For example:
@@ -241,6 +249,8 @@ Disk tuning
- ``disk_total_bytes_sec``
- ``disk_total_iops_sec``
.. _extra-specs-bandwidth-io:
Bandwidth I/O
The vif I/O options are:
@@ -300,6 +310,8 @@ Bandwidth I/O
using `Data rate units on Wikipedia
<https://en.wikipedia.org/wiki/Data_rate_units>`_.
.. _extra-specs-hardware-video-ram:
Hardware video RAM
Specify ``hw_video:ram_max_mb`` to control the maximum RAM for the video
image. Used in conjunction with the ``hw_video_ram`` image property.
@@ -314,6 +326,8 @@ Hardware video RAM
for more information on how this is used to set the ``videoRamSizeInKB`` attribute with
the vmware driver.
.. _extra-specs-watchdog-behavior:
Watchdog behavior
For the libvirt driver, you can enable and set the behavior of a virtual
hardware watchdog device for each flavor. Watchdog devices keep an eye on the
@@ -340,6 +354,8 @@ Watchdog behavior
Watchdog behavior set using a specific image's properties will override
behavior set using flavors.
.. _extra-specs-random-number-generator:
Random-number generator
If a random-number generator device has been added to the instance through
its image properties, the device can be enabled and configured using:
@@ -357,6 +373,8 @@ Random-number generator
the host's entropy per period.
- RATE-PERIOD: (integer) Duration of the read period in seconds.
.. _extra-specs-cpu-topology:
CPU topology
For the libvirt driver, you can define the topology of the processors in the
virtual machine using properties. The properties with ``max`` limit the
@@ -549,6 +567,8 @@ CPU real-time policy
The ``hw:cpu_realtime_mask`` option is only valid if ``hw:cpu_realtime``
is set to ``yes``.
.. _extra-specs-emulator-threads-policy:
Emulator threads policy
For the libvirt driver, you can assign a separate pCPU to an instance that
will be used for emulator threads, which are emulator processes not directly
@@ -588,6 +608,8 @@ Emulator threads policy
- Pinned to a single pCPU distinct from the instance's pCPUs
- Pinned to a single pCPU distinct from the instance's pCPUs
.. _extra-specs-large-pages-allocation:
Large pages allocation
You can configure the size of large pages used to back the VMs.
@@ -636,6 +658,8 @@ PCI passthrough
- COUNT: (integer) The amount of PCI devices of type ALIAS to be assigned to
a guest.
.. _extra-specs-hiding-hypervisor-signature:
Hiding hypervisor signature
Some hypervisors add a signature to their guests. While the presence
of the signature can enable some paravirtualization features on the
@@ -658,6 +682,8 @@ Hiding hypervisor signature
- VALUE: (string) 'true' or 'false'. 'false' is equivalent to the
property not existing.
.. _extra-specs-secure-boot:
Secure Boot
When your Compute services use the Hyper-V hypervisor, you can enable secure
boot for Windows and Linux instances.
@@ -673,6 +699,8 @@ Secure Boot
- ``disabled`` or ``optional``: (default) Disable Secure Boot for instances
running with this flavor.
.. _extra-specs-required-resources:
Custom resource classes and standard resource classes to override
Added in the 16.0.0 Pike release.
@@ -745,6 +773,8 @@ Forbidden traits
.. _osc-placement plugin: https://docs.openstack.org/osc-placement/latest/index.html
.. _extra-specs-numbered-resource-groupings:
Numbered groupings of resource classes and traits
Added in the 18.0.0 Rocky release.