3.1.16. Add floating IP address

 
MethodURIDescription
POST/v2/{tenant_id}/servers/{server_id}/action

Adds a floating IP address to an instance.

You can optionally associate a fixed IP address with the floating IP address.

Normal response codes: 200

 3.1.16.1. Request

This table shows the URI parameters for the add floating ip address request:

NameTypeDescription

{tenant_id}

​String

The ID for the tenant or account in a multi-tenancy cloud.

{server_id}

​U​U​ID

The UUID for the server of interest to you.

 

Example 3.33. Add floating IP address: JSON request

{
   "addFloatingIp":{
      "fixed_address":"166.78.185.201",
      "address":"172.24.4.225"
   }
}

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page


loading table of contents...