Floating IP API reference¶
See https://docs.openstack.org/api-ref/network/.
In these methods, {floating_ip_id}
is the ID of the floating IP, {server_id}
is the ID of the instance, and "floating_ip_address"
is the actual floating IP address. These endpoints allow you to list available floating IPs, allocate new floating IPs from a pool, associate and disassociate floating IPs with instances, and release floating IPs when they are no longer needed.
List floating IPs¶
Show floating IP details¶
Allocate a floating IP¶
Request body
- The
"pool"
attribute specifies the name of the floating IP pool from which to allocate the IP.
Associate a floating IP with an instance¶
Request body
{server_id}
is the ID of the instance, and"address"
is the floating IP address to associate.
Disassociate a floating IP from an instance¶
Request body