octavia_tempest_plugin.tests.scenario.v2 package
this page last updated: 2019-07-24 07:21:42.107236
octavia_tempest_plugin.tests.scenario.v2 package
Submodules
octavia_tempest_plugin.tests.scenario.v2.test_amphora module
-
class
AmphoraScenarioTest
(*args, **kwargs)[source]
Bases: octavia_tempest_plugin.tests.test_base.LoadBalancerBaseTest
Test the amphora object API.
-
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_amphora_list_and_show
()[source]
Test idempotent id: a0e9ff99-2c4f-45d5-81c9-78d3107c236f
Tests amphora show API.
- Show amphora details.
- Validate the show reflects the requested values.
- Validates that other accounts cannot see the amphora.
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_mixed_ipv4_ipv6_members_traffic
()[source]
Test idempotent id: 219ac17d-c5c1-4e7e-a9d5-0764d7ce7746
Tests traffic through a loadbalancer with IPv4 and IPv6 members.
- Set up members on a loadbalancer.
- Test traffic to ensure it is balanced properly.
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_member module
-
class
MemberScenarioTest
(*args, **kwargs)[source]
Bases: octavia_tempest_plugin.tests.test_base.LoadBalancerBaseTest
-
classmethod
resource_setup
()[source]
Setup 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.
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
Tests sending traffic through a loadbalancer
- Set up members on a loadbalancer.
- Test traffic to ensure it is balanced properly.
-
test_healthmonitor_traffic
()[source]
Test idempotent id: a16f8eb4-a77c-4b0e-8b1b-91c237039713
Tests traffic is correctly routed based on healthmonitor status
- Create three members:
* One should be working, and ONLINE with a healthmonitor (passing)
* One should be working, and ERROR with a healthmonitor (failing)
* One should be disabled, and OFFLINE with a healthmonitor
- Verify members are in their correct respective operating statuses.
- Verify that traffic is balanced evenly between the working members.
- Create a fully populated healthmonitor.
- Verify members are in their correct respective operating statuses.
- Verify that traffic is balanced unevenly.
- Delete the healthmonitor.
- Verify members are in their correct respective operating statuses.
- Verify that traffic is balanced evenly between the working members.
-
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_mixed_ipv4_ipv6_members_traffic
()[source]
Test idempotent id: 20b6b671-0101-4bed-a249-9af6ee3aa6d9
Tests traffic through a loadbalancer with IPv4 and IPv6 members.
- Set up members on a loadbalancer.
- Test traffic to ensure it is balanced properly.
Module contents
this page last updated: 2019-07-24 07:21:42.107236