【已废弃】Chassis相关资源支持redfish新标准

背景

redfish资源升级,新增标准属性。

关联ISSUE

[需求]: Chassis相关资源支持redfish新标准

评审点

评审点:/redfish/v1/Chassis/chassisid下新增属性

详细描述

评审点
请求URL:/redfish/v1/Chassis/chassisid
操作权限:ReadOnly
变化类型:新增属性
请求类型:GET

一级属性 类型 说明
LocationIndicatorActive string 允许操作员定位该资源

LocationIndicatorActive 定义,查看chassis.v1_15_7.json

  "LocationIndicatorActive": {
                    "description": "An indicator allowing an operator to physically locate this resource.",
                    "longDescription": "This property shall contain the state of the indicator used to physically identify or locate this resource.  A write to this property shall update the value of `IndicatorLED` in this resource, if supported, to reflect the implementation of the locating function.  Modifying this property may modify the `LocationIndicatorActive` in the resource that represents the functional view of this chassis, such as a `ComputerSystem` resource.",
                    "readonly": false,
                    "type": [
                        "boolean",
                        "null"
                    ],
                    "versionAdded": "v1_14_0"
                },
},

评审结论

遗留问题

1、文档格式不标准

2、没写明@odata.type取值

3、TrustedComponents是Chassis的嵌套子资源,若要实现此属性,需实现TrustedComponents资源,对应资源定义的文档链接过来

改完了