【已评审】redfish指定机箱资源信息增属性

ISSUE链接(必填,此议题关联的issue):【需求】SMM板 Redfish接口在指定机箱资源信息增属性HMMToGWLinkStateCheckingEnabled,支持检测链路是否和网关通信正常的开关
背景:
现网使用SmartKit巡检时发现SMM备用板无法Ping通,更换交换机的光电转换模块后正常,SMM2需要主动检测到对端路径链路的状态,异常时上报告警,正常后恢复告警。同时北向redfish接口增加属性开关使能和禁用此特性。

决策点:
URI: /redfish/v1/Chassis/Enclosure
新增属性:Oem/{OemIdentifier}/新增属性HMMToGWLinkStateCheckingEnabled
涉及方法:GET、PATCH

详细方案:


错误码:400
错误引擎如下:
“HMMToGWLinkStateCheckingEnabledModificationFailed”: {
“Description”: “Indicates that the gateway detection modification failed when the IP mode is set to automatic, the gateway is empty, and the static IP address is empty.”,
“Message”: “The attribute %1 modification failed. Possible causes are that the IP mode is automatic, the gateway or static IP address is empty, or the attribute CheckGEMgmtGWCommState is not supported.”,
“Severity”: “Warning”,
“NumberOfArgs”: 1,
“ParamTypes”: [
“string”
],
“Resolution”: “Setting the IP mode is manual configuration, gateway, static IP address.”
}

评审结论:
openUBMC社区暂不涉及此类场景,因此暂不在社区增加该redfish message

2025/04/24 已在TMG评审。