VMware: Add support for numCoresPerSocket (#33149)

This fix adds support for hardware parameter 'numCoresPerSocket'
in vmware_guest module. Also, adds integration tests for this change.

Fixes: #20406

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2017-11-30 19:14:31 +05:30 committed by ansibot
commit 1ca7929f96
2 changed files with 29 additions and 6 deletions

View file

@ -41,8 +41,11 @@
guest_id: centos64Guest
datacenter: "{{ (item|basename).split('_')[0] }}"
hardware:
num_cpus: 1
num_cpus: 4
num_cpu_cores_per_socket: 2
memory_mb: 512
hotadd_memory: true
hotadd_cpu: false
disk:
- size: 0gb
type: thin
@ -70,10 +73,9 @@
guest_id: centos64Guest
datacenter: "{{ (item|basename).split('_')[0] }}"
hardware:
num_cpus: 1
num_cpus: 4
num_cpu_cores_per_socket: 2
memory_mb: 512
hotadd_memory: true
hotadd_cpu: false
disk:
- size: 0gb
type: thin