代码仓
中
SyslogService
更新时间: 2026/11/04
在AtomGit上查看源码

ResourceDefinition ​

uris ​

  • /redfish/v1/Managers/manager_id/SyslogService

properties ​

名称类型是否只读取值范围/枚举值说明
@odata.contextstringtrue-syslog资源模型的OData描述信息
@odata.idstringtrue-syslog资源的访问路径
@odata.typestringtrue-syslog资源的类型
Namestringtrue-syslog资源的名称
Idstringtrue-syslog资源的ID
ServiceEnabledbooleanfalse-syslog服务使能
MessageFormatstringfalse-消息格式
● Custom:自定义
● RFC3164:RFC3164
ServerIdentitySourcestringfalse-主机标识
● BoardSN:主板序列号
● ProductAssetTag:产品资产标签
● HostName:主机名
AlarmSeveritystringfalse-告警级别
● Critical(紧急)
● Major(严重及以上)
● Minor(轻微及以上)
● Normal(正常及以上)
● null(不发送告警)
TransmissionProtocolstringfalse-传输协议
● UDP:UDP
● TCP:TCP
● TLS:TLS
AuthenticateModestringfalse-认证模式
● OneWay:单向认证
● TwoWay:双向认证
CrlValidFromstringtrue-证书吊销列表有效期起始日期
CrlValidTostringtrue-证书吊销列表有效期截止日期
CrlVerificationEnabledbooleantrue-证书吊销检查使能
ReportTypestringfalse-上报事件类型:
● OemEvent:自定义事件
● SEL:传感器事件
RootCertificate {objecttrue-根证书信息
RootCertificate.Subjectstringtrue-证书使用者
RootCertificate.Issuerstringtrue-证书签发者
RootCertificate.ValidNotBeforestringtrue-生效起始日期
RootCertificate.ValidNotAfterstringtrue-生效结束日期
RootCertificate.SerialNumberstringtrue-证书序列号
RootCertificate.SignatureAlgorithmstringtrue-签名算法
RootCertificate.KeyUsagestringtrue-密钥用法
RootCertificate.PublicKeyLengthBitsnumbertrue-公钥长度
RootCertificate.CertIdnumbertrue-证书ID
}
ClientCertificate {objecttrue-本地证书信息,本地证书与SSL证书进行归一管理
须知:此资源已经废弃,仅供兼容性用途使用。归一到/redfish/v1/Managers/manager_id/SecurityService/HttpsCert进行管理
ClientCertificate.Subjectstringtrue-证书使用者
ClientCertificate.Issuerstringtrue-证书签发者
ClientCertificate.ValidNotBeforestringtrue-生效起始日期
ClientCertificate.ValidNotAfterstringtrue-生效结束日期
ClientCertificate.SerialNumberstringtrue-证书序列号
ClientCertificate.SignatureAlgorithmstringtrue-签名算法
ClientCertificate.KeyUsagestringtrue-密钥用法
ClientCertificate.PublicKeyLengthBitsnumbertrue-公钥长度
}
SyslogServers [ {arraytrue-Syslog服务器列表
SyslogServers[].MemberIdstringfalse-数组序号
SyslogServers[].Enabledbooleanfalse-通道使能
SyslogServers[].Addressstringfalse-服务器地址
SyslogServers[].Portnumberfalse-服务器端口号
SyslogServers[].LogType[ ]arrayfalse-日志类型
● OperationLog:操作日志
● SecurityLog:安全日志
● EventLog:事件日志
● IntrusionDetectionLog:入侵检测日志
● SysComLog:系统通信日志
● BmcComLog:BMC通信日志
● DiagnosticLog:诊断日志
● ChipLog:芯片日志
} ]
Actions {objecttrue-syslog组密钥导入操作
Actions.#SyslogService.ImportRootCertificate {objecttrue-导入syslog根证书
Actions.#SyslogService.ImportRootCertificate.targetstringtrue-操作路径
Actions.#SyslogService.ImportRootCertificate.@Redfish.ActionInfostringtrue-操作信息查询路径
}
Actions.#SyslogService.ImportClientCertificate {objecttrue-导入syslog本地证书
Actions.#SyslogService.ImportClientCertificate.@Redfish.ActionInfostringtrue-操作信息查询路径
Actions.#SyslogService.ImportClientCertificate.targetstringtrue-操作路径
}
Actions.#SyslogService.SubmitTestEvent {objecttrue-发送测试事件
Actions.#SyslogService.SubmitTestEvent.@Redfish.ActionInfostringtrue-操作信息查询路径
Actions.#SyslogService.SubmitTestEvent.targetstringtrue-操作路径
}
Actions.#SyslogService.ImportCrl {objecttrue-导入syslog服务器证书吊销列表
Actions.#SyslogService.ImportCrl.@Redfish.ActionInfostringtrue-操作信息查询路径
Actions.#SyslogService.ImportCrl.targetstringtrue-操作路径
}
Actions.#SyslogService.DeleteCrl {objecttrue-删除syslog服务器证书吊销列表
Actions.#SyslogService.DeleteCrl.@Redfish.ActionInfostringtrue-操作信息查询路径
Actions.#SyslogService.DeleteCrl.targetstringtrue-操作路径
}
}

