virt: update doctrings

The following were incorrect:
 - hw:cpu_maxsockets => hw:cpu_max_sockets
 - hw:cpu_maxcores => hw:cpu_max_cores
 - hw:cpu_maxthreads => hw:cpu_max_threads

TrivialFix

Change-Id: Ia30d2267b7512d0c66c76145cda3d370a6d4afee
This commit is contained in:
Gary Kotton 2015-06-26 07:36:37 -07:00
parent edd5ad55a9
commit fe0830fa7d
1 changed files with 6 additions and 6 deletions

View File

@ -263,18 +263,18 @@ def _get_cpu_topology_constraints(flavor, image_meta):
hw:cpu_sockets - preferred socket count hw:cpu_sockets - preferred socket count
hw:cpu_cores - preferred core count hw:cpu_cores - preferred core count
hw:cpu_threads - preferred thread count hw:cpu_threads - preferred thread count
hw:cpu_maxsockets - maximum socket count hw:cpu_max_sockets - maximum socket count
hw:cpu_maxcores - maximum core count hw:cpu_max_cores - maximum core count
hw:cpu_maxthreads - maximum thread count hw:cpu_max_threads - maximum thread count
In the image metadata this will look at In the image metadata this will look at
hw_cpu_sockets - preferred socket count hw_cpu_sockets - preferred socket count
hw_cpu_cores - preferred core count hw_cpu_cores - preferred core count
hw_cpu_threads - preferred thread count hw_cpu_threads - preferred thread count
hw_cpu_maxsockets - maximum socket count hw_cpu_max_sockets - maximum socket count
hw_cpu_maxcores - maximum core count hw_cpu_max_cores - maximum core count
hw_cpu_maxthreads - maximum thread count hw_cpu_max_threads - maximum thread count
The image metadata must be strictly lower than any values The image metadata must be strictly lower than any values
set in the flavor. All values are, however, optional. set in the flavor. All values are, however, optional.