Commit Graph

8 Commits

Author SHA1 Message Date
Nisha Agarwal 8729133641 Adds more gpu capabilities
Change-Id: I1772f794370d4fb2291473f07ee75b9c975c4530
2021-03-04 09:37:32 +00:00
vmud213 9313e66bff Cache the IloClient object creation
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
2019-08-22 07:09:34 +00:00
Debayan Ray b913e0f5b2 Changes to support Sushy 1.3.0
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
2018-01-19 04:47:58 -05:00
vmud213 26241533dc Redfish: Adds HPEConnector to proliantutils
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
2017-09-08 18:21:25 +05:30
ankit 7708ef0f9c Redfish: Adds 'reset_ilo_credential' for redfish systems
This commit provides functionality to update credentials
on redish systems.

Change-Id: I110f0780d1b894ce9cd7f06d32a39c3a7738e4b6
2017-07-18 13:12:03 +00:00
Anshul Jain e17153856b Redfish: Adds 'update_firmware' API support through redfish
This commit provides functionality to support firmware update
on redish systems.

Change-Id: I564f4cc69a8bb8b567e930082c1b68bb2046d747
2017-07-12 10:19:17 +00:00
Anshul Jain 5dab85a2a4 Redfish: Adds manager support for redfish API's.
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
2017-07-05 11:05:37 -04:00
vmud213 3ff2a0582f Add HPE extensions support to redfish connection lib
This commit adds support to have HPE root and system
resource extensions to redfish connection library.

Partial-Bug: #1691955
Change-Id: I65bf78d6471a5246465e0a6b226844748888ca73
2017-06-08 12:28:57 +05:30