diff options
author | Alvaro Neira Ayuso <aneira@soleta.eu> | 2020-01-16 19:59:23 +0100 |
---|---|---|
committer | Alvaro Neira Ayuso <alvaroneay@gmail.com> | 2020-01-19 19:50:44 +0100 |
commit | b2fd0b5fffbd60e986eebc03c3a24f06194b4368 (patch) | |
tree | 8bfaddbd4712734be91022934dfb46c54a0aa614 /tests/units/server.py | |
parent | fdd4ba59c783d24d7f5a96418955fb5646db65e3 (diff) |
Add image/create command for creating a new image
This patch allows us to use a new support for creating images using ogClient.
ogClient receives from the server a message which json body must be:
{"disk" : "1", "partition" : "1", "code" : "1", "id" : "1", "name" : "test",
"repository" : "192.168.2.4" }
ogClient returns to the server the software inventory executed before
create the image. The message for the server is:
{ "disk" : "0", "partition" : "1", "software" : "xyz" }
"xyz" will be the output saved during the execution of InventarioSoftware in
a specific path.
Diffstat (limited to 'tests/units/server.py')
0 files changed, 0 insertions, 0 deletions