octavia_tempest_plugin.tests.api.v2 package

octavia_tempest_plugin.tests.api.v2 package

Submodules

octavia_tempest_plugin.tests.api.v2.test_amphora module

class AmphoraAPITest(*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_admin_log(**kwargs)[source]

Test idempotent id: 4e3c6fcb-5f83-4da1-8296-56f209eae30d

Tests admin log offloading

  • Create a listener
  • Validates the listener config log message is present
test_amphora_failover()[source]

Test idempotent id: fb772680-b2ba-4fc3-989b-95ad8492ccaf

Tests the amphora failover API.

  • Validates that non-admin accounts cannot failover amphora
  • Fails over an amphora
  • Validates that a new amphora is built
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.
test_amphora_update()[source]

Test idempotent id: b7fc231b-dcfa-47a5-99f3-ec5ddcc48f30

Tests the amphora agent configuration update API

  • Tests that users without the loadbalancer admin role cannot update an amphora.
  • Update the amphora.

octavia_tempest_plugin.tests.api.v2.test_availability_zone module

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

Bases: octavia_tempest_plugin.tests.test_base.LoadBalancerBaseTest

Test the availability zone 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_availability_zone_create()[source]

Test idempotent id: 3899ef15-37c3-48a3-807f-8bb10bd295f0

Tests availability zone create and basic show APIs.

  • Tests that users without the loadbalancer admin role cannot create an availability zone.
  • Create a fully populated availability zone.
  • Validate the response reflects the requested values.
test_availability_zone_delete()[source]

Test idempotent id: 11585b33-2689-4693-be3b-26b210bb7fc5

Tests availability zone create and delete APIs.

  • Creates an availability zone.
  • Validates that other accounts cannot delete the availability zone.
  • Deletes the availability zone.
  • Validates the availability zone no longer exists.
test_availability_zone_list()[source]

Test idempotent id: bba84c0c-2832-4c4c-90ff-d28acfe4ae36

Tests availability zone list API and field filtering.

  • Create three availability zones.
  • Validates that non-admin accounts cannot list the availability zones.
  • List the availability zones using the default sort order.
  • List the availability zones using descending sort order.
  • List the availability zones using ascending sort order.
  • List the availability zones returning one field at a time.
  • List the availability zones returning two fields.
  • List the availability zones filtering to one of the three.
  • List the availability zones filtered, one field, and sorted.
test_availability_zone_show()[source]

Test idempotent id: 4fa77f96-ba75-4255-bef8-6710cd7cb762

Tests availability zone show API.

  • Create a fully populated availability zone.
  • Validate that non-lb-admin accounts cannot see the availability zone.
  • Show availability zone details.
  • Validate the show reflects the requested values.
test_availability_zone_update()[source]

Test idempotent id: 9c466b9f-b70a-456d-9172-eb79b7820c7f

Tests availability zone update API.

  • Create a fully populated availability zone.
  • Show availability zone details.
  • Validate the show reflects the initial values.
  • Validate that non-admin accounts cannot update the availability zone.
  • Update the availability zone details.
  • Show availability zone details.
  • Validate the show reflects the updated values.

octavia_tempest_plugin.tests.api.v2.test_availability_zone_capabilities module

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

Bases: octavia_tempest_plugin.tests.test_base.LoadBalancerBaseTest

Test the provider availability zone capabilities API.

test_availability_zone_capabilities_list()[source]

Test idempotent id: cb3e4c59-4114-420b-9837-2666d4d5fef4

Tests provider availability zone capabilities list API/filtering.

  • Validates that non-lb admin accounts cannot list the capabilities.
  • List the availability zone capablilities.
  • Validate that the “loadbalancer_topology” capablility is present.
  • List the providers returning one field at a time.

octavia_tempest_plugin.tests.api.v2.test_availability_zone_profile module

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

Bases: octavia_tempest_plugin.tests.test_base.LoadBalancerBaseTest

Test the availability zone profile object API.

classmethod skip_checks()[source]

Check if we should skip all of the children tests.

test_availability_zone_profile_create()[source]

Test idempotent id: e512b580-ef32-44c3-bbd2-efdc27ba2ea6

Tests availability zone profile create and basic show APIs.

  • Tests that users without the loadbalancer admin role cannot create availability zone profiles.
  • Create a fully populated availability zone profile.
  • Validate the response reflects the requested values.
test_availability_zone_profile_delete()[source]

Test idempotent id: 371cee1d-3404-4744-b5c5-8a3d37aa8425

Tests availability zone profile create and delete APIs.

  • Creates an availability zone profile profile.
  • Validates that other accounts cannot delete the availability zone profile.
  • Deletes the availability zone profile.
  • Validates the availability zone profile is in the DELETED state.
test_availability_zone_profile_list()[source]

Test idempotent id: ef7d1c45-e312-46ce-8dcb-f2fe26295658

Tests availability zone profile list API and field filtering.

  • Create three availability zone profiles.
  • Validates that non-admin accounts cannot list the availability zone profiles.
  • List the availability zone profiles using the default sort order.
  • List the availability zone profiles using descending sort order.
  • List the availability zone profiles using ascending sort order.
  • List the availability zone profiles returning one field at a time.
  • List the availability zone profiles returning two fields.
  • List the availability zone profiles filtering to one of the three.
  • List the availability zone profiles filtered, one field, and sorted.
test_availability_zone_profile_show()[source]

Test idempotent id: 379d92dc-7f6d-4674-ae6f-b3aa2120c677

Tests availability zone profile show API.

  • Create a fully populated availability zone profile.
  • Show availability zone profile details.
  • Validate the show reflects the requested values.
  • Validates that non-lb-admin accounts cannot see the availability zone profile.
test_availability_zone_profile_update()[source]

Test idempotent id: 7121d4c0-f751-4b4e-a4c1-ab06c27a54a4

Tests availability zone profile update API.

  • Create a fully populated availability zone profile.
  • Show availability zone profile details.
  • Validate the show reflects the initial values.
  • Validates that non-admin accounts cannot update the availability zone profile.
  • Update the availability zone profile details.
  • Show availability zone profile details.
  • Validate the show reflects the updated values.

octavia_tempest_plugin.tests.api.v2.test_flavor module

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

Bases: octavia_tempest_plugin.tests.test_base.LoadBalancerBaseTest

Test the flavor object API.

classmethod resource_setup()[source]

Setup resources needed by the tests.

test_flavor_create()[source]

Test idempotent id: 7e8f39ce-53e0-4364-8778-6da9b9a59e5a

Tests flavor create and basic show APIs.

  • Tests that users without the loadbalancer admin role cannot create a flavor.
  • Create a fully populated flavor.
  • Validate the response reflects the requested values.
test_flavor_delete()[source]

Test idempotent id: dfe9173a-26f3-4bba-9e69-d2b817ff2b86

Tests flavor create and delete APIs.

  • Creates a flavor.
  • Validates that other accounts cannot delete the flavor.
  • Deletes the flavor.
  • Validates the flavor no longer exists.
test_flavor_list()[source]

Test idempotent id: 3ef040ee-fe7e-457b-a56f-8b152f7afa3b

Tests flavor list API and field filtering.

  • Create three flavors.
  • Validates that non-admin accounts cannot list the flavors.
  • List the flavors using the default sort order.
  • List the flavors using descending sort order.
  • List the flavors using ascending sort order.
  • List the flavors returning one field at a time.
  • List the flavors returning two fields.
  • List the flavors filtering to one of the three.
  • List the flavors filtered, one field, and sorted.
test_flavor_show()[source]

Test idempotent id: 7492a862-4011-4924-8e81-70763f479cf8

Tests flavor show API.

  • Create a fully populated flavor.
  • Validates that non-lb-admin accounts cannot see the flavor.
  • Show flavor details.
  • Validate the show reflects the requested values.
test_flavor_update()[source]

Test idempotent id: 3d9e2820-a68e-4db9-bf94-53cbcff2dc15

Tests flavor update API.

  • Create a fully populated flavor.
  • Show flavor details.
  • Validate the show reflects the initial values.
  • Validates that non-admin accounts cannot update the flavor.
  • Update the flavor details.
  • Show flavor details.
  • Validate the show reflects the updated values.

octavia_tempest_plugin.tests.api.v2.test_flavor_capabilities module

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

Bases: octavia_tempest_plugin.tests.test_base.LoadBalancerBaseTest

Test the provider flavor capabilities API.

test_flavor_capabilities_list()[source]

Test idempotent id: df837ee3-ca4b-4a4d-a7a3-27fa57cf3a33

Tests provider flavor capabilities list API and field filtering.

  • Validates that non-lb admin accounts cannot list the capabilities.
  • List the flavor capablilities.
  • Validate that the “loadbalancer_topology” capablility is present.
  • List the providers returning one field at a time.

octavia_tempest_plugin.tests.api.v2.test_flavor_profile module

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

Bases: octavia_tempest_plugin.tests.test_base.LoadBalancerBaseTest

Test the flavor profile object API.

test_flavor_profile_create()[source]

Test idempotent id: d0e3a08e-d58a-4460-83ed-34307ca04cde

Tests flavor profile create and basic show APIs.

  • Tests that users without the loadbalancer admin role cannot create flavor profiles.
  • Create a fully populated flavor profile.
  • Validate the response reflects the requested values.
test_flavor_profile_delete()[source]

Test idempotent id: 4c2eaacf-c2c8-422a-b7dc-a30ceba6bcd4

Tests flavor profile create and delete APIs.

  • Creates a flavor profile.
  • Validates that other accounts cannot delete the flavor profile.
  • Deletes the flavor profile.
  • Validates the flavor profile is in the DELETED state.
test_flavor_profile_list()[source]

Test idempotent id: c4e17fdf-849a-4132-93ae-dfca21ce4444

Tests flavor profile list API and field filtering.

  • Create three flavor profiles.
  • Validates that non-admin accounts cannot list the flavor profiles.
  • List the flavor profiles using the default sort order.
  • List the flavor profiles using descending sort order.
  • List the flavor profiles using ascending sort order.
  • List the flavor profiles returning one field at a time.
  • List the flavor profiles returning two fields.
  • List the flavor profiles filtering to one of the three.
  • List the flavor profiles filtered, one field, and sorted.
test_flavor_profile_show()[source]

Test idempotent id: a2c2ff9a-fce1-42fd-8cfd-56dea31610f6

Tests flavor profile show API.

  • Create a fully populated flavor profile.
  • Show flavor profile details.
  • Validate the show reflects the requested values.
  • Validates that non-lb-admin accounts cannot see the flavor profile.
test_flavor_profile_update()[source]

Test idempotent id: 32a2e285-8dfc-485f-a450-a4d450d3c3ec

Tests flavor profile update API.

  • Create a fully populated flavor profile.
  • Show flavor profile details.
  • Validate the show reflects the initial values.
  • Validates that non-admin accounts cannot update the flavor profile.
  • Update the flavor profile details.
  • Show flavor profile details.
  • Validate the show reflects the updated values.

octavia_tempest_plugin.tests.api.v2.test_healthmonitor module

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

Bases: octavia_tempest_plugin.tests.test_base.LoadBalancerBaseTest

Test the healthmonitor 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_healthmonitor_create()[source]

Test idempotent id: 30288670-5772-40c2-92e6-6d4a6d62d029

Tests healthmonitor create and basic show APIs.

  • Create a clean pool to use for the healthmonitor.
  • Tests that users without the loadbalancer member role cannot create healthmonitors.
  • Create a fully populated healthmonitor.
  • Show healthmonitor details.
  • Validate the show reflects the requested values.
test_healthmonitor_delete()[source]

Test idempotent id: a7bab4ac-340c-4776-ab9d-9fcb66869432

Tests healthmonitor create and delete APIs.

  • Create a clean pool to use for the healthmonitor.
  • Creates a healthmonitor.
  • Validates that other accounts cannot delete the healthmonitor
  • Deletes the healthmonitor.
  • Validates the healthmonitor is in the DELETED state.
test_healthmonitor_list()[source]

Test idempotent id: c9a9f20c-3680-4ae8-b657-33c687258fea

Tests healthmonitor list API and field filtering.

  • Create three clean pools to use for the healthmonitors.
  • Create three healthmonitors.
  • Validates that other accounts cannot list the healthmonitors.
  • List the healthmonitors using the default sort order.
  • List the healthmonitors using descending sort order.
  • List the healthmonitors using ascending sort order.
  • List the healthmonitors returning one field at a time.
  • List the healthmonitors returning two fields.
  • List the healthmonitors filtering to one of the three.
  • List the healthmonitors filtered, one field, and sorted.
test_healthmonitor_show()[source]

Test idempotent id: 284e8d3b-7b2d-4697-9e41-580b3423c0b4

Tests healthmonitor show API.

  • Create a clean pool to use for the healthmonitor.
  • Create a fully populated healthmonitor.
  • Show healthmonitor details.
  • Validate the show reflects the requested values.
  • Validates that other accounts cannot see the healthmonitor.
test_healthmonitor_update()[source]

Test idempotent id: fa584b2c-f179-4c4e-ad2e-ff51fd1c5973

Tests healthmonitor update and show APIs.

  • Create a clean pool to use for the healthmonitor.
  • Create a fully populated healthmonitor.
  • Show healthmonitor details.
  • Validate the show reflects the initial values.
  • Validates that other accounts cannot update the healthmonitor.
  • Update the healthmonitor details.
  • Show healthmonitor details.
  • Validate the show reflects the updated values.

octavia_tempest_plugin.tests.api.v2.test_l7policy module

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

Bases: octavia_tempest_plugin.tests.test_base.LoadBalancerBaseTest

Test the l7policy 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_l7policy_create_redirect_pool()[source]

Test idempotent id: eba4ddc2-758b-4dd5-bd28-c1b41d6575ca

test_l7policy_create_redirect_url()[source]

Test idempotent id: 2b529135-71bc-46f7-912f-74d238d67190

test_l7policy_create_reject()[source]

Test idempotent id: aa9b0d50-0d16-4365-85eb-846b17eb8398

test_l7policy_delete()[source]

Test idempotent id: 7925eb4b-94b6-4c28-98c2-fd0b4f0976cc

Tests l7policy create and delete APIs.

  • Creates a l7policy.
  • Validates that other accounts cannot delete the l7policy
  • Deletes the l7policy.
  • Validates the l7policy is in the DELETED state.
test_l7policy_list()[source]

Test idempotent id: 42fa14ba-caf1-465e-ab36-27e7501f95ef

Tests l7policy list API and field filtering.

  • Create a clean listener.
  • Create three l7policies.
  • Validates that other accounts cannot list the l7policies.
  • List the l7policies using the default sort order.
  • List the l7policies using descending sort order.
  • List the l7policies using ascending sort order.
  • List the l7policies returning one field at a time.
  • List the l7policies returning two fields.
  • List the l7policies filtering to one of the three.
  • List the l7policies filtered, one field, and sorted.
test_l7policy_show()[source]

Test idempotent id: baaa8104-a037-4976-b908-82a0b3e08129

Tests l7policy show API.

  • Create a fully populated l7policy.
  • Show l7policy details.
  • Validate the show reflects the requested values.
  • Validates that other accounts cannot see the l7policy.
test_l7policy_update()[source]

Test idempotent id: 08f73b22-550b-4e5a-b3d6-2ec03251ca13

Tests l7policy update and show APIs.

  • Create a clean listener.
  • Create a fully populated l7policy.
  • Show l7policy details.
  • Validate the show reflects the initial values.
  • Validates that other accounts cannot update the l7policy.
  • Update the l7policy details.
  • Show l7policy details.
  • Validate the show reflects the updated values.

octavia_tempest_plugin.tests.api.v2.test_l7rule module

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

Bases: octavia_tempest_plugin.tests.test_base.LoadBalancerBaseTest

Test the l7rule 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_l7rule_create()[source]

Test idempotent id: 55ac1337-189d-40a6-b614-47d7a8e991f6

Tests l7rule create and basic show APIs.

  • Tests that users without the loadbalancer member role cannot create l7rules.
  • Create a fully populated l7rule.
  • Show l7rule details.
  • Validate the show reflects the requested values.
test_l7rule_delete()[source]

Test idempotent id: 8e15d68d-70e7-4cf3-82bc-9604384654a0

Tests l7rule create and delete APIs.

  • Creates a l7rule.
  • Validates that other accounts cannot delete the l7rule
  • Deletes the l7rule.
  • Validates the l7rule is in the DELETED state.
test_l7rule_list()[source]

Test idempotent id: 69095254-f106-4fb6-9f54-7a78cc14fb51

Tests l7rule list API and field filtering.

  • Create a clean l7policy.
  • Create three l7rules.
  • Validates that other accounts cannot list the l7rules.
  • List the l7rules using the default sort order.
  • List the l7rules using descending sort order.
  • List the l7rules using ascending sort order.
  • List the l7rules returning one field at a time.
  • List the l7rules returning two fields.
  • List the l7rules filtering to one of the three.
  • List the l7rules filtered, one field, and sorted.
test_l7rule_show()[source]

Test idempotent id: b80b34c3-09fc-467b-8027-7350adb17070

Tests l7rule show API.

  • Create a fully populated l7rule.
  • Show l7rule details.
  • Validate the show reflects the requested values.
  • Validates that other accounts cannot see the l7rule.
test_l7rule_update()[source]

Test idempotent id: f8cee23b-89b6-4f3a-a842-1463daf42cf7

Tests l7rule show API and field filtering.

  • Create a fully populated l7rule.
  • Show l7rule details.
  • Validate the show reflects the initial values.
  • Validates that other accounts cannot update the l7rule.
  • Update the l7rule details.
  • Show l7rule details.
  • Validate the show reflects the initial values.

octavia_tempest_plugin.tests.api.v2.test_listener module

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

Bases: octavia_tempest_plugin.tests.test_base.LoadBalancerBaseTest

Test the listener object API.

classmethod resource_setup()[source]

Setup resources needed by the tests.

test_listener_create()[source]

Test idempotent id: 88d0ec83-7b08-48d9-96e2-0df1d2f8cd98

Tests listener create and basic show APIs.

  • Tests that users without the loadbalancer member role cannot create listeners.
  • Create a fully populated listener.
  • Show listener details.
  • Validate the show reflects the requested values.
test_listener_create_on_same_port()[source]

Test idempotent id: cceac303-4db5-4d5a-9f6e-ff33780a5f29

Tests listener creation on same port number.

  • Create a first listener.
  • Create a new listener on an existing port, but with a different protocol.
  • Create a second listener with the same parameters and ensure that an error is triggered.
  • Create a third listener with another protocol over TCP, and ensure that it fails.
test_listener_delete()[source]

Test idempotent id: 16f11c82-f069-4592-8954-81b35a98e3b7

Tests listener create and delete APIs.

  • Creates a listener.
  • Validates that other accounts cannot delete the listener
  • Deletes the listener.
  • Validates the listener is in the DELETED state.
test_listener_list()[source]

Test idempotent id: 78ba6eb0-178c-477e-9156-b6775ca7b271

Tests listener list API and field filtering.

  • Create a clean loadbalancer.
  • Create three listeners.
  • Validates that other accounts cannot list the listeners.
  • List the listeners using the default sort order.
  • List the listeners using descending sort order.
  • List the listeners using ascending sort order.
  • List the listeners returning one field at a time.
  • List the listeners returning two fields.
  • List the listeners filtering to one of the three.
  • List the listeners filtered, one field, and sorted.
test_listener_show()[source]

Test idempotent id: 6e299eae-6907-4dfc-89c2-e57709d25d3d

Tests listener show API.

  • Create a fully populated listener.
  • Show listener details.
  • Validate the show reflects the requested values.
  • Validates that other accounts cannot see the listener.
test_listener_show_stats()[source]

Test idempotent id: 6f14a6c1-945e-43bc-8215-410c8a5edb25

Tests listener show statistics API.

  • Create a listener.
  • Validates that other accounts cannot see the stats for the
  • listener.
  • Show listener statistics.
  • Validate the show reflects the expected values.
test_listener_update()[source]

Test idempotent id: aaae0298-5778-4c7e-a27a-01549a71b319

Tests listener update and show APIs.

  • Create a fully populated listener.
  • Show listener details.
  • Validate the show reflects the initial values.
  • Validates that other accounts cannot update the listener.
  • Update the listener details.
  • Show listener details.
  • Validate the show reflects the updated values.

octavia_tempest_plugin.tests.api.v2.test_load_balancer module

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

Bases: octavia_tempest_plugin.tests.test_base.LoadBalancerBaseTest

Test the load balancer object API.

test_load_balancer_delete()[source]

Test idempotent id: 643ef031-c800-45f2-b229-3c8f8b37c829

Tests load balancer create and delete APIs.

  • Creates a load balancer.
  • Validates that other accounts cannot delete the load balancer
  • Deletes the load balancer.
  • Validates the load balancer is in the DELETED state.
test_load_balancer_delete_cascade()[source]

Test idempotent id: 643ef031-c800-45f2-b229-3c8f8b37c829

Tests load balancer create and cascade delete APIs.

  • Creates a load balancer.
  • Validates that other accounts cannot delete the load balancer
  • Deletes the load balancer with the cascade parameter.
  • Validates the load balancer is in the DELETED state.
test_load_balancer_failover()[source]

Test idempotent id: fc2e07a6-9776-4559-90c9-141170d4c397

Tests load balancer failover API.

  • Create a load balancer.
  • Validates that other accounts cannot failover the load balancer
  • Wait for the load balancer to go ACTIVE.
  • Failover the load balancer.
  • Wait for the load balancer to go ACTIVE.
test_load_balancer_ipv4_create()[source]

Test idempotent id: 61c6343c-a5d2-4b9f-8c7d-34ea83f0596b

test_load_balancer_ipv6_create()[source]

Test idempotent id: fc9996de-4f55-4fc4-b8ef-a4b9170c7078

test_load_balancer_list()[source]

Test idempotent id: 6546ef3c-c0e2-46af-b892-f795f4d01119

Tests load balancer list API and field filtering.

  • Create three load balancers.
  • Validates that other accounts cannot list the load balancers.
  • List the load balancers using the default sort order.
  • List the load balancers using descending sort order.
  • List the load balancers using ascending sort order.
  • List the load balancers returning one field at a time.
  • List the load balancers returning two fields.
  • List the load balancers filtering to one of the three.
  • List the load balancers filtered, one field, and sorted.
test_load_balancer_show()[source]

Test idempotent id: 826ae612-8717-4c64-a8a7-cb9570a85870

Tests load balancer show API.

  • Create a fully populated load balancer.
  • Show load balancer details.
  • Validate the show reflects the requested values.
  • Validates that other accounts cannot see the load balancer.
test_load_balancer_show_stats()[source]

Test idempotent id: 105afcba-4dd6-46d6-8fa4-bd7330aa1259

Tests load balancer show statistics API.

  • Create a load balancer.
  • Validates that other accounts cannot see the stats for the
  • load balancer.
  • Show load balancer statistics.
  • Validate the show reflects the expected values.
test_load_balancer_show_status()[source]

Test idempotent id: 60acc1b0-fa46-41f8-b526-c81ae2f42c30

Tests load balancer show status tree API.

  • Create a load balancer.
  • Validates that other accounts cannot see the status for the
  • load balancer.
  • Show load balancer status tree.
  • Validate the show reflects the expected values.
test_load_balancer_update()[source]

Test idempotent id: b75a4d15-49d2-4149-a745-635eed1aacc3

Tests load balancer update and show APIs.

  • Create a fully populated load balancer.
  • Show load balancer details.
  • Validate the show reflects the initial values.
  • Validates that other accounts cannot update the load balancer.
  • Update the load balancer details.
  • Show load balancer details.
  • Validate the show reflects the updated values.

octavia_tempest_plugin.tests.api.v2.test_member module

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

Bases: octavia_tempest_plugin.tests.test_base.LoadBalancerBaseTest

Test the member object API.

classmethod resource_setup()[source]

Setup resources needed by the tests.

test_member_batch_update()[source]

Test idempotent id: 83e0a9f2-491f-46a8-b3ce-6969d70a4e9f

Tests member batch update.

  • Create two members.
  • Batch update the members so one is deleted, created, and updated
  • Validate the member list is correct.
test_member_delete()[source]

Test idempotent id: f129ba5e-a16e-4178-924f-6a9c5b8b1589

Tests member create and delete APIs.

  • Creates a member.
  • Validates that other accounts cannot delete the member
  • Deletes the member.
  • Validates the member is in the DELETED state.
test_member_ipv4_create()[source]

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

test_member_ipv6_create()[source]

Test idempotent id: 141944cc-5e2c-4e83-88f8-f61a6797c9b7

test_member_list()[source]

Test idempotent id: 9ce7ad78-915b-42ce-b0d8-44d88a929f3d

Tests member list API and field filtering.

  • Create a clean pool.
  • Create three members.
  • Validates that other accounts cannot list the members.
  • List the members using the default sort order.
  • List the members using descending sort order.
  • List the members using ascending sort order.
  • List the members returning one field at a time.
  • List the members returning two fields.
  • List the members filtering to one of the three.
  • List the members filtered, one field, and sorted.
test_member_show()[source]

Test idempotent id: 7674ae04-7e92-44ef-9adf-40718d7ec705

Tests member show API.

  • Create a fully populated member.
  • Show member details.
  • Validate the show reflects the requested values.
  • Validates that other accounts cannot see the member.
test_member_update()[source]

Test idempotent id: c07572b8-e853-48f3-a8ea-37fc293a4724

Tests member show API and field filtering.

  • Create a fully populated member.
  • Show member details.
  • Validate the show reflects the initial values.
  • Validates that other accounts cannot update the member.
  • Update the member details.
  • Show member details.
  • Validate the show reflects the initial values.

octavia_tempest_plugin.tests.api.v2.test_pool module

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

Bases: octavia_tempest_plugin.tests.test_base.LoadBalancerBaseTest

Test the pool object API.

classmethod resource_setup()[source]

Setup resources needed by the tests.

test_pool_create_standalone()[source]

Test idempotent id: 7587fe48-87ba-4538-9f03-190911f100ff

test_pool_create_with_listener()[source]

Test idempotent id: c9c0df79-f07e-428c-ae57-b9d4078eec79

test_pool_delete()[source]

Test idempotent id: 35ed3800-7a4a-47a6-9b94-c1033fff1112

Tests pool create and delete APIs.

  • Creates a pool.
  • Validates that other accounts cannot delete the pool
  • Deletes the pool.
  • Validates the pool is in the DELETED state.
test_pool_list()[source]

Test idempotent id: 6959a32e-fb34-4f3e-be68-8880c6450016

Tests pool list API and field filtering.

  • Create a clean loadbalancer.
  • Create three pools.
  • Validates that other accounts cannot list the pools.
  • List the pools using the default sort order.
  • List the pools using descending sort order.
  • List the pools using ascending sort order.
  • List the pools returning one field at a time.
  • List the pools returning two fields.
  • List the pools filtering to one of the three.
  • List the pools filtered, one field, and sorted.
test_pool_show()[source]

Test idempotent id: b7932438-1aea-4175-a50c-984fee1c0cad

Tests pool show API.

  • Create a fully populated pool.
  • Show pool details.
  • Validate the show reflects the requested values.
  • Validates that other accounts cannot see the pool.
test_pool_update()[source]

Test idempotent id: 7bd0a6bf-57b4-46a6-83ef-f9991896658a

Tests pool update and show APIs.

  • Create a fully populated pool.
  • Show pool details.
  • Validate the show reflects the initial values.
  • Validates that other accounts cannot update the pool.
  • Update the pool details.
  • Show pool details.
  • Validate the show reflects the updated values.

octavia_tempest_plugin.tests.api.v2.test_provider module

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

Bases: octavia_tempest_plugin.tests.test_base.LoadBalancerBaseTest

Test the provider object API.

test_provider_list()[source]

Test idempotent id: 8b94e0cc-a24d-4c29-bc8e-53f58214dc67

Tests provider list API and field filtering.

  • Validates that non-lb member accounts cannot list the providers.
  • List the providers and validate against the expected provider list.
  • List the providers returning one field at a time.

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.