This commit modifies 'set_pending_boot_mode' by adding new
function for patch bios pending settings.
Change-Id: I684bff82487b623dcc645a83024f8f23942a7876
Closes-bug: #1705632
Earlier we had included a temporary hack [0] for manager to pass
in 'manager_mock.py' file till the point a new Sushy version is
released with manager feature. This is to remove that temporary
hack as Sushy had been released recently.
Also pegged the version of Sushy to >=1.0.0 in requirements.
[0] https://review.openstack.org/#/c/473719/
Change-Id: I8eb2389730bb5d65338d2562fe2a9462bafc3479
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 commit restructures the test files in
redfish/resources.
Also renaming the function 'get_member_from_device'
to 'get_member_device' in redfish virtual media
resource.
Change-Id: I6365d72c5f9f43747120c28b9dcef81a03cad4da
This commits adds new function 'get_persistent_boot_device' to
get persistent boot device for server.
Change-Id: Id8fcec3a821d9ff003ff0f80fd33215c2c08a90d
Depends-on: I85c1376457698bda81120b74f54e08e5236c9974
This commit adds support to perform virtual media
operations 'set_vm_status', 'eject_vmedia' and
'insert_vmedia'.
Change-Id: Ia4d7d4984808c0b0be87262837174090066e0f2a
Partial-Bug: 1691955
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
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 change to perform generic IPA `erase_devices`
on success of Sanitize disk erase. Also, performs disk erase
by overwriting the disks with zero when Sanitize disk erase is
not supported.
Change-Id: I40e502a24dd2ae5f0ce4e24c4b239ce6b743f0af
Closes-Bug: #1666518
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
This patch adds system power operations in proliantutils via
redfish way. These 2 methods are introduced on redfish ops:
1) reset_server
2) set_host_power
Partial-Bug: 1691955
Change-Id: Ib8217cfe68c5ae5b647d5ece055251153054454d
This patch proposes a new framework to communicate on redfish
protocol in proliantutils.
Change-Id: I719ee8da74ba4109ac1c9dfffdf54baed67cd95c
Closes-Bug: 1646685
This commit adds supports to return the log files
for the hpsum based firmware update as gzipped
and base64 encoded string.
Closes-Bug: #1673037
Change-Id: Ie9f165c75e6b47be29927864cbdf2d8b050ef887
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 patch introduces the instrumentation of redfish object's
method invocation from ``ilo.client.IloClient`` object. When
a method is invoked on client, based on the target hardware
the execution of that corresponding method bestows on RIBCL,
RIS or Redfish. Again, when the context is Redfish then there
RIBCL can remain enabled/disabled. In case of RIBCL enabled,
we fall back to RIBCL for any method invocation which is not
(yet) implemented in Redfish. For RIBCL being disabled, we
raise ``NotImplementedError``.
This also introduces a parameter in client constructor named
'use_redfish_only' which when set to True will force the use
of redfish. Default value is False.
Change-Id: Iaf261a17da137a6fa49e62d9ff2a7cf34c97c2e3
Partial-Bug: 1646685
This commit adds a new capability to check NVDIMM_N
availability using the bios parameter on the ProLiant Servers.
Change-Id: I91206332562bc5929df06806884811af73738304