rest_dbus: allow route '/upload/image/<filename>'

This allows the user to provide a filename for the uploaded image.

'curl <options> -X PUT -T foo https://<bmc_IP>/upload/image/bar'
- This will save the file foo with the name bar on the BMC.

Resolves openbmc/openbmc#1332.

Change-Id: Ie3d04617114ec574c573ae0ac9ecf65769800062
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
1 file changed
tree: 0b038c6a34224a3d6bd7e990f871087d5ccfca62
  1. module/
  2. servers/
  3. LICENSE