[codespell] Fixing Spelling Mistakes
This is the first in a series of commits to add support for codespell. This is continuning the process completed in ironic-python-agent. Future Commits will add a Tox Target, CI support and potentially a git-blame-ignore-revs file if their are lots of spelling mistakes that could clutter git blame. Change-Id: Iab417bfd09cb0bf416982733933c29e49e3229eb
This commit is contained in:
parent
b319505e2f
commit
9bb0fcd05e
@ -206,7 +206,7 @@ class VersionNegotiationMixin(object):
|
||||
raise ValueError(textwrap.fill(
|
||||
_("The 'latest' API version can not be requested "
|
||||
"in a list of versions. Please explicitly request "
|
||||
"'latest' or request only versios between "
|
||||
"'latest' or request only versions between "
|
||||
"%(min)s to %(max)s")
|
||||
% {'min': min_ver, 'max': max_ver}))
|
||||
|
||||
|
@ -29,7 +29,7 @@ CLIENT_CLASS = 'ironicclient.v1.client.Client'
|
||||
API_VERSION_OPTION = 'os_baremetal_api_version'
|
||||
API_NAME = 'baremetal'
|
||||
# NOTE(TheJulia) Latest known version tracking has been moved
|
||||
# to the ironicclient/common/http.py file as the OSC committment
|
||||
# to the ironicclient/common/http.py file as the OSC commitment
|
||||
# is latest known, and we should only store it in one location.
|
||||
LAST_KNOWN_API_VERSION = http.LAST_KNOWN_API_VERSION
|
||||
LATEST_VERSION = http.LATEST_VERSION
|
||||
|
@ -1675,14 +1675,15 @@ class UnsetBaremetalNode(command.Command):
|
||||
metavar="<key>",
|
||||
action='append',
|
||||
help=_('Driver information to unset on this baremetal node '
|
||||
'(repeat option to unset multiple driver informations)'),
|
||||
'(repeat option to unset multiple items '
|
||||
'in driver information)'),
|
||||
)
|
||||
parser.add_argument(
|
||||
"--instance-info",
|
||||
metavar="<key>",
|
||||
action='append',
|
||||
help=_('Instance information to unset on this baremetal node '
|
||||
'(repeat option to unset multiple instance informations)'),
|
||||
'(repeat option to unset multiple instance information)'),
|
||||
)
|
||||
parser.add_argument(
|
||||
"--chassis-uuid",
|
||||
@ -2356,7 +2357,7 @@ class NodeInventorySave(command.Command):
|
||||
|
||||
|
||||
class NodeChildrenList(command.ShowOne):
|
||||
"""Get a list of nodes assocated as children."""
|
||||
"""Get a list of nodes associated as children."""
|
||||
|
||||
log = logging.getLogger(__name__ + ".NodeChildrenList")
|
||||
|
||||
|
@ -120,7 +120,7 @@ class CommandManager(commandmanager.CommandManager):
|
||||
super(CommandManager, self).load_commands(namespace)
|
||||
if ironic_inspector_client is not None:
|
||||
super(CommandManager, self).load_commands(_INSPECTOR_NAMESPACE)
|
||||
# Stip the 'baremetal' prefix used in OSC
|
||||
# Strip the 'baremetal' prefix used in OSC
|
||||
prefix = 'baremetal '
|
||||
prefix_len = len(prefix)
|
||||
self.commands = dict(
|
||||
|
@ -93,7 +93,7 @@ class ResourceTest(test_base.BaseTestCase):
|
||||
self.assertEqual(r1, r2)
|
||||
|
||||
def test_two_resources_with_diff_type_are_not_equal(self):
|
||||
# Two resoruces of different types: never equal
|
||||
# Two resources of different types: never equal
|
||||
r1 = base.Resource(None, {'id': 1})
|
||||
r2 = HumanResource(None, {'id': 1})
|
||||
self.assertNotEqual(r1, r2)
|
||||
|
@ -53,7 +53,7 @@ class ClientTest(utils.BaseTestCase):
|
||||
self.assertEqual([get_endpoint_call],
|
||||
session.get_endpoint.call_args_list)
|
||||
else:
|
||||
# we use adaper.get_endpoint instead of session.get_endpoint
|
||||
# we use adapter.get_endpoint instead of session.get_endpoint
|
||||
self.assertFalse(session.get_endpoint.called)
|
||||
if expected_version is not None:
|
||||
# NOTE(TheJulia): This does not test the negotiation logic
|
||||
|
@ -117,7 +117,7 @@ class Client(object):
|
||||
|
||||
@property
|
||||
def is_api_version_negotiated(self):
|
||||
"""Returns True if microversion negotiation has occured."""
|
||||
"""Returns True if microversion negotiation has occurred."""
|
||||
return self.http_client.api_version_select_state == 'negotiated'
|
||||
|
||||
def negotiate_api_version(self):
|
||||
|
@ -137,7 +137,7 @@ class NodeManager(base.CreateManager):
|
||||
with a non-null node.shard value, when false get only
|
||||
nodes with a null node.shard value. None is a noop.
|
||||
with a non-null node.shard value.
|
||||
:param parent_node: Optional. String value used to retreive child
|
||||
:param parent_node: Optional. String value used to retrieve child
|
||||
nodes with the supplied parent node.
|
||||
:param include_children: Optional. Boolean Value, only True is valid.
|
||||
Tells the ironic API to enumerate all child
|
||||
|
@ -3,7 +3,7 @@ features:
|
||||
- |
|
||||
The consumer of ironicclient may be deriving their ``get_client`` kwargs
|
||||
from config inherited from ksa, where the ``interface`` option has been
|
||||
deprecated in favor of ``valid_interfaces``. To accomodate this, we now
|
||||
deprecated in favor of ``valid_interfaces``. To accommodate this, we now
|
||||
accept ``valid_interfaces`` as a kwarg, giving it precedence over
|
||||
``interface``. However, we still accept ``interface``, as the consumer may
|
||||
be deriving kwargs from a non-conf source (such as an already-created ksa
|
||||
|
@ -3,6 +3,6 @@ features:
|
||||
- |
|
||||
Adds new params to the ``baremetal node bios setting list`` command to
|
||||
include support for the BIOS registry. The ``--long`` option will
|
||||
retrieve and display the additonal BIOS registry fields, the ``--fields``
|
||||
retrieve and display the additional BIOS registry fields, the ``--fields``
|
||||
option will retrieve and display selected fields. The ``baremetal node
|
||||
bios setting show`` includes these fields by default with no changes.
|
||||
|
@ -2,6 +2,6 @@
|
||||
fixes:
|
||||
- |
|
||||
Embedded configuration drive generation support has been updated to
|
||||
support ``mkisofs`` and ``xorrisofs`` in adition to the previously
|
||||
support ``mkisofs`` and ``xorrisofs`` in addition to the previously
|
||||
supported ``genisoimage`` utility. This is as distributions such as
|
||||
Debian and OpenSUSE do not ship ``genisoimage``.
|
||||
|
@ -8,7 +8,7 @@ features:
|
||||
- |
|
||||
Adds base client properties to provide insight to a python API user of
|
||||
what the current REST API version that will be utilized, and if API
|
||||
version negotiation has occured.
|
||||
version negotiation has occurred.
|
||||
These new properties are ``client.current_api_version`` and
|
||||
``client.is_api_version_negotiated`` respectively.
|
||||
- |
|
||||
|
@ -2,5 +2,5 @@
|
||||
features:
|
||||
- Support has been added for the node-set-provision-state verb
|
||||
``adopt`` which requires API version 1.17. This feature allows
|
||||
an operator move a node from ``MANAGABLE`` state to ``ACTIVE``
|
||||
an operator move a node from ``MANAGEABLE`` state to ``ACTIVE``
|
||||
state without performing cleaning or a deployment operation.
|
||||
|
Loading…
Reference in New Issue
Block a user