mirror of https://github.com/apache/cloudstack.git
add amount of system VMs that are allocated to each host in the hosts ListView (#10791)
This commit is contained in:
parent
030ed55f36
commit
02d1c61cf7
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue