Class ComputeFloatingIPServiceImpl
- java.lang.Object
-
- org.openstack4j.openstack.internal.BaseOpenStackService
-
- org.openstack4j.openstack.compute.internal.BaseComputeServices
-
- org.openstack4j.openstack.compute.internal.ComputeFloatingIPServiceImpl
-
- All Implemented Interfaces:
ComputeFloatingIPService,RestService
@Deprecated public class ComputeFloatingIPServiceImpl extends BaseComputeServices implements ComputeFloatingIPService
Deprecated.OpenStack Floating-IP API Implementation- Author:
- Nathan Anderson
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
BaseOpenStackService.Invocation<R>
-
-
Constructor Summary
Constructors Constructor Description ComputeFloatingIPServiceImpl()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete 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-
Methods inherited from class org.openstack4j.openstack.compute.internal.BaseComputeServices
invokeAction, invokeActionWithResponse
-
Methods inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
delete, deleteWithResponse, get, getProvider, getServiceVersion, getWithResponse, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, putWithResponse, request, toList, uri
-
-
-
-
Method Detail
-
list
public List<? extends FloatingIP> list()
Deprecated.List floating ips associated with current tenant.- Specified by:
listin interfaceComputeFloatingIPService- Returns:
- the list extends floating i p>
-
getPoolNames
public List<String> getPoolNames()
Deprecated.Lists the current Floating IP Pool Names- Specified by:
getPoolNamesin interfaceComputeFloatingIPService- Returns:
- List of floating IP pool names
-
allocateIP
public FloatingIP allocateIP(String pool)
Deprecated.Allocate a floating ip address to tenant.- Specified by:
allocateIPin interfaceComputeFloatingIPService- Parameters:
pool- the pool- Returns:
- the floating ip
-
deallocateIP
public ActionResponse deallocateIP(String id)
Deprecated.Deallocate ip address from tenant.- Specified by:
deallocateIPin interfaceComputeFloatingIPService- Parameters:
id- the id of floating ip address- Returns:
- the action response
-
addFloatingIP
public ActionResponse addFloatingIP(Server server, String fixedIpAddress, String ipAddress)
Deprecated.Adds floating-ip to server.- Specified by:
addFloatingIPin interfaceComputeFloatingIPService- Parameters:
server- the serverfixedIpAddress- the fixed ip addressipAddress- the ip address- Returns:
- the action response
-
addFloatingIP
public ActionResponse addFloatingIP(Server server, String ipAddress)
Deprecated.Adds floating-ip to server.- Specified by:
addFloatingIPin interfaceComputeFloatingIPService- Parameters:
server- the serveripAddress- the ip address- Returns:
- the action response
-
removeFloatingIP
public ActionResponse removeFloatingIP(Server server, String ipAddress)
Deprecated.Remove floating-ip from server- Specified by:
removeFloatingIPin interfaceComputeFloatingIPService- Parameters:
server- the serveripAddress- the ip address
-
addFloatingIP
public ActionResponse addFloatingIP(String serverId, String fixedIpAddress, String ipAddress)
Deprecated.Adds floating-ip to server.- Specified by:
addFloatingIPin interfaceComputeFloatingIPService- Parameters:
serverId- the id of the serverfixedIpAddress- the fixed ip addressipAddress- the ip address- Returns:
- the action response
-
addFloatingIP
public ActionResponse addFloatingIP(String serverId, String ipAddress)
Deprecated.Adds floating-ip to server.- Specified by:
addFloatingIPin interfaceComputeFloatingIPService- Parameters:
serverId- the id of the serveripAddress- the ip address- Returns:
- the action response
-
removeFloatingIP
public ActionResponse removeFloatingIP(String serverId, String ipAddress)
Deprecated.Remove floating-ip from server- Specified by:
removeFloatingIPin interfaceComputeFloatingIPService- Parameters:
serverId- the id of the serveripAddress- the ip address
-
-