public interface ComputeFloatingIPService extends RestService
Modifier and Type | Method and Description |
---|---|
ActionResponse |
addFloatingIP(Server server,
String ipAddress)
Adds floating-ip to server.
|
ActionResponse |
addFloatingIP(Server server,
String fixedIpAddress,
String ipAddress)
Adds floating-ip to server.
|
ActionResponse |
addFloatingIP(String serverId,
String ipAddress)
Adds floating-ip to server.
|
ActionResponse |
addFloatingIP(String serverId,
String fixedIpAddress,
String ipAddress)
Adds floating-ip to server.
|
FloatingIP |
allocateIP(String pool)
Allocate a floating ip address to tenant.
|
ActionResponse |
deallocateIP(String id)
Deallocate ip address from tenant.
|
List<String> |
getPoolNames()
Lists the current Floating IP Pool Names
|
List<? extends FloatingIP> |
list()
List floating ips associated with current tenant.
|
ActionResponse |
removeFloatingIP(Server server,
String ipAddress)
Remove floating-ip from server
|
ActionResponse |
removeFloatingIP(String serverId,
String ipAddress)
Remove floating-ip from server
|
List<? extends FloatingIP> list()
List<String> getPoolNames()
FloatingIP allocateIP(String pool)
pool
- the poolActionResponse deallocateIP(String id)
id
- the id of floating ip addressActionResponse addFloatingIP(Server server, String fixedIpAddress, String ipAddress)
server
- the serverfixedIpAddress
- the fixed ip addressipAddress
- the ip addressActionResponse addFloatingIP(Server server, String ipAddress)
server
- the serveripAddress
- the ip addressActionResponse removeFloatingIP(Server server, String ipAddress)
server
- the serveripAddress
- the ip addressActionResponse addFloatingIP(String serverId, String fixedIpAddress, String ipAddress)
serverId
- the id of the serverfixedIpAddress
- the fixed ip addressipAddress
- the ip addressActionResponse addFloatingIP(String serverId, String ipAddress)
serverId
- the id of the serveripAddress
- the ip addressActionResponse removeFloatingIP(String serverId, String ipAddress)
serverId
- the id of the serveripAddress
- the ip addressCopyright © 2017. All rights reserved.