diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2020-11-19 12:44:40 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-11-19 13:20:08 +0100 |
commit | 0411d2bf94c8854f3589213074f40056d026a020 (patch) | |
tree | 774e52457a658d5f5a42140478c044410b62c393 /tests/units/__init__.py | |
parent | 91f034e37121a6ec085fe14a69421793f1fb3087 (diff) |
#1008 Adapt virtual disk setup JSON format
Previous commits updates ogClient and ogServer to support several disks
in Linux (ogLive) mode. This changes disk setup JSON format from an
object to an array. ogClient in virtual mode also need to satisfy this
new format, although it not support several disks.
Adapt ogClient virtual mode to satisfy new disk setup JSON format.
Old format:
"disk_setup": {
"disk": 1,
"partition": 0,
"code": "0",
"filesystem": "",
"os": "",
"size": 32685957,
"used_size": 6
},
New format:
"disk_setup": [
{
"disk": 1,
"partition": 0,
"code": "0",
"filesystem": "",
"os": "",
"size": 32685957,
"used_size": 6
}
],
Diffstat (limited to 'tests/units/__init__.py')
0 files changed, 0 insertions, 0 deletions