背景
Kerberos认证作为BMC的一种三方认证方式,openUBMC当前未实现端到端功能,仅提前实现了部分资源树接口和北向接口。/redfish/v1/AccountService/KerberosService/KerberosControllers/:controllerid 接口里KerberosGroups属性功能未实现,北向映射器配置错误。待后续功能实现后,再完善北向接口
关联ISSUE
整体方案
去除/redfish/v1/AccountService/KerberosService/KerberosControllers/:controllerid 接口里的KerberosGroups属性
评审点
将/redfish/v1/AccountService/KerberosService/KerberosControllers/:controllerid 的GET和PATCH接口里的KerberosGroups属性去除
详细描述
场景1
资源URI :/redfish/v1/AccountService/KerberosService/KerberosControllers/:controllerid
资源
接口方法 :GET
接口请求:N/A
接口响应:
变更前:
{
"@odata.context": "/redfish/v1/$metadata#HwKerberosController.HwKerberosController",
"@odata.id": "/redfish/v1/AccountService/KerberosService/KerberosControllers/1",
"@odata.type": "#HwKerberosController.v1_0_0.HwKerberosController",
"Id": "1",
"Name": "Kerberos Controller",
"KerberosServerAddress": null,
"KerberosPort": 98,
"Realm": null,
"KerberosGroups": []
}
变更后:
{
"@odata.context": "/redfish/v1/$metadata#HwKerberosController.HwKerberosController",
"@odata.id": "/redfish/v1/AccountService/KerberosService/KerberosControllers/1",
"@odata.type": "#HwKerberosController.v1_0_0.HwKerberosController",
"Id": "1",
"Name": "Kerberos Controller",
"KerberosServerAddress": null,
"KerberosPort": 98,
"Realm": null
}
场景2
资源URI :/redfish/v1/AccountService/KerberosService/KerberosControllers/:controllerid
资源
接口方法 :PATCH
接口请求:
变更前:
{
"KerberosServerAddress": "x.x.x.x",
"KerberosPort": 98,
"Realm": "",
"KerberosGroups": [
"GroupName": "xxx",
"GroupDomain": "xxx",
"GroupSID": "xxx",
"GroupRole": "xxx",
"GroupLoginRule": "xxx",
"GroupLoginInterface": "xxx"
]
}
变更后:
{
"KerberosServerAddress": "x.x.x.x",
"KerberosPort": 98,
"Realm": ""
}
接口响应:同GET
是否准备好AI预审
是
评审结论
同意去除未实现的属性,同时更新redfish接口文档描述
遗留问题
无