背景
openUBMC 25.9版本支持SNMP事件订阅的Redfish标准资源,该资源中属性EventFormatType应实现为字符串,实际错误的实现为数组,需要修复
原议题: 【已评审】Redfish EventDestination资源支持snmp trap上报
决策点
修复EventFormatType数据类型错误,将数组变更为字符串(与redfish规范定义保持一致)
详细描述
资源path: /bmc/kepler/EventService/Subscriptions/Snmp/:Id
资源interface: bmc.kepler.EventService.Subscriptions.SnmpDestination
变化类型:属性签名变更
应用场景:创建、查询SNMP事件订阅的Redfish标准资源
持久化类型: 掉电持久化
操作权限:ReadOnly
详细描述:
| 属性名称 | EventFormatType |
|---|---|
| 变化类型 | 属性签名变更 |
| 签名 | as → s |
| 读写&权限 | R:ReadOnly |
| 持久化 | 掉电持久化 |
| 变化通知 | false |
| 接口说明 | 事件订阅侦听的事件类型 |
| 接口约束 | 枚举:Event |
说明:该特性未正式发布
评审结论
同意EventFormatType属性签名由 as 变更为 s