airshipctl/testutil
Alan Meadows e2076191b7 Add iDRAC ephemeral boot media support
The Dell Redfish implementation slightly deviates from the DMTF Redfish
specification. One variation is the Dell specification's classification
of virtual media, in which the Dell variation adds support for virtual
CDs and virtual floppy drives [0]. In order to perform some actions on Dell
hardware, airshipctl needs support for vendor specific clients.

This change introduces ephemeral boot media support for iDRAC systems
using a proprietary API in the Dell client.

During the creation of this change, it was also observed that Redfish
calls fail when media is already inserted. This change adds a check
to eject media if media is already inserted.

[0] https://www.dell.com/support/manuals/us/en/04/idrac9-lifecycle-controller-v3.2-series/idrac_3.21.21.21_redfishapiguide/virtualmedia?guid=guid-d9e76cf6-627d-4cb9-a3de-3f2b88b74cfb&lang=en-us

Closes: #139

Co-authored-by: Drew Walters <andrew.walters@att.com>
Change-Id: Ic9fd9e1493b1ff1bb20e956ae5f821d137c74760
2020-04-17 19:51:24 +00:00
..
k8sutils Aligned the function definiton to its signature 2020-04-16 11:07:23 -05:00
redfishutils Add iDRAC ephemeral boot media support 2020-04-17 19:51:24 +00:00
testconfig.go Fix for Lint warnings 2020-04-07 14:07:45 +00:00
testdatafs.go Merge "Uplift go-git" 2020-04-15 13:08:33 +00:00
utilities.go Add copyright for missing files 2020-04-09 08:35:59 -05:00