The heat.tests.functional.util Module

class heat.tests.functional.util.Instance(testcase, instance_name, stackname='teststack')[source]

Bases: object

check_cfntools()[source]
check_user_data(template_file)[source]
close_ssh_client()[source]
exec_command(cmd)[source]
exec_sudo_command(cmd)[source]
exists()[source]
file_present(path)[source]
floating_ip_present()[source]
wait_for_boot()[source]
wait_for_provisioning()[source]
class heat.tests.functional.util.Stack(testcase, template_file, distribution, arch, jeos_type, stack_paramstr, stackname='teststack')[source]

Bases: object

check_stackid(stack_id)[source]
cleanup()[source]
create()[source]
format_parameters()[source]
get_stack_output(output_key)[source]

Extract a specified output from the DescribeStacks details

get_state()[source]
instance_phys_ids()[source]
poll_glance(imagename, block)[source]
prepare_jeos(p_os, arch, type)[source]
response_xml_item(response, prefix, key)[source]

Extract response item via xpath prefix and key name we expect the prefix to map to a single Element item

update()[source]
class heat.tests.functional.util.StackBoto(testcase, template_file, distribution, arch, jeos_type, stack_paramstr, stackname='teststack')[source]

Bases: heat.tests.functional.util.Stack

Version of the Stack class which uses the boto client (hence AWS auth and the CFN API).

get_state()[source]
instance_phys_ids()[source]
heat.tests.functional.util.add_host(ip, hostname)[source]
heat.tests.functional.util.remove_host(ip, hostname)[source]

This Page