1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 19:26:48 +00:00
webvirtcloud/virtsecrets/tests
catborise 5b8793ad4c feat(logs): changes to networks, storage, interfaces, secrets and filters are logged
The Logs page now records every change an admin makes to a compute's
libvirt objects, with the compute's name in the host column:

- networks: add, start, stop, delete, autostart, DHCP range, fixed
  addresses, QoS and XML edits;
- storage pools: add, start, stop, delete, autostart, from web and
  API; volumes: add and delete (web and API), clone and ISO upload;
- host interfaces: add, start, stop, delete;
- secrets: add, set value (never the value), delete;
- network filters: add, clone, delete, XML edits, rules and
  references.

A refused or failed change is a failed row with its reason (libvirt
text through safe_text). The volume clone and upload jobs write their
row when they end; a refused submission is a failed row at once. A
volume row names the volume libvirt created (a dir pool adds .qcow2 or
.img). Volume create or delete through the API on an inactive pool
(409) is a failed row.

Network filters: the rows read "Network filter f1: add" instead of
"f1 network filter is created", and their host is the compute's name
instead of its hostname. A duplicate name or UUID no longer raises a
bare exception, and a filter XML that cannot be parsed no longer ends
in UnboundLocalError.
2026-10-23 13:30:21 +03:00
..
__init__.py fix(virtsecrets): a secret's usage value goes into its XML as text 2026-10-19 16:43:06 +03:00
test_audit_rows.py feat(logs): changes to networks, storage, interfaces, secrets and filters are logged 2026-10-23 13:30:21 +03:00
test_create_secret.py fix(virtsecrets): the create dialog offers only the usage types it can create 2026-10-20 22:37:51 +03:00
test_live_secrets.py fix(virtsecrets): a secret's usage value goes into its XML as text 2026-10-19 16:43:06 +03:00
test_secret_in_use.py fix: a network, pool or secret a VM needs is not stopped or deleted 2026-10-22 08:34:55 +03:00
test_secrets_page.py fix(virtsecrets): a secret's value never reaches the page 2026-10-20 22:37:36 +03:00