[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:
parent
5868dab414
commit
244620d8f5
@ -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
|
actually control VM instances simulating bare metal hardware. However some
|
||||||
of the Redfish commands just return static content never touching the
|
of the Redfish commands just return static content never touching the
|
||||||
virtualization backend and, for that matter, virtual Redfish BMC is similar
|
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
|
* Free software: Apache license
|
||||||
* Documentation: https://docs.openstack.org/sushy-tools
|
* Documentation: https://docs.openstack.org/sushy-tools
|
||||||
|
@ -29,12 +29,12 @@ SUSHY_EMULATOR_LIBVIRT_URI = u'qemu:///system'
|
|||||||
# set the boot device. Allowing the UEFI firmware to instead
|
# set the boot device. Allowing the UEFI firmware to instead
|
||||||
# rely on the EFI Boot Manager
|
# rely on the EFI Boot Manager
|
||||||
# Note: This sets the legacy boot element to dev="fd"
|
# 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.
|
# your VM has a floppy drive.
|
||||||
SUSHY_EMULATOR_IGNORE_BOOT_DEVICE = False
|
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
|
# system architecture. Ideally the x86_64 loader will be capable
|
||||||
# of secure boot or not based on the chosen nvram.
|
# of secure boot or not based on the chosen nvram.
|
||||||
SUSHY_EMULATOR_BOOT_LOADER_MAP = {
|
SUSHY_EMULATOR_BOOT_LOADER_MAP = {
|
||||||
|
@ -258,7 +258,7 @@ Systems resource driver: OpenStack
|
|||||||
You can use an OpenStack cloud instances to simulate Redfish-managed
|
You can use an OpenStack cloud instances to simulate Redfish-managed
|
||||||
baremetal machines. This setup is known under the name of
|
baremetal machines. This setup is known under the name of
|
||||||
`OpenStack Virtual Baremetal <http://openstack-virtual-baremetal.readthedocs.io/en/latest/>`_.
|
`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
|
instructions. After all, what we are trying to do here is to set up the
|
||||||
Redfish emulator alongside the
|
Redfish emulator alongside the
|
||||||
`openstackbmc <https://github.com/cybertron/openstack-virtual-baremetal/blob/master/openstack_virtual_baremetal/openstackbmc.py>`_
|
`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
|
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
|
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
|
represent virtual baremetal. In this case it is possible to specify a list of
|
||||||
UUIDs which are allowed.
|
UUIDs which are allowed.
|
||||||
|
@ -4,7 +4,7 @@ features:
|
|||||||
Adds Virtual Media resource.
|
Adds Virtual Media resource.
|
||||||
|
|
||||||
As of this release, user can configure a collection of virtual
|
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.
|
By default, ``cdrom`` and ``floppy`` devices are configured.
|
||||||
|
|
||||||
Each Manager automatically gets its own instance of the above
|
Each Manager automatically gets its own instance of the above
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
features:
|
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
|
does not have an actual backend and works by storing all values in
|
||||||
the cache.
|
the cache.
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ issues:
|
|||||||
|
|
||||||
Now reads boot device/mode/image from domain XML on
|
Now reads boot device/mode/image from domain XML on
|
||||||
filesystem rather then the running VM, thus avoiding
|
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
|
should now power cycle the instance if the changes are
|
||||||
required in the running VM.
|
required in the running VM.
|
||||||
note: not simply a soft reboot.
|
note: not simply a soft reboot.
|
||||||
|
@ -6,5 +6,5 @@ security:
|
|||||||
<https://storyboard.openstack.org/#!/story/2010382>`_.
|
<https://storyboard.openstack.org/#!/story/2010382>`_.
|
||||||
fixes:
|
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.
|
domain XML document.
|
||||||
|
@ -954,7 +954,7 @@ def parse_args():
|
|||||||
'Default is qemu:///system')
|
'Default is qemu:///system')
|
||||||
backend_group.add_argument('--fake', action='store_true',
|
backend_group.add_argument('--fake', action='store_true',
|
||||||
help='Use the fake driver. Can also be set '
|
help='Use the fake driver. Can also be set '
|
||||||
'via environmnet variable '
|
'via environment variable '
|
||||||
'SUSHY_EMULATOR_FAKE_DRIVER.')
|
'SUSHY_EMULATOR_FAKE_DRIVER.')
|
||||||
backend_group.add_argument('--ironic-cloud',
|
backend_group.add_argument('--ironic-cloud',
|
||||||
type=str,
|
type=str,
|
||||||
|
@ -219,7 +219,7 @@ class AbstractSystemsDriver(metaclass=abc.ABCMeta):
|
|||||||
def get_simple_storage_collection(self, identity):
|
def get_simple_storage_collection(self, identity):
|
||||||
"""Get a dict of Simple Storage Controllers and their devices
|
"""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')
|
raise error.NotSupportedError('Not implemented')
|
||||||
|
|
||||||
@ -238,7 +238,7 @@ class AbstractSystemsDriver(metaclass=abc.ABCMeta):
|
|||||||
"""Return the URI stored for the HttpBootUri.
|
"""Return the URI stored for the HttpBootUri.
|
||||||
|
|
||||||
:param identity: The libvirt identity. Unused, exists for internal
|
:param identity: The libvirt identity. Unused, exists for internal
|
||||||
sushy-tools compatability.
|
sushy-tools compatibility.
|
||||||
:returns: Stored URI value for HttpBootURI.
|
:returns: Stored URI value for HttpBootURI.
|
||||||
"""
|
"""
|
||||||
raise error.NotSupportedError('Not implemented')
|
raise error.NotSupportedError('Not implemented')
|
||||||
|
@ -1370,7 +1370,7 @@ class LibvirtDriver(AbstractSystemsDriver):
|
|||||||
"""Return the URI stored for the HttpBootUri.
|
"""Return the URI stored for the HttpBootUri.
|
||||||
|
|
||||||
:param identity: The libvirt identity. Unused, exists for internal
|
:param identity: The libvirt identity. Unused, exists for internal
|
||||||
sushy-tools compatability.
|
sushy-tools compatibility.
|
||||||
:returns: Stored URI value for HttpBootURI.
|
:returns: Stored URI value for HttpBootURI.
|
||||||
"""
|
"""
|
||||||
return self._http_boot_uri
|
return self._http_boot_uri
|
||||||
|
@ -363,7 +363,7 @@ class LibvirtDriverTestCase(base.BaseTestCase):
|
|||||||
for thedrive in newtree.find('devices').findall('disk')])
|
for thedrive in newtree.find('devices').findall('disk')])
|
||||||
self.assertEqual(2, diskdrives_order_sum)
|
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 '\
|
expected = '<domain type="qemu">\n <name>QEmu-fedora-i686</name>\n '\
|
||||||
' <uuid>c7a5fdbd-cdaf-9455-926a-d65c16db1809</uuid>\n '\
|
' <uuid>c7a5fdbd-cdaf-9455-926a-d65c16db1809</uuid>\n '\
|
||||||
'<memory>219200</memory>\n '\
|
'<memory>219200</memory>\n '\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user