Uploading a FusionDirector CRL
Function
This interface is used to upload a FusionDirector CRL.
Syntax
Operation type: POST
URL: https://device_ip/redfish/v1/NetManager/ImportFdCrl
Request header:
X-Auth-Token: auth_value
{
"imgfile": imgfile,
"size": size
}
Request Parameters
Parameter |
Mandatory/Optional |
Description |
Value |
|---|---|---|---|
imgfile |
Mandatory |
Name of the file to be uploaded through Form-Data. |
The file name must contain 1 to 255 characters, including uppercase and lowercase letters (a to z and A to Z), digits (0 to 9), and other characters (_.-). The allowed file type is .crl. Select a required file type if the key value is imgfile. |
size |
Optional |
Size of the file to be uploaded through Form-Data. |
The value is a number, in bytes. The value must be greater than 0 and the maximum value is 10 KB. |
Usage Guidelines
None
Example
Request:
POST https://10.10.10.10/redfish/v1/NetManager/ImportFdCrl
X-Auth-Token: auth_value
{
"imgfile": server.crl,
"size": 1
}
{
"error": {
"code": "Base.1.0.Success",
"message": "Operation success. See ExtendedInfo for more information.",
"@Message.ExtendedInfo": [
{
"@odata.type": "#MessageRegistry.v1_0_0.MessageRegistry",
"Description": "Indicates that no error has occurred.",
"Message": "import crl success.",
"Severity": "OK",
"NumberOfArgs": null,
"ParamTypes": null,
"Resolution": "None"
}
]
}
}
Output Description
Field |
Type |
Description |
|---|---|---|
code |
Character string |
A string indicating the specific message ID in the message registry. |
message |
Character string |
Message details. |
@odata.type |
Character string |
Session resource type. |
Description |
Character string |
Details. |
Message |
Character string |
Response message. |
Severity |
Character string |
Severity supported by Redfish.
|
NumberOfArgs |
Number |
Number of added parameters. |
ParamTypes |
Array |
Types of the added parameters. |
Resolution |
Character string |
Solution description. |