The heat_integrationtests.scenario.test_autoscaling_lbv2 Module

class heat_integrationtests.scenario.test_autoscaling_lbv2.AutoscalingLoadBalancerv2Test(*args, **kwargs)[source]

Bases: heat_integrationtests.scenario.scenario_base.ScenarioTestsBase

The class is responsible for testing ASG + LBv2 scenario.

The very common use case tested is an autoscaling group of some web application servers behind a loadbalancer.

check_num_responses(url, expected_num, retries=20)[source]
setUp()[source]
test_autoscaling_loadbalancer_neutron()[source]

Check work of AutoScaing and Neutron LBaaS v2 resource in Heat.

The scenario is the following:
  1. Launch a stack with a load balancer and autoscaling group of one server, wait until stack create is complete.
  2. Check that there is only one distinctive response from loadbalanced IP.
  3. Signal the scale_up policy, wait until all resources in autoscaling group are complete.
  4. Check that now there are two distinctive responses from loadbalanced IP.

Previous topic

The heat_integrationtests.scenario.test_autoscaling_lb Module

Next topic

The heat_integrationtests.scenario.test_server_cfn_init Module

Project Source

This Page