Merge "roles: bifrost-create-vm-nodes: Set NIC model to 'virtio'"

This commit is contained in:
Zuul 2018-02-02 12:39:51 +00:00 committed by Gerrit Code Review
commit ae1635427d
3 changed files with 9 additions and 0 deletions

View File

@ -6,6 +6,7 @@ test_vm_num_nodes: 1
test_vm_domain_type: "qemu"
test_vm_arch: "x86_64"
test_vm_cpu: "host-model"
test_vm_nic: "virtio"
test_vm_groups: {}
test_vm_default_groups: "{{ lookup('env', 'DEFAULT_HOST_GROUPS').split() | default(['baremetal'], true) }}"
test_vm_disk_gib: "{{ lookup('env', 'VM_DISK') | default(10, true) }}"

View File

@ -33,6 +33,7 @@
</controller>
<interface type='network'>
<source network='{{ test_vm_network }}'/>
<model type='{{ test_vm_nic }}'/>
</interface>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes'/>

View File

@ -0,0 +1,7 @@
---
features:
- |
Add support for tweaking the vNIC model for the VMs created
by bifrost-create-vm-nodes. The default vNIC model is 'virtio'
which should provide the best possible performance. The model can be
changed using the `test_vm_nic` Ansible variable.