diff --git a/README.rst b/README.rst index 2b7abe2c..04d85b92 100644 --- a/README.rst +++ b/README.rst @@ -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 diff --git a/doc/source/admin/emulator.conf b/doc/source/admin/emulator.conf index 3f8d1e9a..9929168e 100644 --- a/doc/source/admin/emulator.conf +++ b/doc/source/admin/emulator.conf @@ -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 = { diff --git a/doc/source/user/dynamic-emulator.rst b/doc/source/user/dynamic-emulator.rst index c2b12538..b0f5c2bb 100644 --- a/doc/source/user/dynamic-emulator.rst +++ b/doc/source/user/dynamic-emulator.rst @@ -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 `_. -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 `_ @@ -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. diff --git a/releasenotes/notes/add-virtual-media-4a137a5fb5017031.yaml b/releasenotes/notes/add-virtual-media-4a137a5fb5017031.yaml index 2f001383..33325ddc 100644 --- a/releasenotes/notes/add-virtual-media-4a137a5fb5017031.yaml +++ b/releasenotes/notes/add-virtual-media-4a137a5fb5017031.yaml @@ -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 diff --git a/releasenotes/notes/fakedriver-819d46b6f1e18081.yaml b/releasenotes/notes/fakedriver-819d46b6f1e18081.yaml index cda6a12f..b4d0de43 100644 --- a/releasenotes/notes/fakedriver-819d46b6f1e18081.yaml +++ b/releasenotes/notes/fakedriver-819d46b6f1e18081.yaml @@ -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. diff --git a/releasenotes/notes/no-boot-1709a77ecc140034.yaml b/releasenotes/notes/no-boot-1709a77ecc140034.yaml index 54b0f26f..430f9f94 100644 --- a/releasenotes/notes/no-boot-1709a77ecc140034.yaml +++ b/releasenotes/notes/no-boot-1709a77ecc140034.yaml @@ -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. diff --git a/releasenotes/notes/preserve-libvirt-domain-info-955410f570060241.yaml b/releasenotes/notes/preserve-libvirt-domain-info-955410f570060241.yaml index 95f231ee..b9d39090 100644 --- a/releasenotes/notes/preserve-libvirt-domain-info-955410f570060241.yaml +++ b/releasenotes/notes/preserve-libvirt-domain-info-955410f570060241.yaml @@ -6,5 +6,5 @@ security: `_. 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. diff --git a/sushy_tools/emulator/main.py b/sushy_tools/emulator/main.py index 94461ff1..320fadbd 100755 --- a/sushy_tools/emulator/main.py +++ b/sushy_tools/emulator/main.py @@ -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, diff --git a/sushy_tools/emulator/resources/systems/base.py b/sushy_tools/emulator/resources/systems/base.py index 5907216d..446c72b4 100644 --- a/sushy_tools/emulator/resources/systems/base.py +++ b/sushy_tools/emulator/resources/systems/base.py @@ -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') diff --git a/sushy_tools/emulator/resources/systems/libvirtdriver.py b/sushy_tools/emulator/resources/systems/libvirtdriver.py index 30ff6daa..9efea48e 100644 --- a/sushy_tools/emulator/resources/systems/libvirtdriver.py +++ b/sushy_tools/emulator/resources/systems/libvirtdriver.py @@ -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 diff --git a/sushy_tools/tests/unit/emulator/resources/systems/test_libvirt.py b/sushy_tools/tests/unit/emulator/resources/systems/test_libvirt.py index d44b0f9b..3c16db11 100644 --- a/sushy_tools/tests/unit/emulator/resources/systems/test_libvirt.py +++ b/sushy_tools/tests/unit/emulator/resources/systems/test_libvirt.py @@ -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 = '\n QEmu-fedora-i686\n '\ ' c7a5fdbd-cdaf-9455-926a-d65c16db1809\n '\ '219200\n '\