functest.opnfv_tests.openstack.vgpu.vgpu module

vGPU testcase implementation.

class functest.opnfv_tests.openstack.vgpu.vgpu.VGPU(**kwargs)

Bases: functest.core.singlevm.SingleVm2

OpenStack vGPU Test Case.

create_server_timeout = 300
execute()

Test if the vGPU exist.

filename = '/home/opnfv/functest/images/ubuntu-16.04-server-cloudimg-amd64-disk1.img'
flavor_disk = 40
flavor_extra_specs = {'resources:VGPU': '1'}
flavor_ram = 4096
flavor_vcpus = 2
ssh_connect_loops = 12
username = 'ubuntu'