1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 17:06:09 +00:00
webvirtcloud/computes/tests
catborise 070a4b99da feat(computes): Balance and the spread count each host's share of its size
Balance evened out the memory, then the vCPUs, the hosts give their running
VMs, and the Bulk Migrate spread sent a VM to the host with the least
memory: a host twice as large got the same as a small one. Both now count
each host's load against its memory and CPUs: propose lowers the sum of
each host's load squared over its size, least when every host has the same
share; spread sends a VM to the host with the least share after it. With
hosts of one size the proposal is the same as before.

The Balance page shows each host's memory, its CPUs next to the vCPUs, and
the bars as the share of the host's own memory.
2026-11-16 13:41:17 +03:00
..
__init__.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
fakes.py fix(computes): a libvirt host is one compute, and a compute's VMs stay on their host 2026-11-12 09:19:03 +03:00
test_api_security.py refactor(computes): the lock helpers take claims instead of file locks 2026-10-14 23:27:57 +03:00
test_audit_rows.py fix(computes): a libvirt host is one compute, and a compute's VMs stay on their host 2026-11-12 09:19:03 +03:00
test_balance.py feat(computes): Balance and the spread count each host's share of its size 2026-11-16 13:41:17 +03:00
test_balance_js.py fix(computes): the Balance page shows each host's load as bars 2026-11-16 08:11:47 +03:00
test_bulk_migrate.py feat(computes): Bulk Migrate spreads a host's VMs over the others; host checks asked once 2026-11-16 10:29:07 +03:00
test_bulk_migrate_js.py feat(computes): Bulk Migrate spreads a host's VMs over the others; host checks asked once 2026-11-16 10:29:07 +03:00
test_capacity.py perf(computes): a host's CPU count and memory come from its cached info 2026-11-08 12:05:19 +03:00
test_changed_connection.py fix(computes): a changed compute does not use or list its old host 2026-11-12 09:19:03 +03:00
test_compute_form.py fix(computes): the compute forms save their own kind, a password as typed, and say when the host is not reached 2026-11-12 09:19:15 +03:00
test_compute_password.py fix(computes): a libvirt host is one compute, and a compute's VMs stay on their host 2026-11-12 09:19:03 +03:00
test_cpu_graph.py fix(computes): a chart places each reading at the time it came 2026-11-13 16:38:42 +03:00
test_gstfsd_key.py fix(computes): a libvirt host is one compute, and a compute's VMs stay on their host 2026-11-12 09:19:03 +03:00
test_host_identity.py fix(computes): a libvirt host is one compute, and a compute's VMs stay on their host 2026-11-12 09:19:03 +03:00
test_host_nav.py style(computes): the host's sections on one line in every theme 2026-10-29 15:50:31 +03:00
test_list_hosts.py fix(computes): hosts that do not answer no longer keep the Computes page from the others 2026-11-13 16:38:42 +03:00
test_migration_address.py fix(computes): a VM migrates to its host's panel address when it has no migration address 2026-11-01 18:41:07 +03:00
test_operation_locks.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_overview.py test: no test connects to a real host 2026-11-08 22:22:16 +03:00
test_overview_status.py feat(computes): the Computes list on Bootstrap's cards, badges, bars and menus 2026-10-27 21:52:08 +03:00
test_ownership.py fix(computes): a VM gone from its compute gives no copy its owners 2026-11-10 13:19:39 +03:00
test_ownership_race.py test: the computes tests share one fake libvirt domain 2026-11-06 13:48:03 +03:00
test_reach.py feat(computes): Bulk Migrate spreads a host's VMs over the others; host checks asked once 2026-11-16 10:29:07 +03:00
test_reconciliation.py fix(instances): a VM name of any length libvirt takes is kept 2026-11-10 13:11:22 +03:00
test_unreachable_host_pages.py fix(console,computes): an unreachable host is named as the cause, not an empty list 2026-11-06 23:08:11 +03:00
test_validators.py fix(computes): the compute forms save their own kind, a password as typed, and say when the host is not reached 2026-11-12 09:19:15 +03:00
test_views.py fix(computes): a libvirt host is one compute, and a compute's VMs stay on their host 2026-11-12 09:19:03 +03:00