1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 11:16:47 +00:00
webvirtcloud/vrtManager/tests
catborise 5e93920d78 feat(instances): a VM's stats in one grid, its logs a switch away
The Stats tab stacked one large card per chart, so a VM with a few
devices made a long page, and its "Real Time" and "Logs" sub-tabs were
shown to every user although only a superuser may read the logs. The
owner chose the layout from rendered options: a state line, CPU and
memory side by side, one chart per NIC and disk below, each with its
latest reading next to its title, and a small Graphs/Logs switch for
superusers.

Codex reviewed the tab; this is fixed:

- Memory is shown in MiB (it was labelled MB), and its axis grows to
  the RSS when the RSS passes the balloon size instead of clipping it.
- The CPU reading says it is of the host's CPUs.
- A NIC is titled by its MAC, not an invented "eth0", and its readings
  are matched to its chart by the MAC: they were matched by position, so
  removing a NIC while the page was open moved the next one's readings
  into its chart.
- A VM that is not running says nothing is measured.
- The logs load whenever the Logs view is shown, by keyboard too; an
  empty answer says "None" and a failed one says so, instead of an
  empty table. The tab shows the latest 50 rows, with a link to all of
  the VM's rows on the Logs page.
- The VM's header shows memory in MiB; it said MB.
2026-10-30 23:41:17 +03:00
..
__init__.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_agent_access.py feat(instances): a running VM gets its root password and SSH key through its guest agent 2026-10-25 15:37:37 +03:00
test_change_network.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_clone_nvram.py feat(instances): VM clone runs as a job 2026-10-15 09:28:43 +03:00
test_cloud_init_seed.py feat(instances): a VM's destruction says what goes, and keeps what a kept file needs 2026-10-30 22:19:31 +03:00
test_connection.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_connection_threads.py feat(operations): the job worker 2026-10-14 23:27:57 +03:00
test_console_setters.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_device_edits.py feat(instances): a VM's resize tab as a ledger, its vCPU changes kept 2026-10-30 18:16:11 +03:00
test_disk_copy_migration.py feat(instances): migrate a VM with its disks copied into pools of the destination 2026-10-29 19:46:31 +03:00
test_disk_move.py feat(instances): move a VM's disk to another storage pool of its host 2026-10-29 21:30:26 +03:00
test_external_snapshots.py feat(instances): a VM's destruction says what goes, and keeps what a kept file needs 2026-10-30 22:19:31 +03:00
test_host_reads.py fix(interfaces): interface changes roll back as one, a running one is not deleted, each interface is read once 2026-10-29 10:09:40 +03:00
test_instance_getters.py feat(instances): a VM's boot settings as switches and its boot order as one list 2026-10-30 14:55:57 +03:00
test_interface_addresses.py fix(instances): Guest Info says when the agent fails and keeps what it answered 2026-10-26 13:49:37 +03:00
test_iso_media.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_live_clone.py feat(instances): a VM's clone form in device cards, with fixes to what it clones 2026-10-30 14:55:57 +03:00
test_live_connection.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_live_nvram.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_migration.py feat(instances): migrate a VM with its disks copied into pools of the destination 2026-10-29 19:46:31 +03:00
test_network_ip.py fix(networks): a network's addresses are read as libvirt writes them, and its changes keep each other 2026-10-29 10:09:14 +03:00
test_persistent_edits.py feat(instances): a VM's options in one list, each saved when it can be 2026-10-30 16:03:43 +03:00
test_read_cache.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_remove_nvram.py feat(instances): migrate a VM with its disks copied into pools of the destination 2026-10-29 19:46:31 +03:00
test_resize_disk.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_rwlock.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_usage.py feat(instances): a VM's stats in one grid, its logs a switch away 2026-10-30 23:41:17 +03:00
test_util.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_volume_in_use.py fix(storages): keep volumes a VM still needs 2026-10-13 09:13:02 +03:00
test_xml_safety.py feat(instances): external snapshots first, internal ones a fallback 2026-10-30 21:40:00 +03:00
test_xpath_values.py fix(nwfilters): a filter in use is not deleted, and a change replaces no other filter 2026-10-29 10:10:17 +03:00