compute.floating_ips package

Submodules

compute.floating_ips.base module

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

Bases: BaseV2ComputeTest

compute.floating_ips.test_floating_ips_actions module

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

Bases: BaseFloatingIPsTest

Test floating ips association with microversion less than 2.44

test_associate_already_associated_floating_ip()[source]

Test idempotent id: 6edef4b2-aaf1-4abc-bbe3-993e2561e0fe

Test associating an already associated floating ip

First associate a floating ip to server1, then associate the floating ip to server2, the floating ip will be associated to server2 and no longer associated to server1.

test_associate_disassociate_floating_ip()[source]

Test idempotent id: 307efa27-dc6f-48a0-8cd2-162ce3ef0b52

Test associate/disassociate floating ip to a server

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

Bases: BaseFloatingIPsTest

Test floating ips API with compute microversion less than 2.36

test_allocate_floating_ip()[source]

Test idempotent id: f7bfb946-297e-41b8-9e8c-aba8e9bb5194

Test allocating a floating ip to a project

test_delete_floating_ip()[source]

Test idempotent id: de45e989-b5ca-4a9b-916b-04a52e7bbb8b

Test deleting a valid floating ip from project

compute.floating_ips.test_floating_ips_actions_negative module

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

Bases: BaseFloatingIPsTest

Test floating ips API with compute microversion less than 2.44

test_associate_ip_to_server_with_floating_ip()[source]

Test idempotent id: 58a80596-ffb2-11e6-9393-fa163e4fa634

Test associating floating ip to server already with floating ip

  1. The VM have one port

  2. Associate floating IP A to the VM

  3. Associate floating IP B which is from same pool with floating IP A to the VM, should raise BadRequest exception

test_associate_ip_to_server_without_passing_floating_ip()[source]

Test idempotent id: 804b4fcb-bbf5-412f-925d-896672b61eb3

Test associating empty floating ip to server should fail

test_associate_nonexistent_floating_ip()[source]

Test idempotent id: 595fa616-1a71-4670-9614-46564ac49a4c

Test associating non existent floating ip to server should fail

test_dissociate_nonexistent_floating_ip()[source]

Test idempotent id: 0a081a66-e568-4e6b-aa62-9587a876dca8

Test dissociating non existent floating ip should fail

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

Bases: BaseFloatingIPsTest

Test floating ips API with compute microversion less than 2.36

test_allocate_floating_ip_from_nonexistent_pool()[source]

Test idempotent id: 6e0f059b-e4dd-48fb-8207-06e3bba5b074

Test allocating floating ip from non existent pool should fail

test_delete_nonexistent_floating_ip()[source]

Test idempotent id: ae1c55a8-552b-44d4-bfb6-2a115a15d0ba

Test deleting non existent floating ip should fail

compute.floating_ips.test_list_floating_ips module

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

Bases: BaseFloatingIPsTest

Test floating ip details with compute microversion less than 2.36

test_get_floating_ip_details()[source]

Test idempotent id: eef497e0-8ff7-43c8-85ef-558440574f84

Test getting floating ip details

test_list_floating_ips()[source]

Test idempotent id: 16db31c3-fb85-40c9-bbe2-8cf7b67ff99f

Test listing floating ips

compute.floating_ips.test_list_floating_ips_negative module

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

Bases: BaseFloatingIPsTest

Negative tests of floating ip detail

Negative tests of floating ip detail with compute microversion less than 2.36.

test_get_nonexistent_floating_ip_details()[source]

Test idempotent id: 7ab18834-4a4b-4f28-a2c5-440579866695

Test getting non existent floating ip should fail

Module contents