An extension to sushy package supporting Redfish features that are specific to Dell EMC BMC (which is known under the name of iDRAC).
Go to file
Aija Jauntēva 1020e805d3 Add import system configuration method
set_virtual_boot_device is also using the import system configuration
action, but its usage is very specific, with retries and rebooting. To
keep it simple, this adds import_system_configuration, which is
asynchronous and returns a TaskMonitor.

Additionally, this changes the case of the header field names used by
the asynchronous.http_call method to make them work with unit tests.
While the requests package can handle real header field names case-
insensitively, when they are mocked in unit tests, case needs to match.

Story: 2003594
Task: 41576
Change-Id: I3b5e620e7b1939a029bd59b4578c0f52c8789598
2021-03-17 14:34:18 -04:00
sushy_oem_idrac Add import system configuration method 2021-03-17 14:34:18 -04:00
zuul.d Remove lower constraints 2021-03-10 16:34:09 +00:00
.gitignore Python 3 only 2020-05-05 11:26:50 +02:00
.gitreview Add basic CI jobs and .gitreview 2019-12-06 12:37:41 +01:00
.stestr.conf Rename package to `sushy-oem-idrac` 2019-09-23 17:23:20 +02:00
CONTRIBUTING.rst Initial revision 2019-08-07 17:16:05 +02:00
HACKING.rst Initial revision 2019-08-07 17:16:05 +02:00
LICENSE Initial revision 2019-08-07 17:16:05 +02:00
README.md Rename package to `sushy-oem-idrac` 2019-09-23 17:23:20 +02:00
babel.cfg Initial revision 2019-08-07 17:16:05 +02:00
requirements.txt Add import system configuration method 2021-03-17 14:34:18 -04:00
setup.cfg Python 3 only 2020-05-05 11:26:50 +02:00
setup.py Initial revision 2019-08-07 17:16:05 +02:00
test-requirements.txt Fix lower-constraints with the new pip resolver 2020-12-09 17:19:07 -05:00
tox.ini Remove lower constraints 2021-03-10 16:34:09 +00:00

README.md

Dell EMC OEM extension for sushy

Sushy is a client library designed to communicate with Redfish based BMC.

Redfish specification offers extensibility mechanism to let hardware vendors introduce their own features with the common Redfish framework. At the same time, sushy supports extending its data model by loading extensions found within its "oem" namespace.

The sushy-oem-idrac package is a sushy extension package that aims at adding high-level hardware management abstractions, that are specific to Dell EMC BMC (which is known under the name of iDRAC), to the tree of sushy Redfish resources.

Example use

Once installed, sushy user can access Dell EMC OEM resources. For example, OEM extension of Manager resource can be instrumental for switching the node to boot from a virtual media device:


import sushy

root = sushy.Sushy('http://mydellemcbmc.example.com')
manager = root.get_manager('iDRAC.Embedded.1')

oem_manager = manager.get_oem_extension('Dell')

oem_manager.set_virtual_boot_device(
    sushy.VIRTUAL_MEDIA_CD, persistent=False, manager=manager)    

See full example of virtual media boot setup in the functional test suite.