1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-23 21:34:54 +03:00
libvirt/tests/virnetserverdata
Daniel P. Berrange d1f6efb1d0 rpc: add testing of RPC JSON (de)serialization
The virNetServer class has the ability to serialize its state
to a JSON file, and then re-load that data after an in-place
execve() call to re-connect to active file handles. This data
format is critical ABI that must have compatibility across
releases, so it should be tested...
2015-06-11 12:21:14 +01:00
..
input-data-anon-clients.json rpc: add testing of RPC JSON (de)serialization 2015-06-11 12:21:14 +01:00
input-data-initial-nomdns.json rpc: add testing of RPC JSON (de)serialization 2015-06-11 12:21:14 +01:00
input-data-initial.json rpc: add testing of RPC JSON (de)serialization 2015-06-11 12:21:14 +01:00
output-data-anon-clients.json rpc: add testing of RPC JSON (de)serialization 2015-06-11 12:21:14 +01:00
output-data-initial-nomdns.json rpc: add testing of RPC JSON (de)serialization 2015-06-11 12:21:14 +01:00
output-data-initial.json rpc: add testing of RPC JSON (de)serialization 2015-06-11 12:21:14 +01:00
README rpc: add testing of RPC JSON (de)serialization 2015-06-11 12:21:14 +01:00

   virnetservertest data files
   ===========================

The various input-data-*.json files are a record of all the historical
formats that libvirt has been able to produce data for. Everytime a
new field is added to the JSON output, a *new* input data file should
be created. We must not add new fields to existing input-data files,
nor must we ever re-structure them if code changes, as we must check
new code handles the legacy formats.

The various output-data-*.json files are the record of what the *new*
JSON output should look like for the correspondingly named input-data
file. It is permissible to change the existing output-data-*.json
files if the format we save in is updated.