Instead of creating different objects everytime for
each proliant API call, this change uses existing ilo object.
This helps:
1) To fix the issue with session management in redfish based systems
2) To avoid unnecesary call to get_product_name
3) To avoid creating and deleting RISOperations, RIBCLOperations,
and Redfish operations.
4) To make the reading of the logs easy by removing the
unnecessary and duplicated logs generated as part of the
recreation logic.
5) And last but not the least, it will enable to provide more
caching mechanism eventually.
Change-Id: Iec13a8ee970ef687e4df59ac493f1e13e4db0c7b
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
Implements HPEConnector class that overrides the '_op' instance method
from sushy's Connector class to include retrying logic. The retrying
logic tries for MAX_RETRY_ATTEMPTS attempts waiting for MAX_TIME_BEFORE_RETRY
time after each retry. Also adds constructor to HPESushy class that bypasses
the initialization of the Sushy class and initialize the ResourceBase class
with customized HPE specific connector subtype.
Change-Id: Ic11552ed12195206717e9fcfaffa4c6d20bc6543
Closes-Bug: #1710071
This commit enables the support for all redfish API's to make
use of Manager features.
This patch also includes a temporary hack for manager as
'manager_mock.py' file which needs to be removed once new Sushy
version is released with manager feature. Added the 'utils' file
containing the utility function, ``get_subresource_path_by``.
Co-Authored-By: Aparna Vikraman <aparnavtce@gmail.com>
Co-Authored-By: Debayan Ray <debayan.ray@gmail.com>
Partial-Bug: 1691955
Change-Id: Iffec7e2e459455dba3b5bac817faa89341b4b9d3
This commit adds support to have HPE root and system
resource extensions to redfish connection library.
Partial-Bug: #1691955
Change-Id: I65bf78d6471a5246465e0a6b226844748888ca73