|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Beta public interface FloatingIPApi
Provides access to the OpenStack Compute (Nova) Floating IP extension API.
| Method Summary | |
|---|---|
void |
addToServer(String address,
String serverId)
Adds a Floating IP address to a Server |
FloatingIP |
allocateFromPool(String pool)
Allocates a Floating IP address from a pool |
FloatingIP |
create()
Allocates a Floating IP address |
void |
delete(String id)
Deletes a Floating IP address |
FloatingIP |
get(String id)
Gets a specific Floating IP address |
com.google.common.collect.FluentIterable<FloatingIP> |
list()
Lists all Floating IP addresses |
void |
removeFromServer(String address,
String serverId)
Removes a Floating IP address from a Server |
| Method Detail |
|---|
@Named(value="floatingIP:list") com.google.common.collect.FluentIterable<FloatingIP> list()
@Named(value="floatingIP:get") @Nullable FloatingIP get(String id)
@Named(value="floatingIP:create") @Nullable FloatingIP create()
@Named(value="floatingIP:allocateFromPool") @Nullable FloatingIP allocateFromPool(String pool)
pool - Pool to allocate IP address from
@Named(value="floatingIP:delete") void delete(String id)
id - the Floating IP id
@Named(value="floatingIP:add")
void addToServer(String address,
String serverId)
id - the server idaddress - the IP address to add
NOTE: Possibly move this to ServerApi?
@Named(value="floatingIP:remove")
void removeFromServer(String address,
String serverId)
id - the server idaddress - the IP address to remove
NOTE: Possibly move this to ServerApi?
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||