背景:
支持WEB接口可以准确显示SATA/SAS/NVME盘在机箱前后的物理位置和准确ID
决策点:
webrest接口UI/Rest/System/Storage/Drives/Drives_ID新增属性Position
整体架构/方案:
URL: UI/Rest/System/Storage/Drives/Drives_ID
操作类型:GET
变化类型:新增属性
应用场景:web页面显示硬盘所属板卡
读写&权限:只读
类型:string/null (返回null时,web不显示)
属性名称 | 取值类型 | 读写&权限 | 约束 |
---|---|---|---|
Position | string/null | 只读,读权限 | 返回null时web页面不显示位置信息 |
评审结论:
同意webrest接口UI/Rest/System/Storage/Drives/Drives_ID新增属性Position
类型为string/null,只读,读权限ReadOnly