Commit Graph

8 Commits

Author SHA1 Message Date
Nisha Agarwal 7c2993f336 Update testing to zed and fix the broken test cases
Change-Id: Idb1d362bc890afbc6bd6b4aca42a5eed841d1b35
2022-09-06 10:06:10 +00:00
Riccardo Pittau 682eb63985 Update testing to yoga
Update jobs and requirements to yoga
Also fix tests where needed

Change-Id: I5dbf28d0ac77d81cc8f79496777aa15be3c52dd0
2021-12-03 08:58:54 +01: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
melissaml be67034aef Replace assertTrue(isinstance()) with assertIsInstance()
Some of tests use different method of assertTrue(isinstance(A, B)) or
assertEqual(type(A), B). The correct way is to use assertIsInstance(A,
B) provided by testtools.

Change-Id: I1a5462443bf3cec4a14945df036e924a50fd74b3
2017-07-06 12:51:49 +08: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