supported_methods ​

  • GET
  • PATCH
  • POST

HTTP methods ​

GET ​

命令功能

查询 Syslog 资源信息

命令格式

URL: https://device_ip/redfish/v1/Managers/manager_id/SyslogService

请求头:

text
X-Auth-Token: auth_value

请求消息体: 无

参数说明

参数参数说明取值
device_ip登录设备的IP地址IPv4或IPv6地址
auth_value请求消息的鉴权参数可通过/redfish/v1/SessionService/Sessions创建会话时获得

使用指南

无

使用实例

请求样例: GET https://device_ip/redfish/v1/Managers/manager_id/SyslogService

X-Auth-Token: auth_value 请求消息体:无

响应样例:

json
{
"@odata.context": "/redfish/v1/$metadata#HwSyslogService.HwSyslogService",
"@odata.id": "/redfish/v1/Managers/1/SyslogService",
"@odata.type": "#HwSyslogService.v1_0_0.HwSyslogService",
"Id": "SyslogService",
"Name": "Syslog Service",
"ServiceEnabled": false,
"MessageFormat": "Custom",
"ServerIdentitySource": "BoardSN",
"AlarmSeverity": "Normal",
"TransmissionProtocol": "TLS",
"AuthenticateMode": "TwoWay",
"CrlValidFrom": null,
"CrlValidTo": null,
"CrlVerificationEnabled": false,
"RootCertificate": {
"Issuer": "CN=xxx, OU=IT, O=xxx, L=, S=GuangDong, C=CN",
"Subject": "CN=xxx, OU=IT, O=xxx, L=, S=GuangDong, C=CN",
"ValidNotBefore": "Jan 28 2016 GMT",
"ValidNotAfter": "Jan 27 2019 GMT",
"SerialNumber": "d5 39 e6 3a 2d 53 de 90",
"SignatureAlgorithm": "sha256WithRSAEncryption",
"KeyUsage": "Certificate Signing, CRL Sign",
"PublicKeyLengthBits": 2048,
"CertId": 1
},
"ReportType": "SEL",
"ClientCertificate": {
"Issuer": "CN=Server, OU=IT, O=xxx, L=, S=GuangDong, C=CN",
"Subject": "CN=Server, OU=, O=, L=, S=, C=LG",
"ValidNotBefore": "Aug 10 2016 GMT",
"ValidNotAfter": "Aug 08 2026 GMT",
"SerialNumber": "ad f2 f4 57 42 02 7a 7e",
"SignatureAlgorithm": "sha256WithRSAEncryption",
"KeyUsage": "Certificate Signing, CRL Sign",
"PublicKeyLengthBits": 2048
},
"SyslogServers": [
{
"MemberId": "0",
"Enabled": false,
"Address": "",
"Port": 0,
"LogType": [
"OperationLog",
"SecurityLog",
"EventLog",
"IntrusionDetectionLog",
"SysComLog",
"BmcComLog",
"DiagnosticLog",
"ChipLog"
]
},
{
"MemberId": "1",
"Enabled": false,
"Address": "",
"Port": 0,
"LogType": [
"OperationLog",
"SecurityLog",
"EventLog",
"IntrusionDetectionLog",
"SysComLog",
"BmcComLog",
"DiagnosticLog",
"ChipLog"
]
},
{
"MemberId": "2",
"Enabled": false,
"Address": "",
"Port": 0,
"LogType": [
"OperationLog",
"SecurityLog",
"EventLog",
"IntrusionDetectionLog",
"SysComLog",
"BmcComLog",
"DiagnosticLog",
"ChipLog"
]
},
{
"MemberId": "3",
"Enabled": false,
"Address": "",
"Port": 0,
"LogType": [
"OperationLog",
"SecurityLog",
"EventLog",
"IntrusionDetectionLog",
"SysComLog",
"BmcComLog",
"DiagnosticLog",
"ChipLog"
]
}
],
"Actions": {
"#SyslogService.ImportRootCertificate": {
"target": "/redfish/v1/Managers/1/SyslogService/Actions/SyslogService.ImportRootCertificate",
"@Redfish.ActionInfo": "/redfish/v1/Managers/1/SyslogService/ImportRootCertificateActionInfo"
},
"#SyslogService.ImportClientCertificate": {
"target": "/redfish/v1/Managers/1/SyslogService/Actions/SyslogService.ImportClientCertificate",
"@Redfish.ActionInfo": "/redfish/v1/Managers/1/SyslogService/ImportClientCertificateActionInfo"
},
"#SyslogService.SubmitTestEvent": {
"target": "/redfish/v1/Managers/1/SyslogService/Actions/SyslogService.SubmitTestEvent",
"@Redfish.ActionInfo": "/redfish/v1/Managers/1/SyslogService/SubmitTestEventActionInfo"
},
"#SyslogService.ImportCrl": {
"target": "/redfish/v1/Managers/1/SyslogService/Actions/SyslogService.ImportCrl",
"@Redfish.ActionInfo": "/redfish/v1/Managers/1/SyslogService/ImportCrlActionInfo"
},
"#SyslogService.DeleteCrl": {
"target": "/redfish/v1/Managers/1/SyslogService/Actions/SyslogService.DeleteCrl",
"@Redfish.ActionInfo": "/redfish/v1/Managers/1/SyslogService/DeleteCrlActionInfo"
}
}
}

