summaryrefslogtreecommitdiffstats
path: root/tests/run-tests.sh
diff options
context:
space:
mode:
authorRoberto Hueso Gómez <rhueso@soleta.eu>2019-10-07 10:47:42 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2019-10-07 11:14:41 +0200
commitdbcc83daa56b3cba415acff079809b3e77ae069c (patch)
treeb16eded6cd3e31a58a93117e12a385ccd5ed9d02 /tests/run-tests.sh
parente6cfd833237860fbab537826aef20b7bc0bbfce1 (diff)
#915 Add POST "image/setup" command to REST API in ogAdmServer
This patch implements the command "image/setup" that provides partitioning and formatting functionality. Request: POST /image/setup { "clients" : [ "192.168.56.11" ], "disk" : "1", "cache" : "1", "cache_size" : "0", "partition_setup": [{"partition": "1", "code": "LINUX", "filesystem": "EMPTY", "size": "498688", "format": "0"}, {"partition": "2", "code": "LINUX-SWAP", "filesystem": "EMPTY", "size": "199987", "format": "0"}, {"partition": "3", "code": "LINUX", "filesystem": "EMPTY", "size": "31053824", "format": "0"}, {"partition": "4", "code": "EMPTY", "filesystem": "EMPTY", "size": "0", "format": "0"}]} Reply: 200 OK
Diffstat (limited to 'tests/run-tests.sh')
0 files changed, 0 insertions, 0 deletions