functest.core.cloudify module¶
Cloudify testcase implementation.
-
class
functest.core.cloudify.Cloudify(**kwargs)¶ Bases:
functest.core.singlevm.SingleVm2Cloudify Orchestrator Case.
-
cloudify_archive= '/home/opnfv/functest/images/cloudify-docker-manager-community-19.01.24.tar'¶
-
cloudify_container= 'docker-cfy-manager:latest'¶
-
create_server_timeout= 600¶
-
execute()¶ Deploy Cloudify Manager.
-
filename= '/home/opnfv/functest/images/ubuntu-16.04-server-cloudimg-amd64-disk1.img'¶
-
flavor_disk= 40¶
-
flavor_ram= 4096¶
-
flavor_vcpus= 2¶
-
ports= [80, 443, 5671, 53333]¶
-
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
-
ssh_connect_loops= 12¶
-
username= 'ubuntu'¶
-
-
functest.core.cloudify.get_execution_id(client, deployment_id)¶ Get the execution id of a env preparation.
network, security group, fip, VM creation
-
functest.core.cloudify.wait_for_execution(client, execution, logger, timeout=3600)¶ Wait for a workflow execution on Cloudify Manager.