TrustedComponents
更新时间: 2026/06/26
在Gitcode上查看源码ResourceDefinition
uris
/redfish/v1/Chassis/chassis_id/TrustedComponents/trusted_component_id
properties
| 名称 | 类型 | 是否只读 | 取值范围/枚举值 | 说明 |
|---|---|---|---|---|
| @odata.context | string | true | - | TrustedComponent资源模型的OData描述信息 |
| @odata.id | string | true | - | TrustedComponent资源节点的访问路径 |
| @odata.type | string | true | - | TrustedComponent资源类型 |
| Id | string | true | - | TrustedComponent资源的ID |
| Name | string | true | - | TrustedComponent资源的名称 |
| Description | string | true | - | TrustedComponent资源的描述 |
| FirmwareVersion | string | true | - | 可信组件的固件版本号 |
| Manufacturer | string | true | - | 可信组件的厂商 |
| Model | string | true | - | 可信组件的型号 |
| SerialNumber | string | true | - | 可信组件的SN号 |
| UUID | string | true | - | 可信组件的UUID |
| TrustedComponentType | string | true | - | 可信组件的类型 ● Discrete ● Integrated |
| @odata.id | string | true | - | 指向可信组件的证书集合链接 |
| @odata.id | string | true | - | 指向可信组件提供的完整性报告链接 |
| ComponentsProtected | 可信组件保护的组件链接 | true | - | - |
| @odata.id | string | true | - | 指向可信组件保护的组件链接 |
| Status | object | true | - | 完整性报告资源状态,包括: State:是否使能Health:健康状态 |
supported_methods
- GET
HTTP methods
GET
命令功能
查询可信组件单个资源信息
命令格式
URL: https://device_ip/redfish/v1/Chassis/chassis_id/TrustedComponents/trusted_component_id
请求头:
X-Auth-Token: 123456789***********************请求消息体: 无
参数说明
| 参数 | 参数说明 | 取值 |
|---|---|---|
| device_ip | 登录设备的IP地址 | IPv4或IPv6地址 |
| chassis_id | 机箱资源的ID | ● 针对机架服务器,取值 为1 ● 针对高密服务器,取值 为BladeN(N表示节点 槽位号),例如 “Blade1” ● 针对刀片服务器,取值 可以为BladeN(N表示 计算节点槽位号)或 SwiN(N表示交换模块 槽位号),例如 “Swi1” ● 针对X6800 V5,X6000 V5,G5500,XA320 V2服务器,取值还可以 为Enc,表示计算节点 所在的机框资源 ● 针对设备U位信息,取 值可以为UN(N表示设 备U位号),例如"U1" ● 针对机柜资源,取值为 Rack |
| trusted_component_id | 指定可信组件的ID | 可通过可信组件集合资源 获得。 |
| auth_value | 执行该GET请求时,必须 在“Headers”中携带 “X-Auth-Token”值用于 鉴权。 | 可通过/redfish/v1/ SessionService/Sessions 创建会话时获得。 |
使用指南
BMC300 5.12.0.1及以上版本支持
使用实例
请求样例:
http
GET https://device_ip/redfish/v1/Chassis/chassis_id/TrustedComponents/trusted_component_id请求头:
X-Auth-Token: 123456789***********************请求消息体:无
响应样例:
json
{
"@odata.context": "/redfish/v1/$metadata#TrustedComponent.TrustedComponent",
"@odata.id": "/redfish/v1/Chassis/1/TrustedComponents/SPDM_0",
"@odata.type": "#TrustedComponent.v1_4_0.TrustedComponent",
"Id": "SPDM_0",
"Description": "Root of trust for Controller_1",
"Name": "Trusted Component",
"FirmwareVersion": "",
"Manufacturer": "",
"Model": "",
"SerialNumber": "",
"UUID": "",
"TrustedComponentType": "Discrete",
"Certificates": {
"@odata.id": "/redfish/v1/Chassis/1/TrustedComponents/SPDM_0/Certificates"
},
"Links": {
"ComponentIntegrity": [
{
"@odata.id": "/redfish/v1/ComponentIntegrity/SPDM_0_1"
}
],
"ComponentsProtected": [
{
"@odata.id": "/redfish/v1/Systems/1/Storages/RAIDStorage0"
}
]
},
"Status": {
"State": "Enabled",
"Health": "OK"
}
}响应码:200