Improve 'virt' conf options documentation

Expand the documentation of the existing options.

Change-Id: I2e6defce17d6fcabfecf4cdb36ba7e7aa2f3e0f5
Implements: blueprint centralize-config-options
This commit is contained in:
Stephen Finucane 2015-12-11 11:24:09 +00:00
parent 75bea43b73
commit 0c312c2cf6
1 changed files with 20 additions and 2 deletions

View File

@ -16,8 +16,26 @@ from oslo_config import cfg
vcpu_pin_set = cfg.StrOpt(
'vcpu_pin_set',
help='Defines which pcpus that instance vcpus can use. For example, '
'"4-12,^8,15"')
help="""Defines which physical CPUs (pCPUs) can be used by instance
virtual CPUs (vCPUs).
Possible values:
* A comma-separated list of physical CPU numbers that virtual CPUs can be
allocated to by default. Each element should be either a single CPU number,
a range of CPU numbers, or a caret followed by a CPU number to be
excluded from a previous range. For example:
vcpu_pin_set = "4-12,^8,15"
Services which consume this:
* nova-scheduler
* nova-compute
Related options:
* None""")
ALL_OPTS = [vcpu_pin_set]