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 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
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 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
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
The new Sushy 1.3.0 library has some changes for which proliantutils
needs changes to support the existing functionalities which it serves
using Sushy library. This commit takes care of those changes. It also
removes the version dependency of Sushy from proliantutils
requirements and hence the latest Sushy release gets picked up.
Change-Id: I1088d1b357bfe5c7cd76185bc4da484471ac3f6c
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'
Change-Id: If47f68d25d2e3a3a1b58606c415c53b108e90cc1
This commit adds the local_gb attribute to the
get_essential_properties() method.
It also adds the utility function max_safe() which
doesn't raise ValueError exception if max() fail with that
exception.
Change-Id: Ie1543e9f5653a025b484726ce278500ee8fdb261
This patch adds EthernetInterfaces subresource.
It returns the data in the form of a dictionary as
{'Port 1': 'aa:bb:cc:dd:ee:ff'}
Change-Id: I123bdc4aae68bbbdf9b637746aa4d7f109d12b03
This commit adds the following server capabilities
1)ilo_firmware_version
2)rom_firmware_version
3)server_model
Change-Id: Ia6ab3937af33cc6789b95603d09ce088f30ceb25
This commit adds secure boot support via redfish APIs.
Following methods are introduced on redfish ops:
1) get_secure_boot_mode
2) set_secure_boot_mode
3) clear_secure_boot_keys
4) reset_secure_boot_keys
Co-Authored-By: Debayan Ray <debayan.ray@gmail.com>
Partial-Bug: 1691955
Change-Id: I60384a1e8093a2e926fc4341e89b559218d10d4f
This patch adds the routine get_server_capabilities()
and one of the capability 'pci_gpu_devices' which gives
the count of gpu devices.
Change-Id: Iff38aa201b7a1658723d926292707e163c22c34d
This commits modify 'update_persistent_device' by adding new
function for getting boot string for uefi target.
Change-Id: Iffbd42c1f52e9afd7339deb2f6cd2f9888a01038
This commits adds new function 'set_pending_boot_mode',
'update_persistent_boot' and 'set_one_time_boot' to
the server
Change-Id: I7609eac74143f4b529b011ed1cbab96b578770b8
This patch adds system power operations in proliantutils via
redfish way. These 2 methods are introduced on redfish ops:
1) press_pwr_btn
2) hold_pwr_btn
Change-Id: Ie6281b9ad608e50fc274a8e1b32d539b6a174e5d
Partial-Bug: 1691955
This commit adds support to have HPE root and system
resource extensions to redfish connection library.
Partial-Bug: #1691955
Change-Id: I65bf78d6471a5246465e0a6b226844748888ca73