summaryrefslogtreecommitdiffstats
path: root/tests/units/test_0017_post_image_restore.py
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2021-12-14 10:19:29 +0100
committerJavier Sánchez Parra <jsanchez@soleta.eu>2021-12-17 10:31:41 +0100
commitdd578a944e08ff17805a95aff67d707dc6d02424 (patch)
tree898be63ea5ea74a22aa2b932a26d4415f750c233 /tests/units/test_0017_post_image_restore.py
parentff9dbd9033cf12670e855c3f6164976b049224d7 (diff)
#915 Add POST /oglive/set REST request
This patch allows you to update clients' database entry and PXE boot file with the specified ogLive. If you specify either an incorrect or unexisting ogLive, then, clients use the default ogLive image. You can query ogLives installed on the server with ogServer's GET /oglive/list API. If you set the oglive field to "default", then the default ogLive is used. Request: POST /oglive/set { "clients": ["192.168.56.11", "192.168.56.12"], "name": "ogLive-5.4.0-r20200629" } Response: 200 OK
Diffstat (limited to 'tests/units/test_0017_post_image_restore.py')
0 files changed, 0 insertions, 0 deletions