On SuperMicro machines (e.g. X11 and X12 models) the device name string
for CD based virtual media is "UsbCd" as opposed to "CD" used by other
vendors.
This change adjust the boot device target string to "UsbCd" if a
SuperMicro machine is detected
Story: 2009663
Task: 43913
Change-Id: I384baf5c27a531be0c4b78e11e1214d6371fa8be
The new enums are generated by a new script that reads the DMTF
definitions and produced Python code in stdout. Missing items
and docstrings are added because of that.
The change migrates everything from sushy.resources.constants except for
ProtocolType, which has to be untangled from other protocol-related
enums.
This change also misses a release note. The intention is to create one
final release note before the next release.
Change-Id: I863fad54a9703c88aa92993ad0d48d18c50e492a
Create mappings for the system_type of the System resource.
This represents the type of the computer system.
Story: #2005160
Task: #29880
Change-Id: Icf688752791c21c8652e7fc64478ef0307682f1e
Add representation of Chassis and ChassisCollection resources.
The Chassis is used to represent a chassis or other physical enclosure
as a Redfish resource.
Also adds the methods get_chassis_collection and get_chassis in the
public API.
Implements: ChassisCollection and Chassis classes
Story: #2003853
Task: #26647
Change-Id: I59083562ff2ab3b18bfeebdabc0f4cfd663d01bb
In the course of sushy library development, we seem to model resources
using the most current schemas at the time. Sometimes DMTF releases
schema bundles that ties all the most recent schemas together thus
ensuring their interoperability.
These changes introduce and update currently implemented sushy models
to comply with the most recent schema bundle[1].
[1]https://www.dmtf.org/documents/redfish-spmf/redfish-schema-bundle-20181
Story: #2004050
Task: #27056
Change-Id: I479bc18f79c6c51644115671ef68a879a94d102e
Adds the simple storage resource of Redfish standard schema.
This new resource represents the properties of a storage
controller and its directly-attached devices. This patch
introduces the property ``max_size_bytes`` of
SimpleStorageCollection resource to expose the size of the
largest storage size available among all directly attached
devices available to the System.
Also brought in the common 'Status' (comprising of Health,
HealthRollup and State sub-fields) field and refactored the code
base to use that field across all the Redfish resources.
Story: 1668487
Task: 23041
Change-Id: I512c2507bf78f4a9cf1e2525fd685836387a7581
Because this is what DMTF schema [1] requires.
1. https://redfish.dmtf.org/schemas/ComputerSystem.v1_5_0.json
Co-Authored-By: Richard G. Pioso <richard.pioso@dell.com>
Story: 2002635
Task: 22277
Change-Id: Ib158b2ea974a9022893a2fb3400be4017e3ff7b2
This commit adds the EthernetInterface to the library.
This returns the MAC addresses and its status as a dictionary to
its caller.
This has been tested on HPE Redfish hardware.
Change-Id: If57184d71d244cdc6f04d3f66d56c374d4336d24
This patch adds 2 new attributes to System:
memory_summary: <type: namedtuple>
The memory of the system in general detail. It is a
namedtuple containing the following:
`size_gib`: The size of memory of the system in GiB
`health`: The overall health state of memory.
processor_summary: <type: namedtuple>
The processors of the system in general detail. It is a
namedtuple containing the following:
`count`: The number of processors in the system. To be
precise, it is number of logical CPUs (threads).
`architecture`: The architecture of the processor/s.
This processor and memory information will be directly consumed
by ironic inspection.
Change-Id: I19acd74e26a861147df747f3d3f34852decf5403