This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch 4.20
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.20 by this push:
new 02d1c61cf77 add amount of system VMs that are allocated to each host
in the hosts ListView (#10791)
02d1c61cf77 is described below
commit 02d1c61cf77125956b4fe9f38dc26b72d9ed0c49
Author: Bernardo De Marco Gonçalves <[email protected]>
AuthorDate: Thu May 1 03:16:26 2025 -0300
add amount of system VMs that are allocated to each host in the hosts
ListView (#10791)
---
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 f51e8083a9c..617fc85d478 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)