[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: I563e316ba9955766e28d9cec702387fac472c414
This commit is contained in:
Sharpz7 2024-01-29 19:12:47 +00:00
parent 5868dab414
commit 244620d8f5
11 changed files with 14 additions and 14 deletions

View File

@ -20,7 +20,7 @@ machine to some extent. Some client queries are translated to commands that
actually control VM instances simulating bare metal hardware. However some
of the Redfish commands just return static content never touching the
virtualization backend and, for that matter, virtual Redfish BMC is similar
to the static Redfish responser.
to the static Redfish responder.
* Free software: Apache license
* Documentation: https://docs.openstack.org/sushy-tools

View File

@ -29,12 +29,12 @@ SUSHY_EMULATOR_LIBVIRT_URI = u'qemu:///system'
# set the boot device. Allowing the UEFI firmware to instead
# rely on the EFI Boot Manager
# Note: This sets the legacy boot element to dev="fd"
# and relies on the floppy not existing, it likely wont work
# and relies on the floppy not existing, it likely won't work
# your VM has a floppy drive.
SUSHY_EMULATOR_IGNORE_BOOT_DEVICE = False
# The map of firmware loaders dependant on the boot mode and
# The map of firmware loaders dependent on the boot mode and
# system architecture. Ideally the x86_64 loader will be capable
# of secure boot or not based on the chosen nvram.
SUSHY_EMULATOR_BOOT_LOADER_MAP = {

View File

@ -258,7 +258,7 @@ Systems resource driver: OpenStack
You can use an OpenStack cloud instances to simulate Redfish-managed
baremetal machines. This setup is known under the name of
`OpenStack Virtual Baremetal <http://openstack-virtual-baremetal.readthedocs.io/en/latest/>`_.
We will largely re-use its OpenStack infrastructure and configuration
We will largely reuse its OpenStack infrastructure and configuration
instructions. After all, what we are trying to do here is to set up the
Redfish emulator alongside the
`openstackbmc <https://github.com/cybertron/openstack-virtual-baremetal/blob/master/openstack_virtual_baremetal/openstackbmc.py>`_
@ -382,7 +382,7 @@ Or update their boot device:
Filtering by allowed instances
++++++++++++++++++++++++++++++
It is not always desirable to manage every accessable virtual machine as a
It is not always desirable to manage every accessible virtual machine as a
Redfish System, such as when an OpenStack tenant has many instances which do not
represent virtual baremetal. In this case it is possible to specify a list of
UUIDs which are allowed.

View File

@ -4,7 +4,7 @@ features:
Adds Virtual Media resource.
As of this release, user can configure a collection of virtual
media devices including their types, names and other properies.
media devices including their types, names and other properties.
By default, ``cdrom`` and ``floppy`` devices are configured.
Each Manager automatically gets its own instance of the above

View File

@ -1,7 +1,7 @@
---
features:
- |
Adds a fake system driver (actived using the ``--fake`` argument) that
Adds a fake system driver (activated using the ``--fake`` argument) that
does not have an actual backend and works by storing all values in
the cache.

View File

@ -5,7 +5,7 @@ issues:
Now reads boot device/mode/image from domain XML on
filesystem rather then the running VM, thus avoiding
the need for a reboot after setting soemthing. The client
the need for a reboot after setting something. The client
should now power cycle the instance if the changes are
required in the running VM.
note: not simply a soft reboot.

View File

@ -6,5 +6,5 @@ security:
<https://storyboard.openstack.org/#!/story/2010382>`_.
fixes:
- |
Fixes an issue where secure fields were accidently lost in the Libvirt
Fixes an issue where secure fields were accidentally lost in the Libvirt
domain XML document.

View File

@ -954,7 +954,7 @@ def parse_args():
'Default is qemu:///system')
backend_group.add_argument('--fake', action='store_true',
help='Use the fake driver. Can also be set '
'via environmnet variable '
'via environment variable '
'SUSHY_EMULATOR_FAKE_DRIVER.')
backend_group.add_argument('--ironic-cloud',
type=str,

View File

@ -219,7 +219,7 @@ class AbstractSystemsDriver(metaclass=abc.ABCMeta):
def get_simple_storage_collection(self, identity):
"""Get a dict of Simple Storage Controllers and their devices
:returns: dict of Simple Storage Controllers and their atributes
:returns: dict of Simple Storage Controllers and their attributes
"""
raise error.NotSupportedError('Not implemented')
@ -238,7 +238,7 @@ class AbstractSystemsDriver(metaclass=abc.ABCMeta):
"""Return the URI stored for the HttpBootUri.
:param identity: The libvirt identity. Unused, exists for internal
sushy-tools compatability.
sushy-tools compatibility.
:returns: Stored URI value for HttpBootURI.
"""
raise error.NotSupportedError('Not implemented')

View File

@ -1370,7 +1370,7 @@ class LibvirtDriver(AbstractSystemsDriver):
"""Return the URI stored for the HttpBootUri.
:param identity: The libvirt identity. Unused, exists for internal
sushy-tools compatability.
sushy-tools compatibility.
:returns: Stored URI value for HttpBootURI.
"""
return self._http_boot_uri

View File

@ -363,7 +363,7 @@ class LibvirtDriverTestCase(base.BaseTestCase):
for thedrive in newtree.find('devices').findall('disk')])
self.assertEqual(2, diskdrives_order_sum)
# Check overal config to match expected fixture
# Check overall config to match expected fixture
expected = '<domain type="qemu">\n <name>QEmu-fedora-i686</name>\n '\
' <uuid>c7a5fdbd-cdaf-9455-926a-d65c16db1809</uuid>\n '\
'<memory>219200</memory>\n '\