mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Add vmware fact about 'Cores Per Socket' (#32881)
This fix adds new fact - 'Cores Per Socket' about vmware guest machine. Also, adds integration test for this change. Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
@@ -274,6 +274,7 @@ def gather_vm_facts(content, vm):
|
||||
'hw_guest_id': vm.summary.guest.guestId,
|
||||
'hw_product_uuid': vm.config.uuid,
|
||||
'hw_processor_count': vm.config.hardware.numCPU,
|
||||
'hw_cores_per_socket': vm.config.hardware.numCoresPerSocket,
|
||||
'hw_memtotal_mb': vm.config.hardware.memoryMB,
|
||||
'hw_interfaces': [],
|
||||
'guest_tools_status': _get_vm_prop(vm, ('guest', 'toolsRunningStatus')),
|
||||
|
||||
Reference in New Issue
Block a user