响应码:200

PATCH ​

命令功能

修改指定 Syslog 资源信息

命令格式

URL: https://device_ip/redfish/v1/Managers/manager_id/SyslogService

请求头:

text
X-Auth-Token: auth_value
Content-Type: header_type
If-Match: ifmatch_value

请求消息体:

json
{
"ServiceEnabled": ServiceEnabled,
"MessageFormat": MessageFormat,
"ServerIdentitySource": ServerIdentitySource,
"AlarmSeverity": AlarmSeverity,
"TransmissionProtocol": TransmissionProtocol,
"AuthenticateMode": AuthenticateMode,
"ReportType": ReportType_value,
"SyslogServers": [
{
"Enabled": enabled_value,
"Address": add_value,
"Port": port_value,
"LogType": logtype_value
}
]
}

请求头参数说明

参见 请求头参数说明

请求体参数说明

参数参数说明取值
ServiceEnabledSyslog服务使能● true:开启
● false:关闭
MessageFormat消息格式● 自定义:Custom
● RFC3164:RFC3164说明设置为RFC3164消息格式时,“主机标识”字段不支持设置,默认为主机名
ServerIdentitySource主机标志● 单板序列号:BoardSN
● 资产标签:ProductAssetTag
● 主机名:HostName
AlarmSeverity告警级别● Critical(紧急)
● Major(严重及以上)
● Minor(轻微及以上)
● Normal(正常及以上)
● null(不发送告警)
ReportType事件上报类型● OemEvent:自定义事件
● SEL:传感器事件
TransmissionProtocol传输协议● UDP
● TCP
● TLS
AuthenticateModeSyslog认证方式● 单向认证:OneWay
● 双向认证:TwoWay
Enabled通道使能● true:开启
● false:关闭
Address服务器地址● IPv4或IPv6地址或FQDN
Port服务器端口● 1~65535
LogType日志类型● 操作日志:OperationLog
● 安全日志:SecurityLog
● 事件日志:EventLog
● 入侵检测日志:IntrusionDetectionLog
● 系统串口日志:SysComLog
● BMC串口日志:BmcComLog
● 故障诊断日志:DiagnosticLog
● 板卡芯片日志:ChipLog

使用指南

可同时设置多个服务的参数。

使用实例

请求样例: PATCH https://device_ip/redfish/v1/Managers/manager_id/SyslogService

X-Auth-Token: auth_value Content-Type: header_type If-Match: ifmatch_value 请求消息体:

json
{
"ServiceEnabled": ServiceEnabled,
"MessageFormat": MessageFormat,
"ServerIdentitySource": ServerIdentitySource,
"AlarmSeverity": AlarmSeverity,
"TransmissionProtocol": TransmissionProtocol,
"AuthenticateMode": AuthenticateMode,
"ReportType": ReportType_value,
"SyslogServers": [
{
"Enabled": enabled_value,
"Address": add_value,
"Port": port_value,
"LogType": logtype_value
}
]
}

