Fix some word spellings in messages
Change-Id: I40e3c0f3b99ae853f84609c5334e6d230dfff867
This commit is contained in:
parent
5e52d3bec0
commit
f86daf0607
@ -121,7 +121,7 @@ This acts conceptually like the "Accept" header. Semantically this means:
|
|||||||
|
|
||||||
.. warning:: The ``latest`` value is mostly meant for integration testing and
|
.. warning:: The ``latest`` value is mostly meant for integration testing and
|
||||||
would be dangerous to rely on in client code since microversions are not
|
would be dangerous to rely on in client code since microversions are not
|
||||||
following semver and therefore backward compability is not guaranteed.
|
following semver and therefore backward compatibility is not guaranteed.
|
||||||
Clients should always require a specific microversion but limit what is
|
Clients should always require a specific microversion but limit what is
|
||||||
acceptable to the microversion range that it understands at the time.
|
acceptable to the microversion range that it understands at the time.
|
||||||
|
|
||||||
|
@ -110,7 +110,7 @@ With little testing there are likely to be many unknown bugs.
|
|||||||
For a feature to be considered complete, we must have:
|
For a feature to be considered complete, we must have:
|
||||||
|
|
||||||
* Complete API docs (concept and REST call definition)
|
* Complete API docs (concept and REST call definition)
|
||||||
* Complete Adminstrator docs
|
* Complete Administrator docs
|
||||||
* Tempest tests that define if the feature works correctly
|
* Tempest tests that define if the feature works correctly
|
||||||
* Has enough functionality, and works reliably enough to be useful
|
* Has enough functionality, and works reliably enough to be useful
|
||||||
in real world scenarios
|
in real world scenarios
|
||||||
|
@ -563,7 +563,7 @@ class Resource(wsgi.Application):
|
|||||||
# the DiskConfig and SchedulerHints from what I can see.
|
# the DiskConfig and SchedulerHints from what I can see.
|
||||||
#
|
#
|
||||||
# pre_process_extensions can be removed when the legacyv2 code
|
# pre_process_extensions can be removed when the legacyv2 code
|
||||||
# goes away. post_proccess_extensions can be massively simplified
|
# goes away. post_process_extensions can be massively simplified
|
||||||
# at that point.
|
# at that point.
|
||||||
def pre_process_extensions(self, extensions, request, action_args):
|
def pre_process_extensions(self, extensions, request, action_args):
|
||||||
# List of callables for post-processing extensions
|
# List of callables for post-processing extensions
|
||||||
|
@ -80,7 +80,7 @@ def _soft_validate_additional_properties(validator,
|
|||||||
instance,
|
instance,
|
||||||
schema):
|
schema):
|
||||||
"""This validator function is used for legacy v2 compatible mode in v2.1.
|
"""This validator function is used for legacy v2 compatible mode in v2.1.
|
||||||
This will skip all the addtional properties checking but keep check the
|
This will skip all the additional properties checking but keep check the
|
||||||
'patternProperties'. 'patternProperties' is used for metadata API.
|
'patternProperties'. 'patternProperties' is used for metadata API.
|
||||||
|
|
||||||
If there are not any properties on the instance that are not specified in
|
If there are not any properties on the instance that are not specified in
|
||||||
|
@ -159,7 +159,7 @@ class CPUAllocationPolicy(Enum):
|
|||||||
class CPUThreadAllocationPolicy(Enum):
|
class CPUThreadAllocationPolicy(Enum):
|
||||||
|
|
||||||
# prefer (default): The host may or may not have hyperthreads. This
|
# prefer (default): The host may or may not have hyperthreads. This
|
||||||
# retains the legacy behavior, whereby siblings are prefered when
|
# retains the legacy behavior, whereby siblings are preferred when
|
||||||
# available. This is the default if no policy is specified.
|
# available. This is the default if no policy is specified.
|
||||||
PREFER = "prefer"
|
PREFER = "prefer"
|
||||||
# isolate: The host may or many not have hyperthreads. If hyperthreads are
|
# isolate: The host may or many not have hyperthreads. If hyperthreads are
|
||||||
|
@ -1959,7 +1959,7 @@ class _CPUPinningTestCaseBase(object):
|
|||||||
for inst_p, host_p in instance_cell.cpu_pinning.items():
|
for inst_p, host_p in instance_cell.cpu_pinning.items():
|
||||||
pins_per_sib[cpu_to_sib[host_p]] += 1
|
pins_per_sib[cpu_to_sib[host_p]] += 1
|
||||||
self.assertTrue(max(pins_per_sib.values()) > 1,
|
self.assertTrue(max(pins_per_sib.values()) > 1,
|
||||||
"Seems threads were not prefered by the pinning "
|
"Seems threads were not preferred by the pinning "
|
||||||
"logic.")
|
"logic.")
|
||||||
|
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@ class SnapshotOps(object):
|
|||||||
try:
|
try:
|
||||||
instance_synchronized_snapshot()
|
instance_synchronized_snapshot()
|
||||||
except os_win_exc.HyperVVMNotFoundException:
|
except os_win_exc.HyperVVMNotFoundException:
|
||||||
# the instance might dissapear before starting the operation.
|
# the instance might disappear before starting the operation.
|
||||||
raise exception.InstanceNotFound(instance_id=instance.uuid)
|
raise exception.InstanceNotFound(instance_id=instance.uuid)
|
||||||
|
|
||||||
def _snapshot(self, context, instance, image_id, update_task_state):
|
def _snapshot(self, context, instance, image_id, update_task_state):
|
||||||
|
@ -374,7 +374,7 @@ class Guest(object):
|
|||||||
"""Returns information on Guest
|
"""Returns information on Guest
|
||||||
|
|
||||||
:param host: a host.Host object with current
|
:param host: a host.Host object with current
|
||||||
connection. Unfortunatly we need to pass it
|
connection. Unfortunately we need to pass it
|
||||||
because of a workaround with < version 1.2..11
|
because of a workaround with < version 1.2..11
|
||||||
|
|
||||||
:returns list: [state, maxMem, memory, nrVirtCpu, cpuTime]
|
:returns list: [state, maxMem, memory, nrVirtCpu, cpuTime]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user