diff options
author | Roberto Hueso Gómez <rhueso@soleta.eu> | 2019-09-24 11:51:38 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2019-10-01 12:56:10 +0200 |
commit | 1a8ada191f779aec01e00ff429f437992bf8919c (patch) | |
tree | 0ad33248d8417f09d586f4a233260ecdd26419d5 /tests/units/test_0011_post_hardware.py | |
parent | 7bdc8fdf756c068f070d27c644d7fc7cf9910dc4 (diff) |
#915: Add POST /image/create command to REST API in ogAdmServer
This patch implements the command "image/create" that creates an image
in a client.
Request:
POST /image/create
{ "clients" : [ "192.168.2.1" ], "disk" : "1", "partition" : "1", "code" : "1", "id" : "1", "name" : "test", "repository" : "192.168.2.2" }
Reply:
200 OK
Diffstat (limited to 'tests/units/test_0011_post_hardware.py')
0 files changed, 0 insertions, 0 deletions