2f961fc3e5
In the open ocean, a Redfish service can return a SimpleStorage resource
containing a Device property with its CapacityBytes property set to
null. According to the Distributed Management Task Force (DMTF) schema
for SimpleStorage, the type of CapacityBytes can be either integer or
null [1].
The Dell integrated Dell Remote Access Controller (iDRAC) 9 running
Lifecycle Controller firmware version 3.30.30.30 returns that for a Dell
EMC PowerEdge R740xd containing a Dell HBA 330 12Gbps SAS Host Bus
Adapter Controller (non-RAID), MiniCard (HBA 330 Mini) [2]. The HBA 330
Mini firmware version is 16.17.00.03.
The same was observed against an R740xd running Lifecycle Controller
firmware version 3.34.34.34.
This changes the SimpleStorageCollection.disks_size_bytes property to
process only Disks with CapacityByes not set to None.
[1] https://redfish.dmtf.org/schemas/SimpleStorage.v1_2_3.json
[2] http://eavesdrop.openstack.org/irclogs/%23openstack-ironic/%23openstack-ironic.2019-12-11.log.html#t2019-12-11T07:24:17
Change-Id: I57a0074a7f6c4495e7c73a00c87675ea87fdb6e8
Story: 2006918
Task: 37567
(cherry picked from commit
|
||
---|---|---|
doc/source | ||
releasenotes | ||
sushy | ||
zuul.d | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.stestr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
babel.cfg | ||
lower-constraints.txt | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
About Sushy
Sushy is a Python library to communicate with Redfish based systems.
The goal of the library is to be extremely simple, small, have as few dependencies as possible and be very conservative when dealing with BMCs by issuing just enough requests to it (BMCs are very flaky).
Therefore, the scope of the library has been limited to what is supported by the OpenStack Ironic project. As the project grows and more features from Redfish are needed we can expand Sushy to fulfill those requirements.
- Free software: Apache license
- Includes Redfish registry files licensed under
-
Creative Commons Attribution 4.0 License: https://creativecommons.org/licenses/by/4.0/
- Documentation: https://docs.openstack.org/sushy/latest/
- Usage: https://docs.openstack.org/sushy/latest/reference/usage.html
- Source: https://opendev.org/openstack/sushy
- Bugs: https://storyboard.openstack.org/#!/project/960