rest_dbus: implement route '/upload/image'

Implement a route named '/upload/image' to be able to upload software upgrade
images to the BMC.

A typical upload via cURL would look like this :
'curl <options> -X POST -T <file_to_upload> https://<bmc_IP>/upload/image'.

The uploaded files are stored at /tmp/images/. The filename of the
uploaded file would be 'imageN', with N starting at 0.

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