diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 1bda90f6af1..60cb7008117 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -7471,6 +7471,13 @@ $.ajax({ url: createURL('listHypervisors'), success: function(json) { + var supportSocketHypervisors = { + "Hyperv": 1, + "KVM": 1, + "XenServer": 1, + "VMware": 1 + }; + args.response.success({ data: $(json.listhypervisorsresponse.hypervisor).map(function(index, hypervisor) { var totalHostCount = 0; @@ -7514,7 +7521,11 @@ } callListHostsWithPage(true); - + + if ((hypervisor.name in supportSocketHypervisors) == false) { + returnedHostCpusocketsSum = 'N/A'; + } + return { hypervisor: hypervisor.name, hosts: totalHostCount,