From 4201e27c5db473bdb5a64a7b8a3bc0d85645f853 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernardo=20De=20Marco=20Gon=C3=A7alves?= Date: Tue, 29 Apr 2025 15:30:08 -0300 Subject: [PATCH] add amount of system VMs that are allocated to each host in the hosts ListView --- ui/src/config/section/infra/hosts.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ui/src/config/section/infra/hosts.js b/ui/src/config/section/infra/hosts.js index f51e8083a9cd..617fc85d478d 100644 --- a/ui/src/config/section/infra/hosts.js +++ b/ui/src/config/section/infra/hosts.js @@ -32,7 +32,12 @@ export default { }, params: { type: 'routing' }, columns: () => { - const fields = ['name', 'state', 'resourcestate', 'ipaddress', 'arch', 'hypervisor', 'instances', 'powerstate', 'version'] + const fields = [ + 'name', 'state', 'resourcestate', 'ipaddress', + 'arch', 'hypervisor', 'instances', + { field: 'systeminstances', customTitle: 'system.vms' }, + 'powerstate', 'version' + ] const metricsFields = ['cpunumber', 'cputotalghz', 'cpuusedghz', 'cpuallocatedghz', 'memorytotalgb', 'memoryusedgb', 'memoryallocatedgb', 'networkread', 'networkwrite'] if (store.getters.metrics) { fields.push(...metricsFields)