Package org.openstack4j.api.compute
Interface ComputeFloatingIPService
-
- All Superinterfaces:
RestService
- All Known Implementing Classes:
ComputeFloatingIPServiceImpl
@Deprecated public interface ComputeFloatingIPService extends RestService
Deprecated.This API is a proxy call to the Network service. Nova has deprecated all the proxy APIs and users should use the native APIs instead. This API will fail with a 404 starting from microversion 2.36.OpenStack Compute Floating-IP Operation API.- Author:
- Nathan Anderson
- See Also:
NetFloatingIPService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ActionResponseaddFloatingIP(String serverId, String ipAddress)Deprecated.Adds floating-ip to server.ActionResponseaddFloatingIP(String serverId, String fixedIpAddress, String ipAddress)Deprecated.Adds floating-ip to server.ActionResponseaddFloatingIP(Server server, String ipAddress)Deprecated.Adds floating-ip to server.ActionResponseaddFloatingIP(Server server, String fixedIpAddress, String ipAddress)Deprecated.Adds floating-ip to server.FloatingIPallocateIP(String pool)Deprecated.Allocate a floating ip address to tenant.ActionResponsedeallocateIP(String id)Deprecated.Deallocate ip address from tenant.List<String>getPoolNames()Deprecated.Lists the current Floating IP Pool NamesList<? extends FloatingIP>list()Deprecated.List floating ips associated with current tenant.ActionResponseremoveFloatingIP(String serverId, String ipAddress)Deprecated.Remove floating-ip from serverActionResponseremoveFloatingIP(Server server, String ipAddress)Deprecated.Remove floating-ip from server
-
-
-
Method Detail
-
list
List<? extends FloatingIP> list()
Deprecated.List floating ips associated with current tenant.- Returns:
- the list extends floating i p>
-
getPoolNames
List<String> getPoolNames()
Deprecated.Lists the current Floating IP Pool Names- Returns:
- List of floating IP pool names
-
allocateIP
FloatingIP allocateIP(String pool)
Deprecated.Allocate a floating ip address to tenant.- Parameters:
pool- the pool- Returns:
- the floating ip
-
deallocateIP
ActionResponse deallocateIP(String id)
Deprecated.Deallocate ip address from tenant.- Parameters:
id- the id of floating ip address- Returns:
- the action response
-
addFloatingIP
ActionResponse addFloatingIP(Server server, String fixedIpAddress, String ipAddress)
Deprecated.Adds floating-ip to server.- Parameters:
server- the serverfixedIpAddress- the fixed ip addressipAddress- the ip address- Returns:
- the action response
-
addFloatingIP
ActionResponse addFloatingIP(Server server, String ipAddress)
Deprecated.Adds floating-ip to server.- Parameters:
server- the serveripAddress- the ip address- Returns:
- the action response
-
removeFloatingIP
ActionResponse removeFloatingIP(Server server, String ipAddress)
Deprecated.Remove floating-ip from server- Parameters:
server- the serveripAddress- the ip address
-
addFloatingIP
ActionResponse addFloatingIP(String serverId, String fixedIpAddress, String ipAddress)
Deprecated.Adds floating-ip to server.- Parameters:
serverId- the id of the serverfixedIpAddress- the fixed ip addressipAddress- the ip address- Returns:
- the action response
-
addFloatingIP
ActionResponse addFloatingIP(String serverId, String ipAddress)
Deprecated.Adds floating-ip to server.- Parameters:
serverId- the id of the serveripAddress- the ip address- Returns:
- the action response
-
removeFloatingIP
ActionResponse removeFloatingIP(String serverId, String ipAddress)
Deprecated.Remove floating-ip from server- Parameters:
serverId- the id of the serveripAddress- the ip address
-
-