octavia_tempest_plugin.tests.scenario.v2 package

octavia_tempest_plugin.tests.scenario.v2 package

Submodules

octavia_tempest_plugin.tests.scenario.v2.test_healthmonitor module

class HealthMonitorScenarioTest(*args, **kwargs)[source]

Bases: octavia_tempest_plugin.tests.test_base.LoadBalancerBaseTest

classmethod resource_setup()[source]

Setup resources needed by the tests.

classmethod skip_checks()[source]

Check if we should skip all of the children tests.

test_healthmonitor_CRUD()[source]

Test idempotent id: a51e09aa-6e44-4c67-a9e4-df70d0e08f96

Tests healthmonitor create, read, update, delete, and member status

  • Create a fully populated healthmonitor.
  • Show healthmonitor details.
  • Update the healthmonitor.
  • Delete the healthmonitor.

octavia_tempest_plugin.tests.scenario.v2.test_ipv6_traffic_ops module

class IPv6TrafficOperationsScenarioTest(*args, **kwargs)[source]

Bases: octavia_tempest_plugin.tests.test_base.LoadBalancerBaseTestWithCompute

Test traffic operations with an IPv6 VIP.

classmethod resource_setup()[source]

Setup resources needed by the tests.

classmethod skip_checks()[source]

Check if we should skip all of the children tests.

test_ipv6_vip_ipv6_members_traffic()[source]

Test idempotent id: dd75f41a-5b29-47ad-963d-3434f1056ca3

test_ipv6_vip_ipv6_members_udp_traffic()[source]

Test idempotent id: 26317013-a9b5-4a00-a993-d4c55b764e40

test_ipv6_vip_mixed_ipv4_ipv6_members_traffic()[source]

Test idempotent id: 219ac17d-c5c1-4e7e-a9d5-0764d7ce7746

test_ipv6_vip_mixed_ipv4_ipv6_members_udp_traffic(**func_kwargs)[source]

Test idempotent id: c468434d-bc84-4bfa-825f-d4761daa0d76

test_listener_with_allowed_cidrs()[source]

Test idempotent id: 84b23f68-4bc3-49e5-8372-60c25fe69613

Tests traffic through a loadbalancer with allowed CIDRs set.

  • Set up listener with allowed CIDRS (allow all) on a loadbalancer.
  • Set up pool on a loadbalancer
  • Set up members on a loadbalancer.
  • Test traffic to ensure it is balanced properly.
  • Update allowed CIDRs to restrict traffic to a small subnet.
  • Assert loadbalancer does not respond to client requests.

octavia_tempest_plugin.tests.scenario.v2.test_l7policy module

class L7PolicyScenarioTest(*args, **kwargs)[source]

Bases: octavia_tempest_plugin.tests.test_base.LoadBalancerBaseTest

classmethod resource_setup()[source]

Setup resources needed by the tests.

classmethod skip_checks()[source]

Check if we should skip all of the children tests.

test_l7policy_CRUD()[source]

Test idempotent id: ffd598d9-d8cd-4586-a749-cde4897e64dd

Tests l7policy create, read, update, delete

  • Create a fully populated l7policy.
  • Show l7policy details.
  • Update the l7policy.
  • Delete the l7policy.

octavia_tempest_plugin.tests.scenario.v2.test_l7rule module

class L7RuleScenarioTest(*args, **kwargs)[source]

Bases: octavia_tempest_plugin.tests.test_base.LoadBalancerBaseTest

classmethod resource_setup()[source]

Setup resources needed by the tests.

classmethod skip_checks()[source]

Check if we should skip all of the children tests.

test_l7rule_CRUD()[source]

Test idempotent id: a1c268b9-5304-48c7-9a34-0ef0e8e9307e

Tests l7rule create, read, update, delete

  • Create a fully populated l7rule.
  • Show l7rule details.
  • Update the l7rule.
  • Delete the l7rule.

octavia_tempest_plugin.tests.scenario.v2.test_listener module

class ListenerScenarioTest(*args, **kwargs)[source]

Bases: octavia_tempest_plugin.tests.test_base.LoadBalancerBaseTest

classmethod resource_setup()[source]

Setup resources needed by the tests.

test_listener_CRUD()[source]

Test idempotent id: 4a874014-b7d1-49a4-ac9a-2400b3434700

Tests listener create, read, update, delete

  • Create a fully populated listener.
  • Show listener details.
  • Update the listener.
  • Delete the listener.

octavia_tempest_plugin.tests.scenario.v2.test_load_balancer module

