https://github.com/openstack/sushy-oem-idrac
An extension to sushy package supporting Redfish features that are specific to Dell EMC BMC (which is known under the name of iDRAC). Mirror of code maintained at opendev.org.
https://github.com/openstack/sushy-oem-idrac
Last synced: about 1 month ago
JSON representation
An extension to sushy package supporting Redfish features that are specific to Dell EMC BMC (which is known under the name of iDRAC). Mirror of code maintained at opendev.org.
- Host: GitHub
- URL: https://github.com/openstack/sushy-oem-idrac
- Owner: openstack
- License: apache-2.0
- Created: 2022-04-20T02:25:31.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-03T15:03:31.000Z (almost 2 years ago)
- Last Synced: 2025-03-02T18:50:40.515Z (over 1 year ago)
- Language: Python
- Homepage: https://opendev.org/openstack/sushy-oem-idrac
- Size: 198 KB
- Stars: 0
- Watchers: 9
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.rst
- License: LICENSE
Awesome Lists containing this project
README
Dell EMC OEM extension for sushy
================================
[Sushy](https://opendev.org/openstack/sushy) is a library designed to
communicate with [Redfish](https://en.wikipedia.org/wiki/Redfish_(specification))
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:
```python
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](https://opendev.org/openstack/sushy-oem-idrac/src/branch/master/sushy_oem_idrac/tests/functional/vmedia_boot.py).