This patch fixes 'insert_virutal_media' api to through an error
when the url given is either invalid or unreachable.
Closes-Bug: 1958976
Change-Id: I1d49086e214fe86a5bf5bc3986e7e886ee28ff30
* Mappings used to be an implementation detail, and now they're gone.
The CPU architecture handling was wrong anyway, copy it from Redfish.
* Update some tests to rely on Sushy constants rather than their copies.
* Mock sleep() in tests that can take a lot of time to finish.
Change-Id: I681c829a806fdf2c69ad0af8bbba1b527bffb926
This patch fixes the test cases which are dependent on
changes in sushy library version 3.12.0.
Closes-Bug: 1950421
Change-Id: I485010c613b0e8d5d4c9bcb96959730bae42dc88
Currently while removing the CA certificates from the iLO, when certificate
file list is empty, all the CA certificates from the iLO are removed. In some
cases certain certificates are required to be retained on the iLO. This
patch fixes the issue by accepting the list of certificates to be retained on
the iLO.
Change-Id: I4898361527e5785e181cffaf294557db0078c93d
This commit adds support for generating Certificate
Signing Request and importing Signed Certificates to iLO5.
Change-Id: I116e685d4f1e190679c2faa8fa296202f2433759
Adds support to clear certificates when no certificates are provided. In
this case the certificates that currently exist on the ilo are removed.
Change-Id: I351554a0c65d60b63fb7bf57ed1a6bae89f2d71c
Enhances the TLS certificate removal logic so that it now accepts
the list of TLS certificate files instead of fingerprints. Also
enhances the logic of exporting TLS certificates if multiple
certificates are present in a single file.
Change-Id: Ida1f13c27cea1134a38f5f8465398c63272494fb
The new version enables a lot of standard flake8 checks, so a few
fixes are required. W503 is disabled as it conflicts with W504
and the latter seems to be preferred nowadays.
Also excluding C901 and E731 that should be fixed in different
patches as they require code changes.
Change-Id: I8decccc4925f86e0b979b47e2920d6a782d991d7
The sushy method _op() in connector.py accepts new set of arguments.
Proliantutils needs to accept these arguments in its overridden
method.
Change-Id: If66e23209cfcae7c418d1e0dec34add5ed65dc6c
Closes-Bug: #1863236
This commit fixes problem with multiple nic adapter
by adding mac as an optional parameter to pass macs in
such cases.
Change-Id: Iea420d7a047c8ac849fa2eeab5c6892be2d7a6e1
Bug-Id: 1838730
This commit delegates the session handling to sushy. Earlier
proliantutils was useing Basic authentication even as Sushy was using
session based authentication owing to the limitation on the
number of sessions being created on the iLO redfish systems. Currently
the session creation is delegated to sushy and relies on authentication
mechanism used by it.
Change-Id: Ib150e2662ac664b635c9395096cdecff75bd4ea1
This commit adds support for getting all the disk types
available in the server. Also its a follow-up patch for
out-of-band disk erase.
Change-Id: Ib5c30efbe48b20120757f763e20305b295e0c270
This commit adds support to use sushy virtual media
and if it fails then fall back to protiantutils
virtual media.
Change-Id: Iff07050e6e1929fb1b6a29379d208e22f82ea641
This commit added ilo client changes and redfish connector changes
to enable support for IPv6 network.
Change-Id: Ifefc1f0ee190d5420c0c63ae7674350facde8e27
Sushy's caching utility decorators are used now and as a
side effect lot of handcrafted caching code has been reduced.
Also version of Sushy dependency is set to >=1.7.0
Change-Id: I608478f72d4e49f562f4ef9edfdfce057631f39d
This commit adds an API to get the results of the BIOS settings applied
prior to the latest power cycle.
Change-Id: Ia6786889b717105e9af67faa15da815ad2f4e4cb
Closes-Bug: 1790776
If 'only_allowed_settings' filter is applied, this change validates if
each of the settings provided is supported. If any setting is provided which
is not supported by the user, 'IloError' exception is thrown.
Change-Id: I966db94634b7e3021f07dc45dcca5cc4f5120329
Closes-Bug: 1785782
This commit adds functionality to verify the success of raid create
or delete operation and gets the current raid configuration on
SmartStorageConfig redfish based iLO.
Co-Authored-By: Paresh Sao <paresh.sao@hpe.com>
Change-Id: I9f546e8ef87229f442dc3855042cbe3ac3a198f8
Adds support to get current BIOS settings, default BIOS settings and pending
BIOS settings for redfish based systems. Also provides support to update the
BIOS configuration with the given configuration.
Change-Id: I309d4226ba456a7df6dc4f1167d5a3f9acd69dd1
The commit adds functionality to delete logical drives in a
SmartStorageConfig redfish systems.
Co-Authored-By: Paresh Sao <paresh.sao@hpe.com>
Change-Id: Id3a07ab0ca1c0ad8199a28ef2efb22aadc5edfd5
This commit adds support for retrieving system POST state for Gen9 and
Gen10 servers.
Note: These is no RIBCL interface to retrieve system POST state.
Change-Id: Ib8d99a9fa3ece9baa17b5bb37d2f87917750350e
Partial-Bug: #1762311
This commit adds support for NMI for Gen9 and Gen10 servers.
Note: These is no RIBCL interface to perform NMI using RIBCL.
Change-Id: Iaf663443179417e47d022098c73a4776d41d4287
Partial-Bug: #1762311