ResourceDefinition
uris
/redfish/v1/Chassis/chassis_id/Drives/drives_id
properties
| 名称 | 类型 | 是否只读 | 取值范围/枚举值 | 说明 |
|---|---|---|---|---|
| @odata.context | string | true | - | 指定驱动器资源模型的OData描述信息 |
| @odata.id | string | true | - | 指定驱动器资源的访问路径 |
| @odata.type | string | true | - | 指定驱动器资源的类型 |
| Id | string | true | - | 指定驱动器资源的ID |
| Name | string | true | - | 指定驱动器资源的名称 |
| Model | string | true | - | 指定驱动器型号 |
| Revision | string | true | - | 指定驱动器的版本信息 |
| Status | object | true | - | 指定驱动器的状态,包括: ● State:驱动器使能状态 ● Health:驱动器健康状态 ● Severity:驱动器的自定义健康状态 |
| CapacityBytes | number | true | - | 指定驱动器容量,单位为字节 |
| BlockSizeBytes | number | true | - | 指定驱动器块大小,单位为字节 说明 不支持NVMe硬盘 |
| FailurePredicted | boolean | true | - | 指定驱动器是否检测到预故障,包括: ● true ● false |
| Protocol | string | true | - | 指定驱动器遵从的协议 ● SPI ● PCIe ● AHCI ● UHCI ● SAS ● SATA ● USB ● NVMe ● FC ● iSCSI ● FCoE ● NVMeOverFabrics ● SMB ● NFSv3 ● NFSv4 ● HTTP ● HTTPS ● FTP ● SFTP |
| MediaType | string | true | - | 指定驱动器的介质类型 ● HDD ● SSD ● SMR |
| Manufacturer | string | true | - | 指定驱动器的制造商 |
| SerialNumber | string | true | - | 指定驱动器的序列号 |
| CapableSpeedGbs | number | true | - | 指定驱动器接口的最大速率 |
| NegotiatedSpeedGbs | number | true | - | 指定驱动器接口的协商速率 |
| PredictedMediaLifeLeftPercent | number | true | - | 指定驱动器的剩余寿命百分比 |
| IndicatorLED | string | true | - | 指定驱动器的定位指示灯状态,包括: ● Off ● Blinking |
| HotspareType | string | true | - | 指定驱动器的热备状态, 包括: ● None ● Global ● Dedicated ● Auto Replace |
| StatusIndicator | string | true | - | 指定驱动器的指示灯状态,包括 ● OK ● Fail ● Rebuild ● PredictiveFailureAnalysis ● Hotspare ● InAFailedArray ● InACriticalArray |
| PartNumber | string | true | - | 硬盘资产部件编号 说明 BMC500 5.13.0及以上版本支持。 |
| LocationIndicatorActive | boolean | true | - | 硬盘定位状态,包括: ● true ● false 说明 BMC500 5.13.0及以上版本支持。 |
| DriveFormFactor | string | true | - | 硬盘尺寸,取值范围: ● Drive3_5 ● Drive2_5 ● M2 ● OEM 说明 BMC500 5.13.0及以上版本支持。 |
| Metrics | object | true | - | 指向与此驱动器关联的硬件诊断信息的URI链接, 包括: ● "@odata.id": URI链接 说明 BMC500 5.13.0及以上版本支持。 |
| Assembly | object | true | - | 指向与此驱动器关联的装配体资源的URI链接,包括: ● "@odata.id": URI链接 说明 BMC500 5.13.0及以上版本支持。 |
| PhysicalLocation | object | true | - | 阵列中硬盘的相对位置, 包括: ● "Info": 只读字符串,此属性应表示资源的位置。 ● "InfoFormat": 只读字符串,该属性应表示Info属性的格式。 ● "PartLocationContext" : 可读字符串,用于区分同一外壳内不同部件的PartLocation值,这些值可能包含该部件的父级PartLocation值的层次信息。 说明 BMC500 5.13.0及以上版本支持。 |
| Location | 指定驱动器丝印 | true | - | |
| Info | string | true | - | 指定驱动器丝印信息 |
| InfoFormat | string | true | - | 指定驱动器丝印格式 |
| RotationSpeedRPM | number | true | - | 指定驱动器的转速 |
| Oem.Public | 自定义属性 | true | - | |
| DriveID | number | true | - | 创建逻辑盘时指定的驱动器的ID |
| RebuildState | string | true | - | 指定驱动器数据重建状态,包括: ● DoneOrNotRebuilt ● Rebuilding |
| AssociatedResource | string | true | - | 指定驱动器的资源归属 |
| RebuildProgress | string | true | - | 指定驱动器数据重建进度 |
| PatrolState | string | true | - | 指定驱动器巡检状态,包括: ● DoneOrNotPatrolled ● Patrolling |
| TemperatureCelsius | number | true | - | 指定驱动器当前温度。 说明 已屏蔽该属性值频繁变化导致的事件上报 |
| FirmwareStatus | string | true | - | 指定驱动器的状态,包括: ● UnconfiguredGood ● UnconfigureBad ● HotSpareDrive ● Offline ● Failed ● Online ● GettingCopied ● JBOD ● UnconfiguredShieded ● HotSpareShielded ● ConfiguredShielded ● Foreign ● Active ● Standby ● Sleep ● DSTInProgress ● SMARTOfflineDataCollection ● SCTCommand ● Rebuilding ● Raw ● Ready ● NotSupported ● PredictiveFailure ● EraseInProgress |
| IsEPD | boolean | true | - | 是否为加强型物理硬盘 |
| SpareforLogicalDrives | array | true | - | 指定驱动器是局部热备盘时所属逻辑盘列表 |
| SASAddress | array | true | - | 指定驱动器SAS地址 |
| PowerState | string | true | - | 物理盘的节能休眠状态 ● Spun Up ● Spun Down ● Transition |
| SlotPowerState | string | true | - | 指定物理盘槽位的电源状态 ● On ● Off 说明 BMC300 5.13.0.1及以上版本支持 |
| Type | string | true | - | 驱动器类型,包括 ● Disk ● SDCard ● PCIe SSD Card |
| Position | string | true | - | 指定驱动器容器 |
| EstimatedRemainingLifespan | number | true | - | 指定驱动器预估剩余寿命 |
| HoursOfPoweredUp | number | true | - | 指定驱动器上电运行时间 说明 已屏蔽该属性值频繁变化导致的事件上报 |
| SATASmartInformation | SATA接口SMART信息 | true | - | |
| SASSmartInformation | SAS接口SMART信息 | true | - | |
| MediaErrorCount | number | true | - | 介质错误数 |
| PrefailErrorCount | number | true | - | 预测故障错误数 |
| OtherErrorCount | number | true | - | 其它错误数 |
| HealthStatus | string | true | - | 健康状态 |
| DiskTemperatureCelsius | number | true | - | 驱动器温度(摄氏度) |
| DiskStripeTemperatureCelsius | number | true | - | 驱动器条带温度(摄氏度) |
| ElementsInGrownDefectList | number | true | - | 增长缺陷列表(G表)中的元素 |
| ElementsInPrimaryDefectList | number | true | - | 主缺陷列表(P表)中的元素 |
| WeekAndYearOfManufacture | string | true | - | 生产日期 |
| BlocksSentToInitiator | number | true | - | 发送到启动器的块 |
| BlocksReceivedFromInitiator | number | true | - | 从启动器收到的块 |
| NumberOfMinutesUntilNextSMARTTest | number | true | - | 距下一次内部SMART测试的时长(分钟) |
| SequenceNumberOfLastPredFailEvent | number | true | - | 最后一次预测故障事件的序列号 |
| NVMeSmartInformation | PCIe接口SMART信息 | true | - | |
| MediaErrorCount | number | true | - | 介质错误数 |
| BDF | string | true | - | BDF值: ● Bus ● Device ● Function ● null |
| CryptoEraseSupported | boolean | true | - | 指定驱动器是否支持加密盘数据擦除 |
| RelatedArrayInfo | object | true | - | 指定驱动器上的驱动器阵列信息 |
| Members | array | true | - | 指定驱动器阵列的成员 |
| FreeSpaceMiBPerDrive | number | true | - | 指定驱动器阵列中每个驱动器的剩余容量(单位: MB) |
| TotalFreeSpaceMiB | number | true | - | 指定驱动器阵列中总的剩余容量(单位:MB) |
| FreeBlocksSpaceMib | array | true | - | 指定驱动器阵列中的剩余容量(单位:MB) |
| NumDrivePerSpan | number | true | - | 指定驱动器阵列中每个Span的成员的个数 |
| VolumeRaidLevel | string | true | - | 指定驱动器阵列组成的虚拟磁盘的级别 |
| SlotNumber | number | true | - | 物理盘所在背板的槽位号 |
| EnclosureDeviceId | number | true | - | 物理盘所在背板的设备ID,由RAID控制器固件生成 |
| BootPriority | string | true | - | 启动优先级 ● Primary ● Secondary ● All ● None |
| BootEnable | boolean | true | - | 是否为启动盘 |
| FormFactor | string | true | - | 硬盘尺寸 ● Unknown ● 5.25 inch ● 3.5 inch ● 2.5 inch ● 1.8 inch ● Lessthan 1.8 inch ● mSATA ● M.2 ● MicroSSD ● CFast |
| Links | 驱动器关联的资源 | true | - | |
| Volumes | array | true | - | 指定驱动器所属逻辑盘列表 |
| @odata.id | string | true | - | 指定驱动器所属逻辑盘的访问路径 |
| Actions | Redfish允许的指定驱动器资源可执行操作 | true | - | |
| #Drive.Reset" | object | true | - | 重启指定物理盘操作 说明 BMC300 5.13.0.1及以上版本支持 |
| target | string | true | - | 重启指定物理盘操作的访问路径 |
| @Redfish.ActionInfo | string | true | - | 重启指定物理盘操作ActionInfo的访问路径 |
| Oem.Public | 自定义属性 | true | - | |
| #Drive.CryptoErase | object | true | - | 加密盘的数据安全擦除操作 |
| target | string | true | - | 加密盘的数据安全擦除操作的访问路径 |
| @Redfish.ActionInfo | string | true | - | 加密盘的数据安全擦除操作ActionInfo的访问路径 |
| @odata.context | string | true | - | 指定驱动器资源模型的OData描述信息 |
| @odata.id | string | true | - | 指定驱动器资源的访问路径 |
| @odata.type | string | true | - | 指定驱动器资源的类型 |
| Id | string | true | - | 指定驱动器资源的ID |
| Name | string | true | - | 指定驱动器资源的名称 |
| Model | string | true | - | 指定驱动器型号 |
| Revision | string | true | - | 指定驱动器的版本信息 |
| Status | object | true | - | 指定驱动器的状态,包括: ● State:驱动器使能状态 ● Health:驱动器健康状态 ● Severity:驱动器的自定义健康状态 |
| CapacityBytes | number | true | - | 指定驱动器容量,单位为字节 |
| BlockSizeBytes | number | true | - | 指定驱动器块大小,单位为字节 说明 不支持NVMe硬盘 |
| FailurePredicted | boolean | true | - | 指定驱动器是否检测到预故障,包括: ● true ● false |
| Protocol | string | true | - | 指定驱动器遵从的协议 ● SPI ● PCIe ● AHCI ● UHCI ● SAS ● SATA ● USB ● NVMe ● FC ● iSCSI ● FCoE ● NVMeOverFabrics ● SMB ● NFSv3 ● NFSv4 ● HTTP ● HTTPS ● FTP ● SFTP |
| MediaType | string | true | - | 指定驱动器的介质类型 ● HDD ● SSD ● SMR |
| Manufacturer | string | true | - | 指定驱动器的制造商 |
| SerialNumber | string | true | - | 指定驱动器的序列号 |
| CapableSpeedGbs | number | true | - | 指定驱动器接口的最大速率 |
| NegotiatedSpeedGbs | number | true | - | 指定驱动器接口的协商速率 |
| PredictedMediaLifeLeftPercent | number | true | - | 指定驱动器的剩余寿命百分比 |
| IndicatorLED | string | true | - | 指定驱动器的定位指示灯状态,包括: ● Off ● Blinking |
| HotspareType | string | true | - | 指定驱动器的热备状态, 包括: ● None ● Global ● Dedicated ● Auto Replace |
| StatusIndicator | string | true | - | 指定驱动器的指示灯状态,包括 ● OK ● Fail ● Rebuild ● PredictiveFailureAnalysis ● Hotspare ● InAFailedArray ● InACriticalArray |
| PartNumber | string | true | - | 硬盘资产部件编号 说明 BMC500 5.13.0及以上版本支持。 |
| LocationIndicatorActive | boolean | true | - | 硬盘定位状态,包括: ● true ● false 说明 BMC500 5.13.0及以上版本支持。 |
| DriveFormFactor | string | true | - | 硬盘尺寸,取值范围: ● Drive3_5 ● Drive2_5 ● M2 ● OEM 说明 BMC500 5.13.0及以上版本支持。 |
| Metrics | object | true | - | 指向与此驱动器关联的硬件诊断信息的URI链接, 包括: ● "@odata.id": URI链接 说明 BMC500 5.13.0及以上版本支持。 |
| Assembly | object | true | - | 指向与此驱动器关联的装配体资源的URI链接,包括: ● "@odata.id": URI链接 说明 BMC500 5.13.0及以上版本支持。 |
| PhysicalLocation | object | true | - | 阵列中硬盘的相对位置, 包括: ● "Info": 只读字符串,此属性应表示资源的位置。 ● "InfoFormat": 只读字符串,该属性应表示Info属性的格式。 ● "PartLocationContext" : 可读字符串,用于区分同一外壳内不同部件的PartLocation值,这些值可能包含该部件的父级PartLocation值的层次信息。 说明 BMC500 5.13.0及以上版本支持。 |
| Location | 指定驱动器丝印 | true | - | |
| Info | string | true | - | 丝印信息 |
| InfoFormat | string | true | - | 丝印格式 |
| RotationSpeedRPM | number | true | - | 指定驱动器的转速 |
| Oem.Public | 自定义属性 | true | - | |
| DriveID | number | true | - | 创建逻辑盘时指定的驱动器的ID |
| RebuildState | string | true | - | 指定驱动器数据重建状态,包括: ● DoneOrNotRebuilt ● Rebuilding |
| AssociatedResource | string | true | - | 指定驱动器的资源归属 |
| RebuildProgress | string | true | - | 指定驱动器数据重建进度 |
| PatrolState | string | true | - | 指定驱动器巡检状态,包括: ● DoneOrNotPatrolled ● Patrolling |
| TemperatureCelsius | number | true | - | 指定驱动器当前温度 说明 已屏蔽该属性值频繁变化导致的事件上报 |
| FirmwareStatus | string | true | - | 指定驱动器的状态,包括: ● UnconfiguredGood ● UnconfigureBad ● HotSpareDrive ● Offline ● Failed ● Online ● GettingCopied ● JBOD ● UnconfiguredShieded ● HotSpareShielded ● ConfiguredShielded ● Foreign ● Active ● Standby ● Sleep ● DSTInProgress ● SMARTOfflineDataCollection ● SCTCommand ● Rebuilding ● Raw ● Ready ● NotSupported ● PredictiveFailure ● EraseInProgress |
| SpareforLogicalDrives | array | true | - | 指定局部热备盘所属逻辑盘列表 |
| SASAddress | array | true | - | 指定驱动器SAS地址 |
| SlotPowerState | string | true | - | 指定物理盘槽位的电源状态 ● On ● Off 说明 BMC300 5.13.0.1及以上版本支持 |
| Type | string | true | - | 驱动器类型,包括: ● Disk ● SDCard ● PCIe SSD Card |
| Position | string | true | - | 驱动器容器 |
| HoursOfPoweredUp | number | true | - | 指定驱动器上电运行时间 说明 已屏蔽该属性值频繁变化导致的事件上报 |
| SATASmartInformation | SATA接口SMART信息 | true | - | |
| AttributeRevision | string | true | - | SMART属性版本号 |
| AttributeRevisionNumber | number | true | - | SMART属性数量 |
| AttributeItemList | array | true | - | SMART属性列表 |
| RawValue | number | true | - | SMART属性物理值(通常对应于计数或物理单位, 如扇区个数,摄氏度或秒) |
| UpdateMode | string | true | - | SMART属性的更新模式 |
| AttributeName | string | true | - | SMART属性名称 |
| NormalizedValue | number | true | - | SMART属性标准值 |
| Flag | string | true | - | SMART属性标识 |
| WorstValue | number | true | - | SMART属性历史最差值 |
| FaultStatus | string | true | - | SMART属性失效状态 |
| Threshold | number | true | - | SMART属性阈值 |
| FaultWarningMode | string | true | - | SMART属性故障类型 |
| SmartAttributeID | number | true | - | SMART属性ID |
| CryptoEraseSupported | boolean | true | - | 指定驱动器是否支持加密盘数据擦除 |
| RelatedArrayInfo | object | true | - | 指定驱动器上的驱动器阵列信息 |
| Members | array | true | - | 指定驱动器阵列的成员 |
| FreeSpaceMiBPerDrive | number | true | - | 指定驱动器阵列中每个驱动器的剩余容量(单位: MB) |
| TotalFreeSpaceMiB | number | true | - | 指定驱动器阵列中总的剩余容量(单位:MB) |
| FreeBlocksSpaceMib | array | true | - | 指定驱动器阵列中的剩余容量(单位:MB) |
| NumDrivePerSpan | number | true | - | 指定驱动器阵列中每个Span的成员的个数 |
| VolumeRaidLevel | string | true | - | 指定驱动器阵列组成的虚拟磁盘的级别 |
| SlotNumber | number | true | - | 物理盘所在背板的槽位号 |
| EnclosureDeviceId | number | true | - | 物理盘所在背板的设备ID,由RAID控制器固件生成 |
| BootPriority | string | true | - | 启动优先级 ● Primary ● Secondary ● All ● None |
| BootEnable | boolean | true | - | 是否为启动盘 |
| Links | 驱动器关联的资源 | true | - | |
| Volumes | array | true | - | 所属逻辑盘列表 |
| @odata.id | string | true | - | 所属逻辑盘的访问路径 |
| Actions | Redfish允许的指定驱动器资源可执行操作 | true | - | |
| #Drive.Reset" | object | true | - | 重启指定物理盘操作 说明 BMC300 5.13.0.1及以上版本支持 |
| target | string | true | - | 重启指定物理盘操作的访问路径 |
| @Redfish.ActionInfo | string | true | - | 重启指定物理盘操作ActionInfo的访问路径 |
| Oem.Public | 自定义属性 | true | - | |
| #Drive.CryptoErase | object | true | - | 加密盘的数据安全擦除操作 |
| target | string | true | - | 加密盘的数据安全擦除操作的访问路径 |
| @odata.context | string | true | - | 指定SD驱动器资源模型的OData描述信息 |
| @odata.id | string | true | - | 指定SD驱动器资源的访问路径 |
| @odata.type | string | true | - | 指定SD驱动器资源的类型 |
| Id | string | true | - | 指定SD驱动器资源的Id |
| Name | string | true | - | 指定SD驱动器资源的名称 |
| Model | string | true | - | 指定SD驱动器型号 |
| Revision | string | true | - | 指定SD驱动器的版本信息 |
| Status | object | true | - | 指定SD驱动器的状态,包括: ● State:SD驱动器使能状态 ● Health:SD驱动器健康状态 ● Severity:SD驱动器的自定义健康状态 |
| CapacityBytes | number | true | - | 指定SD驱动器容量,单位为字节 |
| BlockSizeBytes | number | true | - | 指定驱动器块大小,单位为字节 说明 不支持NVMe硬盘 |
| FailurePredicted | boolean | true | - | 指定SD驱动器是否检测到预故障,包括: ● true ● false |
| Protocol | string | true | - | 指定SD驱动器遵从的协议 ● SPI ● PCIe ● AHCI ● UHCI ● SAS ● SATA ● USB ● NVMe ● FC ● iSCSI ● FCoE ● NVMeOverFabrics ● SMB ● NFSv3 ● NFSv4 ● HTTP ● HTTPS ● FTP ● SFTP |
| MediaType | string | true | - | 指定SD驱动器的介质类型 ● HDD ● SSD ● SMR |
| Manufacturer | string | true | - | 指定SD驱动器的制造商 |
| SerialNumber | string | true | - | 指定SD驱动器的序列号 |
| CapableSpeedGbs | number | true | - | 指定SD驱动器接口的最大速率 |
| NegotiatedSpeedGbs | number | true | - | 指定SD驱动器接口的协商速率 |
| PredictedMediaLifeLeftPercent | number | true | - | 指定SD驱动器的剩余寿命百分比 |
| IndicatorLED | string | true | - | 指定SD驱动器的定位指示灯状态,包括: ● Off ● Blinking |
| HotspareType | string | true | - | 指定SD驱动器的热备状态,包括: ● None ● Global ● Dedicated |
| StatusIndicator | string | true | - | 指定SD驱动器的指示灯状态,包括 ● OK ● Fail ● Rebuild ● PredictiveFailureAnalysis ● Hotspare ● InAFailedArray ● InACriticalArray |
| PartNumber | string | true | - | 硬盘资产部件编号 说明 BMC500 5.13.0及以上版本支持。 |
| LocationIndicatorActive | boolean | true | - | 硬盘定位状态,包括: ● true ● false 说明 BMC500 5.13.0及以上版本支持。 |
| DriveFormFactor | string | true | - | 硬盘尺寸,取值范围: ● Drive3_5 ● Drive2_5 ● M2 ● OEM 说明 BMC500 5.13.0及以上版本支持。 |
| Metrics | object | true | - | 指向与此驱动器关联的硬件诊断信息的URI链接, 包括: ● "@odata.id": URI链接 说明 BMC500 5.13.0及以上版本支持。 |
| Assembly | object | true | - | 指向与此驱动器关联的装配体资源的URI链接,包括: ● "@odata.id": URI链接 说明 BMC500 5.13.0及以上版本支持。 |
| PhysicalLocation | object | true | - | 阵列中硬盘的相对位置, 包括: ● "Info": 只读字符串,此属性应表示资源的位置。 ● "InfoFormat": 只读字符串,该属性应表示Info属性的格式。 ● "PartLocationContext" : 可读字符串,用于区分同一外壳内不同部件的PartLocation值,这些值可能包含该部件的父级PartLocation值的层次信息。 说明 BMC500 5.13.0及以上版本支持。 |
| Location | 驱动器丝印 | true | - | |
| RotationSpeedRPM | number | true | - | 指定驱动器的转速 |
| Oem.Public | 自定义属性 | true | - | |
| SlotPowerState | string | true | - | 指定物理盘槽位的电源状态 ● On ● Off 说明 BMC300 5.13.0.1及以上版本支持 |
| Type | string | true | - | 驱动器类型,包括: ● Disk ● SDCard ● PCIe SSD Card |
| RebuildState | string | true | - | 指定SD驱动器数据重建状态,包括: ● DoneOrNotRebuilt ● Rebuilding |
| Links | 驱动器关联的资源 | true | - | |
| Volumes | array | true | - | 指定SD驱动器所属逻辑盘列表 |
| Actions | Redfish允许的指定驱动器 资源可执行操作 | true | - | |
| #Drive.Reset" | object | true | - | 重启指定物理盘操作 说明 BMC300 5.13.0.1及以上版本支持 |
| target | string | true | - | 重启指定物理盘操作的访问路径 |
| @Redfish.ActionInfo | string | true | - | 重启指定物理盘操作ActionInfo的访问路径 |
| @odata.context | string | true | - | 指定驱动器资源模型的OData描述信息 |
| @odata.id | string | true | - | 指定驱动器资源的访问路径 |
| @odata.type | string | true | - | 指定驱动器资源的类型 |
| Id | string | true | - | 指定PCIe SSD驱动器资源的ID |
| Name | string | true | - | 指定PCIe SSD驱动器资源的名称 |
| Model | string | true | - | 指定PCIe SSD驱动器型号 |
| Revision | string | true | - | 指定PCIe SSD驱动器的版本信息 |
| Status | object | true | - | 指定PCIe SSD驱动器的状态,包括: ● Health:PCIe SSD驱动器健康状态 ● State:PCIe SSD驱动器使能状态 ● Severity:PCIe SSD驱动器的自定义健康状态 |
| CapacityBytes | number | true | - | 指定PCIe SSD驱动器容量,单位为字节 |
| FailurePredicted | boolean | true | - | 指定PCIe SSD驱动器是否检测到预故障,包括: ● true ● false |
| Protocol | string | true | - | 指定PCIe SSD驱动器遵从的协议 ● SPI ● PCIe ● AHCI ● UHCI ● SAS ● SATA ● USB ● NVMe ● FC ● iSCSI ● FCoE ● NVMeOverFabrics ● SMB ● NFSv3 ● NFSv4 ● HTTP ● HTTPS ● FTP ● SFTP |
| MediaType | string | true | - | 指定PCIe SSD驱动器的介质类型,包括: ● HDD ● SSD ● SMR |
| Manufacturer | string | true | - | 指定PCIe SSD驱动器的制造商 |
| SerialNumber | string | true | - | 指定PCIe SSD驱动器的序列号 |
| CapableSpeedGbs | number | true | - | 指定PCIe SSD驱动器接口的最大速率 |
| NegotiatedSpeedGbs | number | true | - | 指定PCIe SSD驱动器接口的协商速率 |
| PredictedMediaLifeLeftPercent | number | true | - | 指定PCIe SSD驱动器的剩余寿命百分比 |
| IndicatorLED | string | true | - | 指定PCIe SSD驱动器的定位指示灯状态,包括: ● Off ● Blinking |
| HotspareType | string | true | - | 指定PCIe SSD驱动器的热备状态,包括: ● None ● Global ● Dedicated |
| StatusIndicator | string | true | - | 指定PCIe SSD驱动器的指示灯状态 ● OK ● Fail ● Rebuild ● PredictiveFailureAnalysis ● Hotspare ● InAFailedArray ● InACriticalArray |
| PartNumber | string | true | - | 硬盘资产部件编号 说明 BMC500 5.13.0及以上版本支持。 |
| LocationIndicatorActive | boolean | true | - | 硬盘定位状态,包括: ● true ● false 说明 BMC500 5.13.0及以上版本支持。 |
| DriveFormFactor | string | true | - | 硬盘尺寸,取值范围: ● Drive3_5 ● Drive2_5 ● M2 ● OEM 说明 BMC500 5.13.0及以上版本支持。 |
| Metrics | object | true | - | 指向与此驱动器关联的硬件诊断信息的URI链接, 包括: ● "@odata.id": URI链接 说明 BMC500 5.13.0及以上版本支持。 |
| Assembly | object | true | - | 指向与此驱动器关联的装配体资源的URI链接,包括: ● "@odata.id": URI链接 说明 BMC500 5.13.0及以上版本支持。 |
| PhysicalLocation | object | true | - | 阵列中硬盘的相对位置, 包括: ● "Info": 只读字符串,此属性应表示资源的位置。 ● "InfoFormat": 只读字符串,该属性应表示Info属性的格式。 ● "PartLocationContext" : 可读字符串,用于区分同一外壳内不同部件的PartLocation值,这些值可能包含该部件的父级PartLocation值的层次信息。 说明 BMC500 5.13.0及以上版本支持。 |
| Location | 指定PCIe SSD驱动器丝印 | true | - | |
| Info | string | true | - | 丝印信息 |
| InfoFormat | string | true | - | 丝印格式 |
| RotationSpeedRPM | number | true | - | 指定驱动器的转速 |
| Oem.Public | 自定义属性 | true | - | |
| DriveID | number | true | - | 指定PCIe SSD驱动器ID。 |
| RebuildState | string | true | - | 指定PCIe SSD驱动器数据重建状态,包括: ● DoneOrNotRebuilt ● Rebuilding |
| AssociatedResource | string | true | - | 指定驱动器的资源归属 |
| RebuildProgress | string | true | - | 指定PCIe SSD驱动器数据重建进度 |
| PatrolState | string | true | - | 指定PCIe SSD驱动器巡检状态,包括: ● DoneOrNotPatrolled ● Patrolling |
| TemperatureCelsius | number | true | - | 指定PCIe SSD驱动器当前温度 说明 已屏蔽该属性值频繁变化导致的事件上报 |
| FirmwareStatus | string | true | - | 指定PCIe SSD驱动器的状态 |
| SpareforLogicalDrives | array | true | - | 指定局部热备盘所属逻辑盘列表 |
| SASAddress | array | true | - | 指定PCIe SSD驱动器SAS地址 |
| SlotPowerState | string | true | - | 指定物理盘槽位的电源状态 ● On ● Off 说明 BMC300 5.13.0.1及以上版本支持 |
| Type | string | true | - | 驱动器类型,包括: ● Disk ● SDCard ● PCIe SSD Card |
| Position | string | true | - | 指定PCIe SSD驱动器容器 |
| HoursOfPoweredUp | number | true | - | 指定PCIe SSD驱动器上电运行时间 说明 已屏蔽该属性值频繁变化导致的事件上报 |
| SATASmartInformation | object | true | - | SATA接口SMART信息 |
| SATASmartInformation | object | true | - | SAS接口SMART信息 |
| Links | 指定PCIe SSD驱动器关联的资源 | true | - | |
| Volumes | array | true | - | 指定PCIe SSD驱动器所属逻辑盘列表 |
| Actions | Redfish允许的指定驱动器 资源可执行操作 | true | - | |
| #Drive.Reset" | object | true | - | 重启指定物理盘操作 说明 BMC300 5.13.0.1及以上版本支持 |
| target | string | true | - | 重启指定物理盘操作的访问路径 |
| @Redfish.ActionInfo | string | true | - | 重启指定物理盘操作ActionInfo的访问路径 |
| @odata.context | string | true | - | 指定驱动器资源模型的OData描述信息 |
| @odata.id | string | true | - | 指定驱动器资源的访问路径 |
| @odata.type | string | true | - | 指定驱动器资源的类型 |
| Id | string | true | - | 指定驱动器资源的ID |
| Name | string | true | - | 指定驱动器资源的名称 |
| Model | string | true | - | 指定驱动器型号 |
| Revision | string | true | - | 指定驱动器的版本信息 |
| Status | object | true | - | 指定驱动器的状态,包括: ● State:驱动器使能状态 ● Health:驱动器健康状态 ● Severity:驱动器的自定义健康状态 |
| CapacityBytes | number | true | - | 指定驱动器容量,单位为字节 |
| BlockSizeBytes | number | true | - | 指定驱动器块大小,单位为字节 说明 不支持NVMe硬盘 |
| FailurePredicted | boolean | true | - | 指定驱动器是否检测到预故障,包括: ● true ● false |
| Protocol | string | true | - | 指定驱动器遵从的协议 ● SPI ● PCIe ● AHCI ● UHCI ● SAS ● SATA ● USB ● NVMe ● FC ● iSCSI ● FCoE ● NVMeOverFabrics ● SMB ● NFSv3 ● NFSv4 ● HTTP ● HTTPS ● FTP ● SFTP |
| MediaType | string | true | - | 指定驱动器的介质类型 ● HDD ● SSD ● SMR |
| Manufacturer | string | true | - | 指定驱动器的制造商 |
| SerialNumber | string | true | - | 指定驱动器的序列号 |
| CapableSpeedGbs | number | true | - | 指定驱动器接口的最大速率 |
| NegotiatedSpeedGbs | number | true | - | 指定驱动器接口的协商速率 |
| PredictedMediaLifeLeftPercent | number | true | - | 指定驱动器的剩余寿命百分比 |
| IndicatorLED | string | true | - | 指定驱动器的定位指示灯状态,包括: ● Off ● Blinking |
| HotspareType | string | true | - | 指定驱动器的热备状态, 包括: ● None ● Global ● Dedicated ● Auto Replace |
| StatusIndicator | string | true | - | 指定驱动器的指示灯状态,包括 ● OK ● Fail ● Rebuild ● PredictiveFailureAnalysis ● Hotspare ● InAFailedArray ● InACriticalArray |
| PartNumber | string | true | - | 硬盘资产部件编号 说明 BMC500 5.13.0及以上版本支持。 |
| LocationIndicatorActive | boolean | true | - | 硬盘定位状态,包括: ● true ● false 说明 BMC500 5.13.0及以上版本支持。 |
| DriveFormFactor | string | true | - | 硬盘尺寸,取值范围: ● Drive3_5 ● Drive2_5 ● M2 ● OEM 说明 BMC500 5.13.0及以上版本支持。 |
| Metrics | object | true | - | 指向与此驱动器关联的硬件诊断信息的URI链接, 包括: ● "@odata.id": URI链接 说明 BMC500 5.13.0及以上版本支持。 |
| Assembly | object | true | - | 指向与此驱动器关联的装配体资源的URI链接,包括: ● "@odata.id": URI链接 说明 BMC500 5.13.0及以上版本支持。 |
| PhysicalLocation | object | true | - | 阵列中硬盘的相对位置, 包括: ● "Info": 只读字符串,此属性应表示资源的位置。 ● "InfoFormat": 只读字符串,该属性应表示Info属性的格式。 ● "PartLocationContext" : 可读字符串,用于区分同一外壳内不同部件的PartLocation值,这些值可能包含该部件的父级PartLocation值的层次信息。 说明 BMC500 5.13.0及以上版本支持。 |
| Location | 指定驱动器丝印 | true | - | |
| Info | string | true | - | 丝印信息 |
| InfoFormat | string | true | - | 丝印格式 |
| RotationSpeedRPM | number | true | - | 指定驱动器的转速 |
| Oem.Public | 自定义属性 | true | - | |
| DriveID | number | true | - | 创建逻辑盘时指定的驱动器的ID |
| RebuildState | string | true | - | 指定驱动器数据重建状态,包括: ● DoneOrNotRebuilt ● Rebuilding |
| AssociatedResource | string | true | - | 指定驱动器的资源归属 |
| RebuildProgress | string | true | - | 指定驱动器数据重建进度 |
| PatrolState | string | true | - | 指定驱动器巡检状态,包括: ● DoneOrNotPatrolled ● Patrolling |
| TemperatureCelsius | number | true | - | 指定驱动器当前温度 说明 已屏蔽该属性值频繁变化导致的事件上报 |
| FirmwareStatus | string | true | - | 指定驱动器的状态,包括: ● UnconfiguredGood ● UnconfigureBad ● HotSpareDrive ● Offline ● Failed ● Online ● GettingCopied ● JBOD ● UnconfiguredShieded ● HotSpareShielded ● ConfiguredShielded ● Foreign ● Active ● Standby ● Sleep ● DSTInProgress ● SMARTOfflineDataCollection ● SCTCommand ● Rebuilding ● Raw ● Ready ● NotSupported ● PredictiveFailure ● EraseInProgress |
| SpareforLogicalDrives | array | true | - | 指定局部热备盘所属逻辑盘列表 |
| SASAddress | array | true | - | 指定驱动器SAS地址 |
| SlotPowerState | string | true | - | 指定物理盘槽位的电源状态 ● On ● Off 说明 BMC300 5.13.0.1及以上版本支持 |
| Type | string | true | - | 驱动器类型,包括: ● Disk ● SDCard ● PCIe SSD Card |
| Position | string | true | - | 驱动器容器 |
| HoursOfPoweredUp | number | true | - | 指定驱动器上电运行时间 说明已屏蔽该属性值频繁变化导致的事件上报 |
| SATASmartInformation | SATA接口SMART信息 | true | - | |
| AttributeRevision | string | true | - | SMART属性版本号 |
| AttributeRevisionNumber | number | true | - | SMART属性数量 |
| AttributeItemList | array | true | - | SMART属性列表 |
| RawValue | number | true | - | SMART属性物理值(通常对应于计数或物理单位, 如扇区个数,摄氏度或秒) |
| UpdateMode | string | true | - | SMART属性的更新模式 |
| AttributeName | string | true | - | SMART属性名称 |
| NormalizedValue | number | true | - | SMART属性标准值 |
| Flag | string | true | - | SMART属性标识 |
| WorstValue | number | true | - | SMART属性历史最差值 |
| FaultStatus | string | true | - | SMART属性失效状态 |
| Threshold | number | true | - | SMART属性阈值 |
| FaultWarningMode | string | true | - | SMART属性故障类型 |
| SmartAttributeID | number | true | - | SMART属性ID |
| CryptoEraseSupported | boolean | true | - | 指定驱动器是否支持加密盘数据擦除 |
| RelatedArrayInfo | object | true | - | 指定驱动器上的驱动器阵列信息 |
| Members | array | true | - | 指定驱动器阵列的成员 |
| FreeSpaceMiBPerDrive | number | true | - | 指定驱动器阵列中每个驱动器的剩余容量(单位: MB) |
| TotalFreeSpaceMiB | number | true | - | 指定驱动器阵列中总的剩余容量(单位:MB) |
| FreeBlocksSpaceMib | array | true | - | 指定驱动器阵列中的剩余容量(单位:MB) |
| NumDrivePerSpan | number | true | - | 指定驱动器阵列中每个Span的成员的个数 |
| VolumeRaidLevel | string | true | - | 指定驱动器阵列组成的虚拟磁盘的级别 |
| SlotNumber | number | true | - | 物理盘所在背板的槽位号 |
| EnclosureDeviceId | number | true | - | 物理盘所在背板的设备ID,由RAID控制器固件生成 |
| BootPriority | string | true | - | 启动优先级 ● Primary ● Secondary ● All ● None |
| BootEnable | boolean | true | - | 是否为启动盘 |
| Links | 驱动器关联的资源 | true | - | |
| Volumes | array | true | - | 所属逻辑盘列表 |
| @odata.id | string | true | - | 所属逻辑盘的访问路径 |
| Actions | Redfish允许的指定驱动器资源可执行操作 | true | - | |
| #Drive.Reset" | object | true | - | 重启指定物理盘操作 说明 BMC300 5.13.0.1及以上版本支持 |
| target | string | true | - | 重启指定物理盘操作的访问路径 |
| @Redfish.ActionInfo | string | true | - | 重启指定物理盘操作ActionInfo的访问路径 |
| Oem.Public | 自定义属性 | true | - | |
| #Drive.CryptoErase | object | true | - | 加密盘的数据安全擦除操作 |
| target | string | true | - | 加密盘的数据安全擦除操作的访问路径 |
| @odata.context | string | true | - | 指定SD驱动器资源模型的OData描述信息 |
| @odata.id | string | true | - | 指定SD驱动器资源的访问路径 |
| @odata.type | string | true | - | 指定SD驱动器资源的类型 |
| Id | string | true | - | 指定SD驱动器资源的Id |
| Name | string | true | - | 指定SD驱动器资源的名称 |
| Model | string | true | - | 指定SD驱动器型号 |
| Revision | string | true | - | 指定SD驱动器的版本信息 |
| Status | object | true | - | 指定SD驱动器的状态,包括: ● State:SD驱动器使能状态 ● Health:SD驱动器健康状态 ● Severity:SD驱动器的自定义健康状态 |
| CapacityBytes | number | true | - | 指定SD驱动器容量,单位为字节 |
| BlockSizeBytes | number | true | - | 指定驱动器块大小,单位为字节 说明:不支持NVMe硬盘 |
| FailurePredicted | boolean | true | - | 指定SD驱动器是否检测到预故障,包括: ● true ● false |
| Protocol | string | true | - | 指定SD驱动器遵从的协议 ● SPI ● PCIe ● AHCI ● UHCI ● SAS ● SATA ● USB ● NVMe ● FC ● iSCSI ● FCoE ● NVMeOverFabrics ● SMB ● NFSv3 ● NFSv4 ● HTTP ● HTTPS ● FTP ● SFTP |
| MediaType | string | true | - | 指定SD驱动器的介质类型 ● HDD ● SSD ● SMR |
| Manufacturer | string | true | - | 指定SD驱动器的制造商 |
| SerialNumber | string | true | - | 指定SD驱动器的序列号 |
| CapableSpeedGbs | number | true | - | 指定SD驱动器接口的最大速率 |
| NegotiatedSpeedGbs | number | true | - | 指定SD驱动器接口的协商速率 |
| PredictedMediaLifeLeftPercent | number | true | - | 指定SD驱动器的剩余寿命百分比 |
| IndicatorLED | string | true | - | 指定SD驱动器的定位指示灯状态,包括: ● Off ● Blinking |
| HotspareType | string | true | - | 指定SD驱动器的热备状态,包括: ● None ● Global ● Dedicated |
| StatusIndicator | string | true | - | 指定SD驱动器的指示灯状态,包括 ● OK ● Fail ● Rebuild ● PredictiveFailureAnalysis ● Hotspare ● InAFailedArray ● InACriticalArray |
| PartNumber | string | true | - | 硬盘资产部件编号 说明:BMC500 5.13.0及以上版本支持 |
| LocationIndicatorActive | boolean | true | - | 硬盘定位状态,包括: ● true ● false 说明:BMC500 5.13.0及以上版本支持 |
| DriveFormFactor | string | true | - | 硬盘尺寸,取值范围: ● Drive3_5 ● Drive2_5 ● M2 ● OEM 说明:BMC500 5.13.0及以上版本支持 |
| Metrics | object | true | - | 指向与此驱动器关联的硬件诊断信息的URI链接,包括: ● "@odata.id": URI链接 说明:BMC500 5.13.0及以上版本支持 |
| Assembly | object | true | - | 指向与此驱动器关联的装配体资源的URI链接,包括: ● "@odata.id": URI链接 说明:BMC500 5.13.0及以上版本支持 |
| PhysicalLocation | object | true | - | 阵列中硬盘的相对位置,包括: ● "Info": 只读字符串,此属性应表示资源的位置 ● "InfoFormat": 只读字符串,该属性应表示Info属性的格式 ● "PartLocationContext": 可读字符串,用于区分同一外壳内不同部件的PartLocation值,这些值可能包含该部件的父级PartLocation值的层次信息 说明:BMC500 5.13.0及以上版本支持 |
| Location | string | true | - | 驱动器丝印 |
| RotationSpeedRPM | number | true | - | 指定驱动器的转速 |
| Oem.Public | 自定义属性 | true | - | 自定义属性 |
| SlotPowerState | string | true | - | 指定物理盘槽位的电源状态 ● On ● Off 说明:BMC300 5.13.0.1及以上版本支持 |
| Type | string | true | - | 驱动器类型,包括: ● Disk ● SDCard ● PCIe SSD Card |
| RebuildState | string | true | - | 指定SD驱动器数据重建状态,包括: ● DoneOrNotRebuilt ● Rebuilding |
| Links | - | true | - | 驱动器关联的资源 |
| Volumes | array | true | - | 指定SD驱动器所属逻辑盘列表 |
| Actions | - | true | - | Redfish允许的指定驱动器资源可执行操作 |
| #Drive.Reset | object | true | - | 重启指定物理盘操作 说明:BMC300 5.13.0.1及以上版本支持 |
| target | string | true | - | 重启指定物理盘操作的访问路径 |
| @Redfish.ActionInfo | string | true | - | 重启指定物理盘操作ActionInfo的访问路径 |
| @odata.context | string | true | - | 指定驱动器资源模型的OData描述信息 |
| @odata.id | string | true | - | 指定驱动器资源的访问路径 |
| @odata.type | string | true | - | 指定驱动器资源的类型 |
| Id | string | true | - | 指定PCIe SSD驱动器资源的ID |
| Name | string | true | - | 指定PCIe SSD驱动器资源的名称 |
| Model | string | true | - | 指定PCIe SSD驱动器型号 |
| Revision | string | true | - | 指定PCIe SSD驱动器的版本信息 |
| Status | object | true | - | 指定PCIe SSD驱动器的状态,包括: ● Health:PCIe SSD驱动器健康状态 ● State:PCIe SSD驱动器使能状态 ● Severity:PCIe SSD驱动器的自定义健康状态 |
| CapacityBytes | number | true | - | 指定PCIe SSD驱动器容量,单位为字节 |
| FailurePredicted | boolean | true | - | 指定PCIe SSD驱动器是否检测到预故障,包括: ● true ● false |
| Protocol | string | true | - | 指定PCIe SSD驱动器遵从的协议 ● SPI ● PCIe ● AHCI ● UHCI ● SAS ● SATA ● USB ● NVMe ● FC ● iSCSI ● FCoE ● NVMeOverFabrics ● SMB ● NFSv3 ● NFSv4 ● HTTP ● HTTPS ● FTP ● SFTP |
| MediaType | string | true | - | 指定PCIe SSD驱动器的介质类型,包括: ● HDD ● SSD ● SMR |
| Manufacturer | string | true | - | 指定PCIe SSD驱动器的制造商 |
| SerialNumber | string | true | - | 指定PCIe SSD驱动器的序列号 |
| CapableSpeedGbs | number | true | - | 指定PCIe SSD驱动器接口的最大速率 |
| NegotiatedSpeedGbs | number | true | - | 指定PCIe SSD驱动器接口的协商速率 |
| PredictedMediaLifeLeftPercent | number | true | - | 指定PCIe SSD驱动器的剩余寿命百分比 |
| IndicatorLED | string | true | - | 指定PCIe SSD驱动器的定位指示灯状态,包括: ● Off ● Blinking |
| HotspareType | string | true | - | 指定PCIe SSD驱动器的热备状态,包括: ● None ● Global ● Dedicated |
| StatusIndicator | string | true | - | 指定PCIe SSD驱动器的指示灯状态 ● OK ● Fail ● Rebuild ● PredictiveFailureAnalysis ● Hotspare ● InAFailedArray ● InACriticalArray |
| PartNumber | string | true | - | 硬盘资产部件编号 说明:BMC500 5.13.0及以上版本支持 |
| LocationIndicatorActive | boolean | true | - | 硬盘定位状态,包括: ● true ● false 说明:BMC500 5.13.0及以上版本支持 |
| DriveFormFactor | string | true | - | 硬盘尺寸,取值范围: ● Drive3_5 ● Drive2_5 ● M2 ● OEM 说明:BMC500 5.13.0及以上版本支持 |
| Metrics | object | true | - | 指向与此驱动器关联的硬件诊断信息的URI链接,包括: ● "@odata.id": URI链接 说明:BMC500 5.13.0及以上版本支持 |
| Assembly | object | true | - | 指向与此驱动器关联的装配体资源的URI链接,包括: ● "@odata.id": URI链接 说明:BMC500 5.13.0及以上版本支持 |
| PhysicalLocation | object | true | - | 阵列中硬盘的相对位置,包括: ● "Info": 只读字符串,此属性应表示资源的位置 ● "InfoFormat": 只读字符串,该属性应表示Info属性的格式 ● "PartLocationContext": 可读字符串,用于区分同一外壳内不同部件的PartLocation值,这些值可能包含该部件的父级PartLocation值的层次信息 说明:BMC500 5.13.0及以上版本支持 |
| Location | string | true | - | 指定PCIe SSD驱动器丝印 |
| Info | string | true | - | 丝印信息 |
| InfoFormat | string | true | - | 丝印格式 |
| RotationSpeedRPM | number | true | - | 指定驱动器的转速 |
| Oem.Public | 自定义属性 | true | - | 自定义属性 |
| DriveID | number | true | - | 指定PCIe SSD驱动器ID |
| RebuildState | string | true | - | 指定PCIe SSD驱动器数据重建状态,包括: ● DoneOrNotRebuilt ● Rebuilding |
| AssociatedResource | string | true | - | 指定驱动器的资源归属 |
| RebuildProgress | string | true | - | 指定PCIe SSD驱动器数据重建进度 |
| PatrolState | string | true | - | 指定PCIe SSD驱动器巡检状态,包括: ● DoneOrNotPatrolled ● Patrolling |
| TemperatureCelsius | number | true | - | 指定PCIe SSD驱动器当前温度 说明:已屏蔽该属性值频繁变化导致的事件上报 |
| FirmwareStatus | string | true | - | 指定PCIe SSD驱动器的状态 |
| SpareforLogicalDrives | array | true | - | 指定局部热备盘所属逻辑盘列表 |
| SASAddress | array | true | - | 指定PCIe SSD驱动器SAS地址 |
| SlotPowerState | string | true | - | 指定物理盘槽位的电源状态 ● On ● Off 说明:BMC300 5.13.0.1及以上版本支持 |
| Type | string | true | - | 驱动器类型,包括: ● Disk ● SDCard ● PCIe SSD Card |
| Position | string | true | - | 指定PCIe SSD驱动器容器 |
| HoursOfPoweredUp | number | true | - | 指定PCIe SSD驱动器上电运行时间 说明:已屏蔽该属性值频繁变化导致的事件上报 |
| SATASmartInformation | object | true | - | SATA接口SMART信息 |
| SASSmartInformation | object | true | - | SAS接口SMART信息 |
| Links | - | true | - | 指定PCIe SSD驱动器关联的资源 |
| Volumes | array | true | - | 指定PCIe SSD驱动器所属逻辑盘列表 |
| Actions | - | true | - | Redfish允许的指定驱动器资源可执行操作 |
| #Drive.Reset | object | true | - | 重启指定物理盘操作 说明:BMC300 5.13.0.1及以上版本支持 |
| target | string | true | - | 重启指定物理盘操作的访问路径 |
| @Redfish.ActionInfo | string | true | - | 重启指定物理盘操作ActionInfo的访问路径 |
supported_methods
- GET
- POST
- PATCH
HTTP methods
GET
命令功能
查询指定驱动器资源信息
命令格式
URL: https://device_ip/redfish/v1/Chassis/chassis_id/Drives/drive_id
请求头:
X-Auth-Token: 123456789***********************请求消息体: 无
参数说明
| 参数 | 参数说明 | 取值 |
|---|---|---|
| device_ip | 登录设备的IP地址 | IPv4或IPv6地址 |
| chassis_id | 系统资源的ID | ● 针对机架服务器,取值 为1 ● 针对高密服务器,取值 为BladeN(N表示节点 槽位号),例如 “Blade1” ● 针对刀片服务器,取值 可以为BladeN(N表示 计算节点槽位号) ● 针对X6800 V5,X6000 V5,G5500,XA320 V2 服务器,取值还可以为 Enc,表示计算节点所在 的机框资源 ● 针对设备U位信息,取值 可以为UN(N表示设备U 位号),例如"U1" ● 针对机柜资源,取值为 Rack |
| drive_id | 指定驱动器的ID | 可从指定机箱资源中获取 |
| auth_value | 执行该GET请求时,必须在 “Headers”中携带“X- Auth-Token”值用于鉴权 | 可通过/redfish/v1/ SessionService/Sessions创 建会话时获得 |
使用指南
无
使用实例
SAS接口驱动器请求样例:
GET https://device_ip/redfish/v1/Chassis/1/Drives/HDDPlaneDisk1
请求头:
X-Auth-Token: 123456789***********************
请求消息体:无
响应样例1:
{
"@odata.context": "/redfish/v1/$metadata#Drive.Drive",
"@odata.id": "/redfish/v1/Chassis/1/Drives/HDDPlaneDisk1",
"@odata.type": "#Drive.v1_1_0.Drive",
"Id": "HDDPlaneDisk1",
"Name": "Disk1",
"Model": "MBF2300RC",
"Revision": "0109",
"Status": {
"Health": "OK",
"Oem": {
"Public": {
"Severity": "Informational"
}
},
"State": "Enabled"
},
"CapacityBytes": 298999349248,
"BlockSizeBytes": 512,
"FailurePredicted": false,
"Protocol": "SAS",
"MediaType": "HDD",
"Manufacturer": "TOSHIBA",
"SerialNumber": "EB72PC600G1C",
"CapableSpeedGbs": 6,
"NegotiatedSpeedGbs": 6,
"PredictedMediaLifeLeftPercent": null,
"IndicatorLED": "Off",
"HotspareType": "None",
"StatusIndicator": "OK",
"PartNumber": "",
"LocationIndicatorActive": false,
"DriveFormFactor": null,
"Metrics": {
"@odata.id": "/redfish/v1/Chassis/1/Drives/HDDPlaneDisk1/Metrics"
},
"Assembly": {
"@odata.id": "/redfish/v1/Chassis/1/Drives/HDDPlaneDisk1/Assembly"
},
"PhysicalLocation": {
"Info": "Disk1",
"InfoFormat": "DeviceName",
"PartLocationContext": ""
},
"Location": [
{
"Info": "Disk1",
"InfoFormat": "DeviceName"
}
],
"RotationSpeedRPM": 7200,
"Oem": {
"Public": {
"DriveID": 1,
"RebuildState": "DoneOrNotRebuilt",
"AssociatedResource": null,
"RebuildProgress": null,
"PatrolState": "DoneOrNotPatrolled",
"TemperatureCelsius": 70,
"FirmwareStatus": "Online",
"IsEPD": false,
"SpareforLogicalDrives": [],
"SASAddress": [
"5000039418218546",
"0000000000000000"
],
"PowerState": "Spun Up",
"SlotPowerState": "On",
"Type": "Disk",
"Position": "HDDPlane",
"EstimatedRemainingLifespan": 1675,
"HoursOfPoweredUp": 6504.18,
"SATASmartInformation": null,
"SASSmartInformation": {
"MediaErrorCount": 0,
"PrefailErrorCount": 0,
"OtherErrorCount": 0,
"HealthStatus": null,
"DiskTemperatureCelsius": 34,
"DiskStripeTemperatureCelsius": 68,
"ElementsInGrownDefectList": 0,
"ElementsInPrimaryDefectList": 0,
"WeekAndYearOfManufacture": "in week 34 of year 2013",
"BlocksSentToInitiator": 272795360,
"BlocksReceivedFromInitiator": 381334143,
"NumberOfMinutesUntilNextSMARTTest": 33,
"SequenceNumberOfLastPredFailEvent": 0
},
"BDF": "0000:80:02.2",
"CryptoEraseSupported": false,
"RelatedArrayInfo": {
"Members": [
"Disk0",
"Disk1"
],
"FreeSpaceMiBPerDrive": 0,
"TotalFreeSpaceMiB": 0,
"FreeBlocksSpaceMib": [
0
],
"NumDrivePerSpan": 2,
"VolumeRaidLevel": "RAID0"
}
},
"SlotNumber": 5,
"EnclosureDeviceId": 66,
"BootPriority": "None",
"BootEnable": false,
"FormFactor": "2.5 inch"
},
"Links": {
"Volumes": [
{
"@odata.id": "/redfish/v1/Systems/1/Storages/RAIDStorage0/Volumes/LogicalDrive3"
}
]
},
"Actions": {
"#Drive.Reset": {
"target": "/redfish/v1/Chassis/1/Drives/HDDPlaneDisk1/Actions/Drive.Reset",
"@Redfish.ActionInfo": "/redfish/v1/Chassis/1/Drives/HDDPlaneDisk1/ResetActionInfo"
},
"Oem": {
"Public": {
"#Drive.CryptoErase": {
"target": "/redfish/v1/Chassis/1/Drives/HDDPlaneDisk1/Actions/Oem/Public/Drive.CryptoErase"
}
}
}
}
}响应码:200
SATA接口驱动器请求样例: GET https://device_ip/redfish/v1/Chassis/1/Drives/HDDPlaneDisk2
请求头:
X-Auth-Token: 123456789***********************
请求消息体:无
响应样例2:
{
"@odata.context": "/redfish/v1/$metadata#Drive.Drive",
"@odata.id": "/redfish/v1/Chassis/1/Drives/HDDPlaneDisk2",
"@odata.type": "#Drive.v1_1_0.Drive",
"Id": "HDDPlaneDisk2",
"Name": "Disk2",
"Model": "MBF2300RC",
"Revision": "0109",
"Status": {
"Health": "OK",
"Oem": {
"Public": {
"Severity": "Informational"
}
},
"State": "Enabled"
},
"CapacityBytes": 298999349248,
"BlockSizeBytes": 512,
"FailurePredicted": false,
"Protocol": "SATA",
"MediaType": "HDD",
"Manufacturer": "TOSHIBA",
"SerialNumber": "EB72PC600G1C",
"CapableSpeedGbs": 6,
"NegotiatedSpeedGbs": 6,
"PredictedMediaLifeLeftPercent": null,
"IndicatorLED": "Off",
"HotspareType": "None",
"StatusIndicator": "OK",
"PartNumber": "",
"LocationIndicatorActive": false,
"DriveFormFactor": null,
"Metrics": {
"@odata.id": "/redfish/v1/Chassis/1/Drives/HDDPlaneDisk2/Metrics"
},
"Assembly": {
"@odata.id": "/redfish/v1/Chassis/1/Drives/HDDPlaneDisk2/Assembly"
},
"PhysicalLocation": {
"Info": "Disk2",
"InfoFormat": "DeviceName",
"PartLocationContext": ""
},
"Location": [
{
"Info": " Disk2",
"InfoFormat": "DeviceName"
}
],
"RotationSpeedRPM": 7200,
"Oem": {
"Public": {
"DriveID": 2,
"RebuildState": "DoneOrNotRebuilt",
"RebuildProgress": null,
"PatrolState": "DoneOrNotPatrolled",
"TemperatureCelsius": 70,
"FirmwareStatus": "Online",
"SpareforLogicalDrives": [],
"SASAddress": [
"5000039418218546",
"0000000000000000"
],
"SlotPowerState": "On",
"Type": "Disk",
"Position": "HDDPlane",
"HoursOfPoweredUp": 6455,
"SATASmartInformation": {
"AttributeRevision": 25,
"AttributeRevisionNumber": 21,
"AttributeItemList": [
{
"RawValue": 47637533,
"UpdateMode": "Always",
"AttributeName": "DISK_CURRENT_PENDING_SECTOR",
"NormalizedValue": 76,
"Flag": "0x000f",
"WorstValue": 63,
"FaultStatus": null,
"Threshold": 44,
"FaultWarningMode": "Pre-fail",
"SmartAttributeID": 3
},
......
]
},
"SASSmartInformation": null,
"CryptoEraseSupported": false,
"RelatedArrayInfo": {
"Members": [
"Disk0",
"Disk1"
],
"FreeSpaceMiBPerDrive": 0,
"TotalFreeSpaceMiB": 0,
"FreeBlocksSpaceMib": [
0
],
"NumDrivePerSpan": 2,
"VolumeRaidLevel": "RAID0"
},
"SlotNumber": 5,
"EnclosureDeviceId": 66,
"BootEnable": false
}
},
"Links": {
"Volumes": [
{
"@odata.id": "/redfish/v1/Systems/1/Storages/RAIDStorage0/Volumes/LogicalDrive3"
}
]
},
"Actions": {
"#Drive.Reset": {
"target": "/redfish/v1/Chassis/1/Drives/HDDPlaneDisk2/Actions/Drive.Reset",
"@Redfish.ActionInfo": "/redfish/v1/Chassis/1/Drives/HDDPlaneDisk2/ResetActionInfo"
},
"Oem": {
"Public": {
"#Drive.CryptoErase": {
"target": "/redfish/v1/Chassis/1/Drives/HDDPlaneDisk2/Actions/Oem/Public/Drive.CryptoErase"
}
}
}
}
}响应码:200
SD驱动器请求样例: GET https://device_ip/redfish/v1/Chassis/1/Drives/mainboardSDCard1
请求头: X-Auth-Token: 123456789***********************
请求消息体:无
响应样例3:
{
"@odata.context": "/redfish/v1/$metadata#Drive.Drive",
"@odata.id": "/redfish/v1/Chassis/Blade8/Drives/mainboardSDCard1",
"@odata.type": "#Drive.v1_1_0.Drive",
"Id": "mainboardSDCard1",
"Name": "mainboardSDCard1",
"Model": null,
"Revision": null,
"Status": {
"Health": "OK",
"Oem": {
"Public": {
"Severity": "Informational"
}
},
"State": "Enabled"
},
"CapacityBytes": 31635456,
"BlockSizeBytes": 512,
"FailurePredicted": null,
"Protocol": null,
"MediaType": null,
"Manufacturer": "SMART",
"SerialNumber": 3356845,
"CapableSpeedGbs": null,
"NegotiatedSpeedGbs": null,
"PredictedMediaLifeLeftPercent": null,
"IndicatorLED": null,
"HotspareType": null,
"StatusIndicator": null,
"PartNumber": "",
"LocationIndicatorActive": false,
"DriveFormFactor": null,
"Metrics": {
"@odata.id": "/redfish/v1/Chassis/1/Drives/mainboardSDCard1/Metrics"
},
"Assembly": {
"@odata.id": "/redfish/v1/Chassis/1/Drives/mainboardSDCard1/Assembly"
},
"PhysicalLocation": {
"Info": "mainboardSDCard1",
"InfoFormat": "DeviceName",
"PartLocationContext": ""
},
"Location": [],
"RotationSpeedRPM": null,
"Oem": {
"Public": {
"SlotPowerState": "On",
"Type": "SDCard",
"RebuildState": "DoneOrNotRebuilt"
}
},
"Links": {
"Volumes": []
},
"Actions": {
"#Drive.Reset": {
"target": "/redfish/v1/Chassis/1/Drives/mainboardSDCard1/Actions/Drive.Reset",
"@Redfish.ActionInfo": "/redfish/v1/Chassis/1/Drives/mainboardSDCard1/ResetActionInfo"
}
}
}响应码:200
PCIe SSD驱动器请求样例: GET https://device_ip/redfish/v1/Chassis/1/Drives/mainboardPCIeCard4(SSD)
请求头: X-Auth-Token: 6599174c38c36838737d9749179e1ee1
请求消息体:无
响应样例4:
{
"@odata.context": "/redfish/v1/$metadata#Drive.Drive",
"@odata.id": "/redfish/v1/Chassis/1/Drives/mainboardPCIeCard4(SSD)",
"@odata.type": "#Drive.v1_1_0.Drive",
"Id": "mainboardPCIeCard4(SSD)",
"Name": "PCIe Card4 (SSD)",
"Model": null,
"Revision": null,
"Status": {
"Health": "OK",
"Oem": {
"Public": {
"Severity": "Informational"
}
},
"State": null
},
"CapacityBytes": null,
"FailurePredicted": false,
"Protocol": "PCIe",
"MediaType": "SSD",
"Manufacturer": "",
"SerialNumber": null,
"CapableSpeedGbs": null,
"NegotiatedSpeedGbs": null,
"PredictedMediaLifeLeftPercent": 100,
"IndicatorLED": "Off",
"HotspareType": null,
"StatusIndicator": null,
"PartNumber": "",
"LocationIndicatorActive": false,
"DriveFormFactor": null,
"Metrics": {
"@odata.id": "/redfish/v1/Chassis/1/Drives/mainboardPCIeCard4(SSD)/Metrics"
},
"Assembly": {
"@odata.id": "/redfish/v1/Chassis/1/Drives/mainboardPCIeCard4(SSD)/Assembly"
},
"PhysicalLocation": {
"Info": "mainboardPCIeCard4(SSD)",
"InfoFormat": "DeviceName",
"PartLocationContext": ""
},
"Location": [
{
"Info": "PCIeCard4(SSD)",
"InfoFormat": "DeviceName"
}
],
"RotationSpeedRPM": null,
"Oem": {
"Public": {
"DriveID": 4,
"RebuildState": "DoneOrNotRebuilt",
"AssociatedResource": null,
"RebuildProgress": null,
"PatrolState": "DoneOrNotPatrolled",
"TemperatureCelsius": null,
"FirmwareStatus": null,
"SpareforLogicalDrives": [],
"SASAddress": [],
"SlotPowerState": "On",
"Type": "PCIe SSD Card",
"Position": "mainboard",
"HoursOfPoweredUp": null,
"SATASmartInformation": null,
"SASSmartInformation": null
}
},
"Links": {
"Volumes": []
},
"Actions": {
"#Drive.Reset": {
"target": "/redfish/v1/Chassis/1/Drives/mainboardPCIeCard4(SSD)/Actions/Drive.Reset",
"@Redfish.ActionInfo": "/redfish/v1/Chassis/1/Drives/mainboardPCIeCard4(SSD)/ResetActionInfo"
}
}
}响应码:200
PATCH
命令功能
修改指定驱动器属性
命令格式
URL: https://device_ip/redfish/v1/Chassis/chassis_id/Drives/drives_id
请求头:
X-Auth-Token: 123456789***********************
Content-Type: header_type
If-Match: ifmatch_value请求消息体:
● 设置定位指示灯状态:
{
"IndicatorLED": ledstate
}● 设置全局热备盘或取消热备盘:
{
"HotspareType": hotsparetype
}● 设置局部热备盘:
{
"HotspareType": Dedicated,
"Oem": {
"Public": {
"SpareforLogicalDrives": [
{
"@odata.id": volumepath
}
]
}
}
}● 设置自动替换热备盘:
{
"HotspareType": "Auto Replace",
"Oem": {
"Public": {
"SpareforLogicalDrives": [
{
"@odata.id": volumepath
}
]
}
}
}● 设置巡检开关:
{
"Oem": {
"Public": {
"PatrolState": patrolstate
}
}
}● 设置硬盘状态:
{
"Oem": {
"Public": {
"FirmwareStatus": diskstate
}
}
}● 设置启动盘:
{
"Oem": {
"Public": {
"BootEnable": bootstate
}
}
}● 设置启动优先级:
{
"Oem": {
"Public": {
"BootPriority": bootpriority
}
}
}● 设置硬盘定位状态:
{
"LocationIndicatorActive": location_indicator_active
}请求头参数说明
参见 请求头参数说明
请求体参数说明
| 参数 | 参数说明 | 取值 |
|---|---|---|
| chassis_id | 系统资源的ID | ● 针对机架服务器,取值 为1 ● 针对高密服务器,取值 为BladeN(N表示节点 槽位号),例如 “Blade1” ● 针对刀片服务器,取值 可以为BladeN(N表示 计算节点槽位号) ● 针对X6800 V5,X6000 V5,G5500,XA320 V2 服务器,取值还可以为 Enc,表示计算节点所在 的机框资源 ● 针对设备U位信息,取值 可以为UN(N表示设备U 位号),例如"U1" ● 针对机柜资源,取值为 Rack |
| drive_id | 驱动器资源的ID | 可通过指定机箱资源获取。 |
| ledstate | 定位指示灯状态 | ● Off ● Blinking |
| hotsparetype | 驱动器的热备状态 | ● None ● Global ● Dedicated ● Auto Replace |
| volumepath | 驱动器设置为局部热备盘 时,所关联的逻辑盘访问路 径 说明 当“hotsparetype”为 “None”和“Global”时,不 需要设置此Oem参数。 | 可通过查询指定存储资源获 得 例如:"/redfish/v1/ Systems/1/Storages/ RAIDStorage0/Volumes/ LogicalDrive3 |
| diskstate | 驱动器状态。 | 驱动器状态可在如下状态之 间切换: ● “Online”和 “Offline” ● “UnconfiguredGood” 和“JBOD” ● “UnconfigureBad” 到 “UnconfiguredGood” 说明 驱动器状态设置为“JBOD” 之前,请先通过BMC Web开 启控制器的JBOD功能。 |
| patrolstate | 巡检开关的状态 | 可设置为: ● “Patrolling” : 开启 ● “DoneOrNotPatrolled ” :关闭 |
| bootstate | 是否为启动盘 | 可设置为: ● true ● false |
| bootpriority | 启动优先级 | 可设置为 ● Primary:第一启动设备 ● Secondary:第二启动设 备 ● All:第一和第二启动设 备 ● None:取消启动设备 |
| location_indicator_act ive | 硬盘定位状态 | 可设置为: ● true ● false 说明 BMC500 5.13.0 及以上版 本支持。 |
使用指南
无
使用实例
请求样例1:
PATCH https://device_ip/redfish/v1/Chassis/1/Drives/HDDPlaneDisk1请求头:
X-Auth-Token: 123456789***********************
Content-Type: application/json
If-Match: W/"3d607e36"请求消息体:
{
"IndicatorLED": "Blinking",
"LocationIndicatorActive": true
}响应样例:
{
"@odata.context": "/redfish/v1/$metadata#Drive.Drive",
"@odata.id": "/redfish/v1/Chassis/1/Drives/HDDPlaneDisk0",
"@odata.type": "#Drive.v1_1_0.Drive",
"Id": "HDDPlaneDisk1",
"Name": "Disk1",
"Model": "MBF2300RC",
"Revision": "0109",
"Status": {
"Health": "OK",
"Oem": {
"Public": {
"Severity": "Informational"
}
},
"State": "Enabled"
},
"CapacityBytes": 298999349248,
"BlockSizeBytes": 512,
"FailurePredicted": false,
"Protocol": "SAS",
"MediaType": "HDD",
"Manufacturer": "TOSHIBA",
"SerialNumber": "EB72PC600G1C",
"CapableSpeedGbs": 6,
"NegotiatedSpeedGbs": 6,
"PredictedMediaLifeLeftPercent": null,
"IndicatorLED": "Off",
"HotspareType": "None",
"StatusIndicator": "OK",
"PartNumber": "",
"LocationIndicatorActive": true,
"DriveFormFactor": null,
"Metrics": {
"@odata.id": "/redfish/v1/Chassis/1/Drives/HDDPlaneDisk0/Metrics"
},
"Assembly": {
"@odata.id": "/redfish/v1/Chassis/1/Drives/HDDPlaneDisk0/Assembly"
},
"PhysicalLocation": {
"Info": "Disk0",
"InfoFormat": "DeviceName",
"PartLocationContext": ""
},
"Location": [
{
"Info": "Disk1",
"InfoFormat": "DeviceName"
}
],
"RotationSpeedRPM": 7200,
"Oem": {
"Public": {
"DriveID": 1,
"RebuildState": "DoneOrNotRebuilt",
"AssociatedResource": null,
"RebuildProgress": null,
"PatrolState": "DoneOrNotPatrolled",
"TemperatureCelsius": 70,
"FirmwareStatus": "Online",
"SpareforLogicalDrives": [],
"SASAddress": [
"5000039418218546",
"0000000000000000"
],
"PowerState": "Spun Up",
"Type": "Disk",
"Position": "HDDplane",
"HoursOfPoweredUp": 100,
"SATASmartInformation": null,
"SASSmartInformation": {
"MediaErrorCount": 0,
"PrefailErrorCount": 0,
"OtherErrorCount": 0,
"HealthStatus": null,
"DiskTemperatureCelsius": 34,
"DiskStripeTemperatureCelsius": 68,
"ElementsInGrownDefectList": 0,
"ElementsInPrimaryDefectList": 0,
"WeekAndYearOfManufacture": "in week 34 of year 2013",
"BlocksSentToInitiator": 272795360,
"BlocksReceivedFromInitiator": 381334143,
"NumberOfMinutesUntilNextSMARTTest": 33,
"SequenceNumberOfLastPredFailEvent": 0
},
"BDF": "0000:80:02.2",
"CryptoEraseSupported": false,
"RelatedArrayInfo": {
"Members": [
"Disk0",
"Disk1"
],
"FreeSpaceMiBPerDrive": 0,
"TotalFreeSpaceMiB": 0,
"FreeBlocksSpaceMib": [
0
],
"NumDrivePerSpan": 2,
"VolumeRaidLevel": "RAID0"
},
"SlotNumber": 5,
"EnclosureDeviceId": 66,
"BootEnable": false
}
},
"Links": {
"Volumes": [
{
"@odata.id": "/redfish/v1/Systems/1/Storages/RAIDStorage0/Volumes/LogicalDrive3"
}
]
},
"Actions": {
"Oem": {
"Public": {
"#Drive.CryptoErase": {
"target": "/redfish/v1/Chassis/1/Drives/HDDPlaneDisk1/Actions/Oem/Public/Drive.CryptoErase"
}
}
}
}
}响应码:200
POST (ACTION)
SecureErase
命令功能
加密盘的数据安全擦除
命令格式
URL: https://device_ip/redfish/v1/Chassis/chassis_id/Drives/drives_id/Actions/Oem/Public/Drive.CryptoErase
请求头:
X-Auth-Token: 123456789***********************
Content-Type: header_type请求消息体:
{}请求头参数说明
参见 请求头参数说明
请求体参数说明
| 参数 | 参数说明 | 取值 |
|---|---|---|
| Chassis_id | 系统资源的ID | ● 针对机架服务器,取值 为1 ● 针对高密服务器,取值 为BladeN(N表示节点 槽位号),例如 “Blade1” ● 针对刀片服务器,取值 可以为BladeN(N表示 计算节点槽位号) ● 针对X6800 V5,X6000 V5,G5500,XA320 V2 服务器,取值还可以为 Enc,表示计算节点所在 的机框资源 ● 针对设备U位信息,取值 可以为UN(N表示设备U 位号),例如"U1" ● 针对机柜资源,取值为 Rack |
| drive_id | 指定驱动器的ID | ● 可从指定机箱资源中获 取 |
使用指南
无
使用实例
请求样例:
POST https://device_ip/redfish/v1/Chassis/1/Drives/HDDPlaneDisk0/Actions/Oem/Public/Drive.CryptoErase请求头:
X-Auth-Token: 123456789***********************
Content-Type: application/json请求消息体:
{}响应样例:
{
"error": {
"code": "Base.1.0.GeneralError",
"message": "A general error has occurred. See ExtendedInfo for more information.",
"@Message.ExtendedInfo": [
{
"@odata.type": "#Message.v1_0_0.Message",
"MessageId": "Base.1.0.Success",
"RelatedProperties": [],
"Message": "Successfully Completed Request",
"MessageArgs": [],
"Severity": "OK",
"Resolution": "None"
}
]
}
}响应码:200
POST (ACTION)
Drive.ResetPhysicalDisk
命令功能
复位指定物理盘
命令格式
URL: https://device_ip/redfish/v1/Chassis/chassis_id/Drives/drives_id/Actions/Drive.Reset
请求头:
X-Auth-Token: 123456789***********************
Content-Type: header_type请求消息体:
{
"ResetType": reset_type
}请求头参数说明
参见 请求头参数说明
请求体参数说明
| 参数 | 参数说明 | 取值 |
|---|---|---|
| Chassis_id | 系统资源的ID | ● 针对机架服务器,取值 为1 ● 针对高密服务器,取值 为BladeN(N表示节点 槽位号),例如 “Blade1” ● 针对刀片服务器,取值 可以为BladeN(N表示 计算节点槽位号) ● 针对X6800 V5,X6000 V5,G5500,XA320 V2 服务器,取值还可以为 Enc,表示计算节点所在 的机框资源 ● 针对设备U位信息,取值 可以为UN(N表示设备U 位号),例如"U1" ● 针对机柜资源,取值为 Rack |
| drive_id | 指定驱动器的ID | ● 可从指定机箱资源中获 取 |
| reset_type | 上下电操作类型 | 取值: ● ForceOn:强制上电 ● ForceOff:强制下电 |
使用指南
BMC300 5.13.0.1及以上版本支持。
使用实例
请求样例:
POST https://device_ip/redfish/v1/Chassis/1/Drives/HDDPlaneDisk0/Actions/Drive.Reset请求头:
X-Auth-Token: 123456789***********************
Content-Type: application/json请求消息体:
{
"ResetType": "On"
}响应样例:
{
"error": {
"code": "Base.1.0.GeneralError",
"message": "A general error has occurred. See ExtendedInfo for more information.",
"@Message.ExtendedInfo": [
{
"@odata.type": "#Message.v1_0_0.Message",
"MessageId": "Base.1.0.Success",
"RelatedProperties": [],
"Message": "Successfully Completed Request",
"MessageArgs": [],
"Severity": "OK",
"Resolution": "None"
}
]
}
}响应码:200