class LoadBalancerScenarioTest(*args, **kwargs)[source]

Bases: octavia_tempest_plugin.tests.test_base.LoadBalancerBaseTest

classmethod resource_setup()[source]

Setup resources needed by the tests.

test_load_balancer_ipv4_CRUD()[source]

Test idempotent id: a5e2e120-4f7e-4c8b-8aac-cf09cb56711c

test_load_balancer_ipv6_CRUD()[source]

Test idempotent id: 86ffecc4-dce8-46f9-936e-8a4c6bcf3959

octavia_tempest_plugin.tests.scenario.v2.test_member module

class MemberScenarioTest(*args, **kwargs)[source]

Bases: octavia_tempest_plugin.tests.test_base.LoadBalancerBaseTest

member_address = '2001:db8:0:0:0:0:0:1'
classmethod resource_setup()[source]

Setup shared resources needed by the tests.

test_member_CRUD()[source]

Test idempotent id: 15c8c3e3-569c-4029-95df-a9f72049e267

Tests member create, read, update, delete

  • Create a fully populated member.
  • Show member details.
  • Update the member.
  • Delete the member.
test_mixed_member_create()[source]

Test idempotent id: b8afb91d-9b85-4569-85c7-03453df8990b

Test the member creation with mixed IP protocol members/VIP.

test_mixed_udp_member_create(**func_kwargs)[source]

Test idempotent id: 0623aa1f-753d-44e7-afa1-017d274eace7

Test the member creation with mixed IP protocol members/VIP.

octavia_tempest_plugin.tests.scenario.v2.test_pool module

class PoolScenarioTest(*args, **kwargs)[source]

Bases: octavia_tempest_plugin.tests.test_base.LoadBalancerBaseTest

classmethod resource_setup()[source]

Setup resources needed by the tests.

test_pool_standalone_CRUD()[source]

Test idempotent id: dfa120bf-81b9-4f22-bb5e-7df660c18173

test_pool_with_listener_CRUD()[source]

Test idempotent id: 087da8ab-79c7-48ba-871c-5769185cea3e

octavia_tempest_plugin.tests.scenario.v2.test_traffic_ops module

class TrafficOperationsScenarioTest(*args, **kwargs)[source]

Bases: octavia_tempest_plugin.tests.test_base.LoadBalancerBaseTestWithCompute

classmethod resource_setup()[source]

Setup resources needed by the tests.

test_basic_traffic()[source]

Test idempotent id: 6751135d-e15a-4e22-89f4-bfcc3408d424

test_basic_udp_traffic()[source]

Test idempotent id: 1e459663-2315-4067-bb47-c8a72f4928f0

test_healthmonitor_traffic()[source]

Test idempotent id: a16f8eb4-a77c-4b0e-8b1b-91c237039713

test_healthmonitor_udp_traffic()[source]

Test idempotent id: 80b86513-1a76-4e42-91c9-cb23c879e536

test_l7policies_and_l7rules()[source]

Test idempotent id: 3558186d-6dcd-4d9d-b7f7-adc190b66149

Tests sending traffic through a loadbalancer with l7rules

  • Create an extra pool.
  • Put one member on the default pool, and one on the second pool.
  • Create a policy/rule to redirect to the second pool.
  • Create a policy/rule to redirect to the identity URI.
  • Create a policy/rule to reject connections.
  • Test traffic to ensure it goes to the correct place.
test_listener_with_allowed_cidrs()[source]

Test idempotent id: 13b0f2de-9934-457b-8be0-f1bffc6915a0

Tests traffic through a loadbalancer with allowed CIDRs set.

  • Set up listener with allowed CIDRS (allow all) on a loadbalancer.
  • Set up pool on a loadbalancer
  • Set up members on a loadbalancer.
  • Test traffic to ensure it is balanced properly.
  • Update allowed CIDRs to restrict traffic to a small subnet.
  • Assert loadbalancer does not respond to client requests.
test_mixed_ipv4_ipv6_members_traffic()[source]

Test idempotent id: 20b6b671-0101-4bed-a249-9af6ee3aa6d9

test_mixed_ipv4_ipv6_members_udp_traffic(**func_kwargs)[source]

Test idempotent id: 56823616-34e1-4e17-beb9-15dd6b1593af

test_tenant_flow_log(**kwargs)[source]

Test idempotent id: 571dddd9-f5bd-404e-a799-9df7ac9e2fa9

Tests tenant flow log offloading

  • Set up a member on a loadbalancer.
  • Sends a request to the load balancer.
  • Validates the flow log record for the request.

Module contents

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.