响应样例:

json
{
"@odata.context": "/redfish/v1/$metadata#HwSyslogService.HwSyslogService",
"@odata.id": "/redfish/v1/Managers/1/SyslogService",
"@odata.type": "#HwSyslogService.v1_0_0.HwSyslogService",
"Id": "SyslogService",
"Name": "Syslog Service",
"ServiceEnabled": true,
"MessageFormat": "Custom",
"ServerIdentitySource": "BoardSN",
"AlarmSeverity": "Normal",
"TransmissionProtocol": "TLS",
"AuthenticateMode": "TwoWay",
"CrlValidFrom": null,
"CrlValidTo": null,
"CrlVerificationEnabled": false,
"RootCertificate": {
"Issuer": "CN=xxx, OU=IT, O=xxx, L=, S=GuangDong, C=CN",
"Subject": "CN=xxx, OU=IT, O=xxx, L=, S=GuangDong, C=CN",
"ValidNotBefore": "Jan 28 2016 GMT",
"ValidNotAfter": "Jan 27 2019 GMT",
"SerialNumber": "d5 39 e6 3a 2d 53 de 90",
"SignatureAlgorithm": "sha256WithRSAEncryption",
"KeyUsage": "Certificate Signing, CRL Sign",
"PublicKeyLengthBits": 2048,
"CertId": 1
},
"ReportType": "SEL",
"ClientCertificate": {
"Issuer": "CN=Server, OU=IT, O=xxx, L=, S=GuangDong, C=CN",
"Subject": "CN=Server, OU=, O=, L=, S=, C=LG",
"ValidNotBefore": "Aug 10 2016 GMT",
"ValidNotAfter": "Aug 08 2026 GMT",
"SerialNumber": "ad f2 f4 57 42 02 7a 7e",
"SignatureAlgorithm": "sha256WithRSAEncryption",
"KeyUsage": "Certificate Signing, CRL Sign",
"PublicKeyLengthBits": 2048
},
"SyslogServers": [
{
"MemberId": "0",
"Enabled": false,
"Address": "",
"Port": 0,
"LogType": [
"OperationLog",
"SecurityLog",
"EventLog",
"IntrusionDetectionLog",
"SysComLog",
"BmcComLog",
"DiagnosticLog",
"ChipLog"
]
},
{
"MemberId": "1",
"Enabled": false,
"Address": "",
"Port": 0,
"LogType": [
"OperationLog",
"SecurityLog",
"EventLog",
"IntrusionDetectionLog",
"SysComLog",
"BmcComLog",
"DiagnosticLog",
"ChipLog"
]
},
{
"MemberId": "2",
"Enabled": false,
"Address": "",
"Port": 0,
"LogType": [
"OperationLog",
"SecurityLog",
"EventLog",
"IntrusionDetectionLog",
"SysComLog",
"BmcComLog",
"DiagnosticLog",
"ChipLog"
]
},
{
"MemberId": "3",
"Enabled": false,
"Address": "",
"Port": 0,
"LogType": [
"OperationLog",
"SecurityLog",
"EventLog",
"IntrusionDetectionLog",
"SysComLog",
"BmcComLog",
"DiagnosticLog",
"ChipLog"
]
}
],
"Actions": {
"#SyslogService.ImportRootCertificate": {
"target": "/redfish/v1/Managers/1/SyslogService/Actions/SyslogService.ImportRootCertificate",
"@Redfish.ActionInfo": "/redfish/v1/Managers/1/SyslogService/ImportRootCertificateActionInfo"
},
"#SyslogService.ImportClientCertificate": {
"target": "/redfish/v1/Managers/1/SyslogService/Actions/SyslogService.ImportClientCertificate",
"@Redfish.ActionInfo": "/redfish/v1/Managers/1/SyslogService/ImportClientCertificateActionInfo"
},
"#SyslogService.SubmitTestEvent": {
"target": "/redfish/v1/Managers/1/SyslogService/Actions/SyslogService.SubmitTestEvent",
"@Redfish.ActionInfo": "/redfish/v1/Managers/1/SyslogService/SubmitTestEventActionInfo"
},
"#SyslogService.ImportCrl": {
"target": "/redfish/v1/Managers/1/SyslogService/Actions/SyslogService.ImportCrl",
"@Redfish.ActionInfo": "/redfish/v1/Managers/1/SyslogService/ImportCrlActionInfo"
},
"#SyslogService.DeleteCrl": {
"target": "/redfish/v1/Managers/1/SyslogService/Actions/SyslogService.DeleteCrl",
"@Redfish.ActionInfo": "/redfish/v1/Managers/1/SyslogService/DeleteCrlActionInfo"
}
}
}

