Home
last modified time | relevance | path

Searched hist:d6da5bebfe4c0ac206570cd69f20406da06ea40b (Results 1 – 1 of 1) sorted by relevance

/openbmc/bmcweb/redfish-core/lib/
H A Dvirtual_media.hppdiff d6da5bebfe4c0ac206570cd69f20406da06ea40b Mon Jan 13 11:31:01 CST 2020 Adrian Ambrożewicz <adrian.ambrozewicz@linux.intel.com> Add handling of WriteProtected parameter to InsertMedia action.

As continuation for VirtualMedia Redfish support, this patch adds
handling and passing WriteProtected parameter to Virtual Media
'Mount' D-Bus call.

WriteProtected parameter determines Read-Only mode for both
USB Gadget and NBD stack.

Tested:
Manual and automated tests on WilsonCity platform:
- mounting and unmounting images over CIFS and HTTPS (single, multiple
at the same time etc)
- positive and negative tests for D-Bus calls
- ensuring proper information is exposed on D-Bus

Signed-off-by: Agata Olender <agata.olender@intel.com>
Change-Id: I5920c389785f5568754803f3c4989c188f9e0826