GET – BIOS 属性注册表
使用 GET 方法检索 Redfish 服务的 AttributeRegistry 中的属性。
请求 URL
GET https://<BMC_IPADDR>/redfish/v1/schemas/registries/BiosAttributeRegistry.1.0.0.json
请求正文
无
响应正文
字段 | 类型 | 描述 | ||||||
---|---|---|---|---|---|---|---|---|
Id | 字符串 | “BiosAttributeRegistry.1.0.0” | ||||||
Language | 字符串 | “en” | ||||||
Name | 字符串 | “Bios Attribute Registry Version 1” | ||||||
OwningEntity | 字符串 | Lenovo | ||||||
RegistryEntries | 对象 | 此组件的所有属性及其元数据的列表。 | ||||||
Attributes | 数组 | 包含属性及其可能值的数组。 | ||||||
Attributes[N] | 对象 | 属性及其可能的值。 | ||||||
AttributeName | 字符串 | 属性的唯一名称。 | ||||||
CurrentValue | 字符串 | null | ||||||
DefaultValue | 字符串 | 属性的默认当前值。 | ||||||
DisplayName | 字符串 | 属性的用户可读显示字符串(以定义的语言显示)。 | ||||||
DisplayOrder | 数字 | 描述此属性相对于其他属性显示的顺序(升序)的数值。 | ||||||
GrayOut | 布尔 | 此属性的灰显状态。 | ||||||
HelpText | 字符串 | 属性的帮助文本。 | ||||||
Hidden | 布尔 | 此属性的隐藏状态。 | ||||||
LowerBound | 数字 | “整数”类型属性的值的下限。 | ||||||
MaxLength | 数字 | “字符串”类型属性值的最大字符长度。 | ||||||
MenuPath | 字符串 | 描述此属性的菜单层次结构的路径。 | ||||||
MinLength | 数字 | “字符串”类型属性值的最小字符长度。 | ||||||
ReadOnly | 布尔 | 此属性的只读状态。 | ||||||
ResetRequired | 布尔 | 对于所有 BIOS 注册表属性,此值都应为 true。 | ||||||
ScalarIncrement | 数字 | 每次用户请求更改值时要递增或递减“整数”类型属性值的量。 | ||||||
Type | 字符串 | 属性的类型。 | ||||||
UpperBound | 数字 | “整数”类型属性值的上限。 | ||||||
Value | 数组 | 包含“枚举”类型属性的可能值的数组。 | ||||||
Value[N] | 对象 | 已展开。 | ||||||
ValueDisplayName | 字符串 | 属性值的用户可读显示字符串(以定义的语言显示)。 | ||||||
ValueName | 字符串 | 属性的值名称。 | ||||||
ValueExpression | 字符串 | 用于验证属性值的正则表达式。仅适用于“字符串”或“整数”类型的属性。 | ||||||
WarningText | 字符串 | 更改属性的警告文本。 | ||||||
WriteOnly | 布尔 | 定义此属性是否为只写。应用设置后,此类属性将恢复为其初始值。 | ||||||
Dependencies | 数组 | 包含此组件上的属性依赖关系列表的数组。 | ||||||
Dependencies[N] | 对象 | 此组件上的属性依赖关系。 | ||||||
Dependency | 对象 | 此属性注册表中一个或多个属性的依赖关系表达式。 | ||||||
MapFrom | 数组 | 映射依赖关系的映射源条件数组。 | ||||||
MapFrom[N] | 对象 | 映射依赖关系的映射源条件。 | ||||||
MapFromAttribute | 字符串 | 用于计算此依赖关系表达式的属性。 | ||||||
MapFromCondition | 字符串 | 用于计算此依赖关系表达式的条件。 | ||||||
MapFromProperty | 字符串 | “CurrentValue”。 | ||||||
MapFromValue | 字符串 | 用于计算此依赖关系表达式的值。 | ||||||
MapTerms | 字符串 | 用于在此依赖关系表达式中组合两个或多个 MapFrom 条件的逻辑词。 | ||||||
MapToAttribute | 字符串 | 受此依赖关系表达式影响的属性的名称。 | ||||||
MapToProperty | 字符串 | 计算此依赖关系表达式的 MapFromAttribute 中指定的属性的元数据属性。 | ||||||
MapToValue | 布尔 | TRUE | ||||||
DependencyFor | 字符串 | 属性的 AttributeName,更改此项将触发该依赖关系表达式的计算。 | ||||||
Type | 字符串 | “Map” | ||||||
Menus | 数组 | 包含属性菜单及其层次结构的数组。 | ||||||
Menus[N] | 对象 | 菜单及其层次结构。 | ||||||
DisplayName | 字符串 | 此菜单的用户可读显示字符串(以定义的语言显示)。 | ||||||
DisplayOrder | 数字 | 描述此菜单相对于其他菜单显示的顺序(升序)的数值。 | ||||||
GrayOut | 布尔 | FALSE | ||||||
MenuName | 字符串 | 此菜单的唯一名称字符串。 | ||||||
MenuPath | 字符串 | 描述此菜单层次结构相对于其他菜单的路径。 | ||||||
ReadOnly | 布尔 | FALSE | ||||||
RegistryVersion | 字符串 | “1.0.0” | ||||||
SupportedSystems | 数组 | 此属性注册表支持的系统的数组。 | ||||||
SupportedSystems[N] | 对象 | 此属性注册表支持的系统。 | ||||||
ProductName | 字符串 | 系统的产品名称。 | ||||||
SystemId | 字符串 | 系统的系统 ID。 | ||||||
FirmwareVersion | 字符串 | 固件版本。 |
状态代码
HTTP 状态代码 | 错误消息 ID |
---|---|
500 | InternalError |
示例
返回以下示例 JSON 响应:
{
"@odata.context": "/redfish/v1/$metadata#AttributeRegistry.AttributeRegistry",
"@odata.type": "#AttributeRegistry.v1_3_6.AttributeRegistry",
"Id": "BiosAttributeRegistry.1.0.0",
"Language": "en",
"Name": "Bios Attribute Registry Version 1",
"OwningEntity": "Lenovo",
"RegistryEntries": {
"Attributes": [
{
"AttributeName": "CXLMemoryModule_MemoryMode",
"CurrentValue": null,
"DefaultValue": "MemoryMode_1LM_Vol",
"DisplayName": "Memory Mode",
"GrayOut": false,
"HelpText": "[1LM + Vol]:DRAM and CMM are visible to software as two separate NUMA nodes. \r\n[Heterogeneous Interleave]:DRAM and CMM are visible to software as one NUMA node, and they are interleaved.\r\n[Flat Memory Mode]: DRAM and CMM are visible to software as one NUMA node. Frequently used data is in DRAM, less frequently used data is in CMM. Hardware swaps the less frequently used data to CMM automatically.",
"Hidden": false,
"IsSystemUniqueProperty": false,
"MenuPath": "./CXLMemoryModule/CXLMemoryModule_CXLMemoryModule",
"ReadOnly": false,
"ResetRequired": true,
"Type": "Enumeration",
"Value": [
{
"ValueDisplayName": "1LM + Vol",
"ValueName": "MemoryMode_1LM_Vol"
},
{
"ValueDisplayName": "Heterogeneous Interleave",
"ValueName": "HeterogeneousInterleave"
},
{
"ValueDisplayName": "Flat Memory Mode",
"ValueName": "FlatMemoryMode"
}
],
"WriteOnly": false
},
...
{
"AttributeName": "DevicesandIOPorts_Bifurcation_Slot7",
"CurrentValue": null,
"DefaultValue": "x16",
"DisplayName": "Slot 7",
"GrayOut": false,
"HelpText": "Setting [x16] uses the system setting to bifurcate the slot. [x8x8] to bifurcate the physical x16 slot to support two x8 devices at maximum. [x8x4x4]/[x4x4x8] to support one x8 and two x4 devices at maximum. [x4x4x4x4] to support four x4 devices at maximum",
"Hidden": false,
"IsSystemUniqueProperty": false,
"MenuPath": "./SystemUEFI/DevicesandIOPorts_Bifurcation/ DevicesandIOPorts_Bifurcation_OverrideSlotBifurcation",
"ReadOnly": false,
"ResetRequired": true,
"Type": "Enumeration",
"Value": [
{
"ValueDisplayName": "x16",
"ValueName": "x16"
},
{
"ValueDisplayName": "x8x8",
"ValueName": "x8x8"
},
{
"ValueDisplayName": "x8x4x4",
"ValueName": "x8x4x4"
},
{
"ValueDisplayName": "x4x4x8",
"ValueName": "x4x4x8"
},
{
"ValueDisplayName": "x4x4x4x4",
"ValueName": "x4x4x4x4"
}
],
"WriteOnly": false
}
"Dependencies": [
{
"Dependency": {
"MapFrom": [
{
"MapFromAttribute": "BroadcomNetXtremeGigabitEthernetAdapter__ Slot14PhysicalPort1LogicalPort1_LegacyVLANMode",
"MapFromCondition": "EQU",
"MapFromProperty": "CurrentValue",
"MapFromValue": "Disabled"
}
],
"MapToAttribute": "BroadcomNetXtremeGigabitEthernetAdapter__Slot14Physical Port1LogicalPort1_VLANID14094",
"MapToProperty": "GrayOut",
"MapToValue": true
},
"DependencyFor": "BroadcomNetXtremeGigabitEthernetAdapter__Slot14PhysicalPort1 LogicalPort1_VLANID14094",
"Type": "Map"
},
...
{
"Dependency": {
"MapFrom": [
{
"MapFromAttribute": "BroadcomNetXtremeGigabitEthernetAdapter__Slot14 PhysicalPort2LogicalPort1_LegacyVLANMode",
"MapFromCondition": "EQU",
"MapFromProperty": "CurrentValue",
"MapFromValue": "Disabled"
}
],
"MapToAttribute": "BroadcomNetXtremeGigabitEthernetAdapter__Slot14Physical Port2LogicalPort1_VLANID14094",
"MapToProperty": "GrayOut",
"MapToValue": true
},
"DependencyFor": "BroadcomNetXtremeGigabitEthernetAdapter__Slot14Physical Port2LogicalPort1_VLANID14094",
"Type": "Map"
},
],
"Menus": [
{
"DisplayName": "BIOS Configurations",
"DisplayOrder": 1,
"GrayOut": false,
"Hidden": false,
"MenuName": "BiosConfigurations",
"MenuPath": "./",
"ReadOnly": false
},
...
{
"DisplayName": "System UEFI",
"DisplayOrder": 2,
"GrayOut": false,
"Hidden": false,
"MenuName": "SystemUEFI",
"MenuPath": "./SystemUEFI",
"ReadOnly": false
} ]
},
"RegistryVersion": "1.0.0",
"SupportedSystems": [
{
"FirmwareVersion": "1.20",
"ProductName": "ThinkSystem SR650 V4",
"SystemId": "7DGCCTO1WW"
}
],
"odata.context": "/redfish/v1/$metadata#AttributeRegistry.AttributeRegistry"
}