ISSUE
评审背景
需求
- Redfish接口查询NTP Server信息,需要查看当前NTP轮询间隔
差距
Redfish资源未实现此属性
评审点
Redfish查询接口/redfish/v1/Managers/1/NtpService
增加属性
字段 | 字段说明 | 类型 | 单位 | 举例 | 说明 |
---|---|---|---|---|---|
CurrentPollingInterval | 当前NTP轮询间隔 | y | 秒 | 60 | NTP开启时生效,关闭时为0 |
响应体实例
{
"@odata.context": "/redfish/v1/$metadata#Managers/Members/1/NtpService/$entity",
"@odata.id": "/redfish/v1/Managers/1/NtpService",
"@odata.type": "#HwNtpService.v1_0_0.HwNtpService",
"Description": "NtpService Settings",
"ServiceEnabled": false,
"PreferredNtpServer": "",
"AlternateNtpServer": "",
"ExtraNtpServer": "",
"NtpServerCount": 3,
"NtpAddressOrigin": "Static",
"CurrentPollingInterval": 60,
"MinPollingInterval": 6,
"MaxPollingInterval": 10,
"ServerAuthenticationEnabled": false,
"NTPKeyStatus": "NotUploaded",
"Actions": {
"#NtpService.ImportNtpKey": {
"target": "/redfish/v1/Managers/1/NtpService/Actions/NtpService.ImportNtpKey",
"@Redfish.ActionInfo": "/redfish/v1/Managers/1/NtpService/ImportNtpKeyActionInfo"
}
}
}