1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-10 04:06:47 +00:00
webvirtcloud/networks/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(networks): the fixed-address dialogs take real MAC addresses and host names 2026-10-19 20:43:40 +03:00
test_add_net_pool_form.py fix(networks): a subnet that is not one is refused by the create form 2026-10-20 22:37:44 +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_dhcp_range.py fix(networks): a DHCP range change is reported only when it was made 2026-10-22 09:02:13 +03:00
test_fixed_address_form.py fix(networks): the fixed-address dialogs take real MAC addresses and host names 2026-10-19 20:43:40 +03:00
test_network_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_network_qos.py fix(networks): a network QoS rate that is not a whole number is refused 2026-10-20 22:37:48 +03:00