functest.opnfv_tests.openstack.cinder.cinder_test module

CinderCheck testcase.

class functest.opnfv_tests.openstack.cinder.cinder_test.CinderCheck(**kwargs)

Bases: functest.core.singlevm.SingleVm2

CinderCheck testcase implementation.

Class to execute the CinderCheck test using 2 Floating IPs to connect to the VMs and one data volume

clean()

Clean the resources.

It can be overriden if resources must be deleted after running the test case.

execute()

Execute CinderCheck testcase.

Sets up the OpenStack keypair, router, security group, and VM instance objects then validates cinder. :return: the exit code from the super.execute() method

prepare()

Create the security group and the keypair

It can be overriden to set other rules according to the services running in the VM

Raises: Exception on error

volume_timeout = 60