mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 22:25:25 +00:00
a32135b3b1
Besides ID, libvirt should provide several parameters to help the user distinguish two clients from each other. One of them is the connection timestamp. This patch also adds a testcase for proper JSON formatting of the new attribute too (proper formatting of older clients that did not support this attribute yet is included in the existing tests) - in order to testGenerateJSON to work, a mock of time_t time(time_t *timer) needed to be created. Signed-off-by: Erik Skultety <eskultet@redhat.com> |
||
---|---|---|
.. | ||
input-data-admin-nomdns.json | ||
input-data-admin-server-names.json | ||
input-data-anon-clients.json | ||
input-data-client-ids.json | ||
input-data-client-timestamp.json | ||
input-data-initial-nomdns.json | ||
input-data-initial.json | ||
input-data-no-keepalive-required.json | ||
output-data-admin-nomdns.json | ||
output-data-admin-server-names.json | ||
output-data-anon-clients.json | ||
output-data-client-ids.json | ||
output-data-client-timestamp.json | ||
output-data-initial-nomdns.json | ||
output-data-initial.json | ||
output-data-no-keepalive-required.json | ||
README |
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.