functest.opnfv_tests.openstack.vping.vping_ssh module¶
vPingSSH testcase.
-
class
functest.opnfv_tests.openstack.vping.vping_ssh.
VPingSSH
(**kwargs)¶ Bases:
functest.core.singlevm.SingleVm2
VPingSSH testcase implementation.
Class to execute the vPing test using a Floating IP to connect to one VM to issue the ping command to the second
-
clean
()¶ Clean the resources.
It can be overriden if resources must be deleted after running the test case.
-
execute
()¶ Ping the second VM
Returns: ping exit codes
-
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
-