响应码:200

POST (ACTION) ​

ImportRootCertificate ​

命令功能

导入 Syslog 根证书

说明 须知 此资源已经废弃,仅供兼容性用途使用。建议使用redfish/v1/CertificateService接口 进行CA证书/吊销列表管理 自openUBMC 25.12 LTS版本后CA证书升级为资源池,所有BMC业务共用资源池中的CA证 书,此接口导入证书会影响到其他包含根证书的接口。共用CA证书业务包括: Syslog、SMTP、LDAP、SSL证书自动更新、远程HTTPS服务器、双因素登录业务

命令格式

URL: https://device_ip/redfish/v1/Managers/manager_id/SyslogService/Actions/SyslogService.ImportRootCertificate

请求头:

text
X-Auth-Token: auth_value
Content-Type: header_type

请求消息体:

json
{
"Type": type,
"Content": value
}

请求头参数说明

参见 请求头参数说明

请求体参数说明

参数参数说明取值
type导入syslog证书的方式● text,表明value值是证书内容
● URI,表明value值是URI(本地或者远程)
value内容1:可以是证书的内容2:可以是证书本地路径(只能在/tmp目录下)或者远程路径(支持的文件传输的协议有https、sftp、nfs、cifs、scp)3:value的含义由type表示

使用指南

无

使用实例

请求样例: POST https://device_ip/redfish/v1/Managers/manager_id/SyslogService/Actions/SyslogService.ImportRootCertificate

X-Auth-Token: auth_value Content-Type: header_type 请求消息体:

json
{
"Type": type,
"Content": value
}

响应样例:

json
{
"error": {
"code": "Base.1.0.GeneralError",
"message": "A general error has occurred. See ExtendedInfo for more information.",
"@Message.ExtendedInfo": [
{
"@odata.type": "#Message.v1_0_0.Message",
"MessageId": "iBMC.1.0.CertImportOKNone",
"RelatedProperties": [],
"Message": "The certificate has been imported successfully.",
"MessageArgs": [],
"Severity": "OK",
"Resolution": "None"
}
]
}
}

响应码:200

POST (ACTION) ​

ImportClientCertificate ​

命令功能

导入 Syslog 本地证书

说明 须知 此资源已经废弃,仅供兼容性用途使用。归一到/redfish/v1/Managers/manager_id/ SecurityService/HttpsCert进行管理

命令格式

URL: https://device_ip/redfish/v1/Managers/manager_id/SyslogService/Actions/SyslogService.ImportClientCertificate

请求头:

text
X-Auth-Token: auth_value
Content-Type: header_type

请求消息体:

json
{
"Type": type,
"Content": value,
"Password": password
}

请求头参数说明

参见 请求头参数说明

请求体参数说明

参数参数说明取值
type导入本地证书的方式● text,表明value值是证书内容。
● URI,表明value值是URI(本地或者远程)
value内容1:可以是证书内容的BASE64编码2:可以是证书本地路径(只能在/tmp目录下)或者远程路径(支持的文件传输的协议有https、sftp、nfs、cifs、scp)3:value的值表示什么意思由type表示
password解密证书的密码为可选参数,未输入表明是空密码

使用指南

无

使用实例

请求样例: POST https://device_ip/redfish/v1/Managers/manager_id/SyslogService/Actions/SyslogService.ImportClientCertificate

X-Auth-Token: auth_value Content-Type: header_type 请求消息体:

json
{
"Type": type,
"Content": value,
"Password": password
}

响应样例:

json
{
"error": {
"code": "Base.1.0.GeneralError",
"message": "A general error has occurred. See ExtendedInfo for more information.",
"@Message.ExtendedInfo": [
{
"@odata.type": "#Message.v1_0_0.Message",
"MessageId": "iBMC.1.0.CertImportOKNone",
"RelatedProperties": [],
"Message": "The certificate has been imported successfully.",
"MessageArgs": [],
"Severity": "OK",
"Resolution": "None"
}
]
}
}

响应码:200

POST (ACTION) ​

SubmitTestEvent ​

命令功能

Syslog 发送测试事件

命令格式

URL: https://device_ip/redfish/v1/Managers/manager_id/SyslogService/Actions/SyslogService.SubmitTestEvent

