compute.floating_ips package¶
Submodules¶
compute.floating_ips.base module¶
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.
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
The VM have one port
Associate floating IP A to the VM
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
- class FloatingIPsNegativeTestJSON(*args, **kwargs)[source]¶
Bases:
BaseFloatingIPsTest
Test floating ips API with compute microversion less than 2.36