Modifier and Type | Method and Description |
---|---|
IpDetails |
addToServer(String ipAddress,
String serverId)
Add an IP address to an server.
|
IpDetails |
get(String ipAddress)
Get details about the given IP address such as gateway and netmask.
|
com.google.common.collect.FluentIterable<IpDetails> |
list(ListIpOptions... options)
Get IP addresses associated with your account (reserved, assigned to servers, etc)
|
com.google.common.collect.FluentIterable<String> |
listFree(int ipVersion,
String datacenter,
String platform)
Get a set of all IP addresses that are available and not used on any account or server.
|
IpDetails |
release(String ipAddress)
Return an unused IP address to the pool of free ips.
|
IpDetails |
removeFromServer(String ipAddress,
String serverId)
Remove an IP address from a server.
|
IpDetails |
removeFromServerAndRelease(String ipAddress,
String serverId)
Remove an IP address from a server and release it back to GleSYS pool of free ips.
|
IpDetails |
resetPtr(String ipAddress)
Resets PTR data for an IP back to the default value
|
IpDetails |
setPtr(String ipAddress,
String ptr)
Sets PTR data for an IP.
|
IpDetails |
take(String ipAddress)
Take a free IP address and add it to this account.
|
@Named(value="ip:listfree") com.google.common.collect.FluentIterable<String> listFree(int ipVersion, String datacenter, String platform)
ipVersion
- 4 or 6, for IPV4 or IPV6, respectivelydatacenter
- the datacenterplatform
- the platform@Named(value="ip:take") IpDetails take(String ipAddress)
ipAddress
- the IP address to be add to this account (reserve)@Named(value="ip:release") IpDetails release(String ipAddress)
ipAddress
- the IP address to be released@Named(value="ip:listown") com.google.common.collect.FluentIterable<IpDetails> list(ListIpOptions... options)
options
- options to filter the results (by IPV4/6, serverId, etc)@Named(value="ip:details") IpDetails get(String ipAddress)
ipAddress
- the ip address@Named(value="ip:add") IpDetails addToServer(String ipAddress, String serverId)
ipAddress
- the IP address to removeserverId
- the server to add the IP address to@Named(value="ip:remove") IpDetails removeFromServer(String ipAddress, String serverId)
ipAddress
- the IP address to removeserverId
- the server to remove the IP address fromremoveFromServerAndRelease(java.lang.String, java.lang.String)
@Named(value="ip:remove:release") IpDetails removeFromServerAndRelease(String ipAddress, String serverId)
ipAddress
- the IP address to removeserverId
- the server to remove the IP address fromremoveFromServer(java.lang.String, java.lang.String)
@Named(value="ip:setptr") IpDetails setPtr(String ipAddress, String ptr)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.