Virtual Media Management
Mounting and Configuring the Virtual Media Settings
URI: /redfish/v1/Managers/1/VirtualMedia/VirtualMedia[mounted dev num]/Actions/VirtualMedia.InsertMedia
Method: POST
Payload:
{
"Image": "<host>/<path>",
"UserName": "some_username",
"Password": "some_password"
}
Response: 202
Checking the Task State
URI: /redfish/v1/TaskService/Tasks/[TASK_NUM]
Method: Get
Verifying the ISO was Mounted by the Redfish Command
URI: /redfish/v1/Managers/1/VirtualMedia/VirtualMedia[mounted_dev_num]
Method: GET
Payload:
{
}
Unmounting the ISO
URI: /redfish/v1/Managers/1/VirtualMedia/VirtualMedia[mounted_dev_num]/Actions/VirtualMedia.EjectMedia
Method: POST
Payload:
{
}
Verifying the ISO was Unmounted by the Redfish Command
Verify whether the ISO was unmounted using the Redfish command; the node should be removed.
URI: /redfish/v1/Managers/1/VirtualMedia/VirtualMedia[mounted_dev_num]
Method: GET
Response: 200