octavia_tempest_plugin.tests.api.v2 package

octavia_tempest_plugin.tests.api.v2 package

Submodules

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 show API and field filtering.

  • 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 initial values.

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.