请求头:

text
X-Auth-Token: auth_value
Content-Type: header_type

请求消息体:

json
{
"MemberId": value
}

请求头参数说明

参见 请求头参数说明

请求体参数说明

参数参数说明取值
value序号字符,可用范围0~3。

使用指南

无

使用实例

请求样例: POST https://device_ip/redfish/v1/Managers/manager_id/SyslogService/Actions/SyslogService.SubmitTestEvent

X-Auth-Token: auth_value Content-Type: header_type 请求消息体:

json
{
"MemberId": value
}

响应样例:

json
{
"error": {
"code": "Base.1.0.GeneralError",
"message": "A general error has occurred. See ExtendedInfo for more information.",
"@Message.ExtendedInfo": [
{
"@odata.type": "#Message.v1_0_0.Message",
"MessageId": "Base.1.0.Success",
"RelatedProperties": [],
"Message": "Successfully Completed Request",
"MessageArgs": [],
"Severity": "OK",
"Resolution": "None"
}
]
}
}

响应码:200

POST (ACTION) ​

ImportCrl ​

命令功能

导入 Syslog 服务器证书吊销列表

说明 须知 此资源已经废弃,仅供兼容性用途使用。建议使用redfish/v1/CertificateService接口 进行CA证书/吊销列表管理 自openUBMC 25.12 LTS版本后CA证书升级为资源池,所有BMC业务共用资源池中的CA证 书,此接口导入证书会影响到其他包含根证书的接口。共用CA证书业务包括: Syslog、SMTP、LDAP、SSL证书自动更新、远程HTTPS服务器、双因素登录业务

命令格式

URL: https://device_ip/redfish/v1/Managers/manager_id/SyslogService/Actions/SyslogService.ImportCrl

请求头:

text
X-Auth-Token: auth_value
Content-Type: header_type

请求消息体:

json
{
"Type": "text",
"Content": crl_text
}

请求头参数说明

参见 请求头参数说明

请求体参数说明

参数参数说明取值
crl_text证书吊销列表文本吊销列表文件的文本内容
tmp_uri证书吊销列表的本地路径证书的本地路径,/tmp/ 目录/文件名,文件拓展名必须是“.crl”
remote_uri证书吊销列表的远程路径远程导入的路径,形如:“sftp:// user:password@ip/path”;目前支持五种传输协议,https、scp、sftp、cifs、nfs,远程文件的扩展名必须是“.crl”

使用指南

由于rsyslog版本问题,吊销列表导入后不会生效。

使用实例

请求样例: POST https://device_ip/redfish/v1/Managers/manager_id/SyslogService/Actions/SyslogService.ImportCrl

Content-Type: header_type X-Auth-Token: auth_value 请求消息体:

json
{
"Type": "text",
"Content": crl_text
}

POST (ACTION) ​

DeleteCrl ​

命令功能

删除 Syslog 服务器证书吊销列表

说明 须知 此资源已经废弃,仅供兼容性用途使用。建议使用redfish/v1/CertificateService接口 进行CA证书/吊销列表管理 自openUBMC 25.12 LTS版本后CA证书升级为资源池,所有BMC业务共用资源池中的CA证 书,此接口导入证书会影响到其他包含根证书的接口。共用CA证书业务包括: Syslog、SMTP、LDAP、SSL证书自动更新、远程HTTPS服务器、双因素登录业务

命令格式

URL: https://device_ip/redfish/v1/Managers/manager_id/SyslogService/Actions/SyslogService.DeleteCrl

请求头:

text
X-Auth-Token: auth_value
Content-Type: header_type

请求消息体:

json
{}

请求头参数说明

参见 请求头参数说明

请求体参数说明

无

使用指南

由于rsyslog版本问题,吊销列表导入后不会生效。

使用实例

请求样例: POST https://device_ip/redfish/v1/Managers/manager_id/SyslogService/Actions/SyslogService.DeleteCrl

Content-Type: header_type X-Auth-Token: auth_value 请求消息体:

json
{}

响应样例:

json
{
"error": {
"code": "Base.1.0.GeneralError",
"message": "A general error has occurred. See ExtendedInfo for more information.",
"@Message.ExtendedInfo": [
{
"@odata.type": "#Message.v1_0_0.Message",
"MessageId": "Base.1.0.Success",
"RelatedProperties": [],
"Message": "Successfully Completed Request",
"MessageArgs": [],
"Severity": "OK",
"Resolution": "None"
}
]
}
}

响应码:200