|
Post by zhlicen on Dec 15, 2017 6:08:16 GMT
Hi, I am trying to model for a JBOD device with the Redfish Schema
and I got 2 questions:
1.
The physical structure of a JBOD can be described as Enclosure - Drive Slots - Drives
In the Redfish Schema, I found the Chassis - Drives relationships can be used to represent Enclosure and Drives
But I am still wondering how to represent the Drive Slot resource which has some properties such as status(OK/Warning/Critical) and state(Enabled/Disabled) with the Redfish Schema
Should I use Chassis(Component or Other) to represent the drive slot, so the JOBD device can be represented as:
Chassis(RackMount) - Chassis(Component/Other) - Drives
2.
How to represent multiple LEDs on one Chassis since there is only one IndicatorLED in the Chassis schema definition.
Looking forward to your reply
Thank you
|
|
|
Post by jautor on Dec 15, 2017 20:23:35 GMT
But I am still wondering how to represent the Drive Slot resource which has some properties such as status(OK/Warning/Critical) and state(Enabled/Disabled) with the Redfish Schema Should I use Chassis(Component or Other) to represent the drive slot, so the JOBD device can be represented as: Chassis(RackMount) - Chassis(Component/Other) - Drives
You would model the drive slot and the drive together. An empty drive slot would appear as a member of the Drive collection with an "Absent" state (in Status), and very few other properties. The slot number and related details can be shown in the Location object (for a drive and for the slot). Is there some other status/state that you'd need to report separately? We don't want to represent the LEDs themselves, but rather the information that they convey. The "IndicatorLED" property is shown as that is the function - to provide a visual identifier to a user (location / identifier). Other LEDs that show the status of a drive or it's power on/off - should be conveyed through the Status object properties. This allows software to obtain the underlying information with better detail than is typically made available (and not in a consistent manner!) with simple LED on/off/blinking information. Jeff
|
|
|
Post by zhlicen on Dec 19, 2017 9:30:07 GMT
Thanks Jeff, I think the information you provided is able to meet my needs right now.
|
|