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
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
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 patch fixes the storage code which
fails in certain cases while fetching
certain storage related capabilities.
Change-Id: If7e3e0cfd8342f1d5c0deccca528fd9d23451a55
This fix changes the default behavior to consider all the BIOS settings
rather than applying filter on them for only specific settings.
Change-Id: I19dc807c41a52136e8f7c306004508885af2733d
This reverts commit 7286d7019c.
The fix is reverted because iLO4 behaviour is not consistent in
reporting the NIC data even for MCTP compliant NIC cards.
And iLO4 does not has the intelligence to detect the
NIC health status out-of-band for non-MCTP compliant NIC cards.
It reports the correct status only when AMS is running on the
server which requires OS to be present onto the system.
Change-Id: I02c27d820b27bd532f23ab7ef276b39f868f5205
This commit adds NIC inspection for Gen9 and just
gets the MACs which are physically connected through
a cable.
Closes-Bug: 1812623
Change-Id: Ica624aae8f956a2da061801def6ddc43152a5b09
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
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
Adds support to get current BIOS settings, default BIOS settings and
pending BIOS settings for Gen 9 systems. Also provides support to update
the BIOS configuration with the provided configuration.
Change-Id: I5f8ed4e5c0ee4abf472b261846829d877522258e
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
Add methods to support backward compatibility by retaining the "mac" argument
for the exisiting methods that support managing iSCSI information.
Change-Id: I5e006556e5303fd8febc836b1bd355b87933f1eb
Closes-Bug: #1744307
This commits adds new functions 'set_iscsi_boot_info' and
'unset_iscsi_boot_info' to change iSCSI settings on iLO.
Change-Id: I855ae6a4b2ab84e939cf6b0c49f2af001f6a3173
This adds changes to both iSCSI boot related interfaces
'set_iscsi_boot_info' and 'unset_iscsi_boot_info' so
iSCSI attempt is done for all nics instead one.
Change-Id: I871d3e5da579bb8fddeb265267c9c7df76d370c4
Closes-Bug: #1739405
also removed 'mac' from 'set_one_time_boot'
Adds modification in '_update_persistent_boot' to set 'UefiTarget'
as boot device, without using 'mac' also removed 'mac' from
'set_one_time_boot' and 'update_persistent_boot' as revert of
'25f4881730d80a9142d9cf181618b38185d33c91.'
Change-Id: I2c0f95aed084f415b1c065f1a97936d75bdab366
Closes-Bug: #1727670
This patch retries power on operation if it fails
to power on in definite time. This is needed
only for Blade servers. The fix is done for
Gen9 Proliant servers.
Change-Id: I088b8cf9bbde057c5536cad6368fce7d8d608f41
Closes-bug: 1725204
Added a new function ``get_supported_boot_mode`` to ris to check the
value of BIOS-UEFI class supported on the server. This method was
already present in ribcl. It gets used through client interface to be
used in turn by ``get_server_capabilities``. The following properties
are updated as part of invoking this method:
boot_mode_bios
boot_mode_uefi
Also, removed the unused method ``_get_server_boot_modes`` from ribcl.
Added a utility method in ``ilo.common`` complementing supported boot
modes extraction.
Co-Authored-By: Debayan Ray <debayan.ray@gmail.com>
Related-Bug: 1526382
Change-Id: I7a60e660a6f5e574e53128f824bae0909d66d9ff
Need to populate the 'trusted_boot' capability only when TPM chip
is present. These capabilities gets used during scheduling and
needs to be set only when corresponding feature is available.
Change-Id: I1113bc5025fa643dc2d1c6cb9fd8e91da1b0331f
Closes-Bug: #1688463
This commit adds a new capability to check NVDIMM_N
availability using the bios parameter on the ProLiant Servers.
Change-Id: I91206332562bc5929df06806884811af73738304
This patch is again targeted towards support of consuming
Redfish APIs. ReST infrastructure has been separated out from
RIS module to be used by both RIS and Redfish portions.
Partial-Bug: 1646685
Change-Id: I9b40bf732589b3604ed1e0726a0f895b49213058
This patch refactors the rest infrastructure in ris in
following ways:
- Includes ``retrying`` package to retry on redirection
- Modularized the rest infra code
- No behaviour change as such barring the log output
Partial-Bug: 1646685
Change-Id: I155f961c034b1d9ac9a962974d8461c1097987e3
This commit adds 'UefiTarget' as a
boot option which performs iSCSI boot
in iLO
Change-Id: I65af17e0ccb0b9c76b6edf9a7b689a591dda94ca
Closes-Bug: #1647690
For boot from iscsi volume when the iscsi target
parameters are passed then the target DHCP should
be set to False in iLO.
This commit adds changes to disable target DHCP for
uefi iscsi boot in iLO. The parameter
`iSCSITargetInfoViaDHCP` is set to False which disables
the DHCP.
Change-Id: I3b70be02ee2211b4a40ac40d93331c299deb9bf6
Previously the exception raised for Gen7 servers were
not handled properly.
This commit resolves the issue by handling the exception
in a appropriate manner.
Change-Id: I7371fb26e78a558ee382bbe9785e6401c51437bd
Closes-Bug: #1613831