org.jclouds.openstack.nova
Interface NovaAsyncClient
public interface NovaAsyncClient
Provides asynchronous access to OpenStack Nova via their REST API.
All commands return a ListenableFuture of the result from OpenStack Nova. Any exceptions incurred
during processing will be wrapped in an ExecutionException
as documented in
Future.get()
.
- Author:
- Adrian Cole
- See Also:
NovaClient
,
Method Summary |
com.google.common.util.concurrent.ListenableFuture<Void> |
addFloatingIP(int serverId,
String ip)
|
com.google.common.util.concurrent.ListenableFuture<Void> |
changeAdminPass(int id,
String adminPass)
|
com.google.common.util.concurrent.ListenableFuture<Void> |
confirmResizeServer(int id)
|
com.google.common.util.concurrent.ListenableFuture<Image> |
createImageFromServer(String imageName,
int serverId)
|
com.google.common.util.concurrent.ListenableFuture<Server> |
createServer(String name,
String imageRef,
String flavorRef,
CreateServerOptions... options)
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
deleteImage(int id)
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
deleteImage(String id)
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
deleteServer(int id)
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
deleteServer(String uuid)
|
com.google.common.util.concurrent.ListenableFuture<Addresses> |
getAddresses(int serverId)
|
com.google.common.util.concurrent.ListenableFuture<Flavor> |
getFlavor(int id)
|
com.google.common.util.concurrent.ListenableFuture<Flavor> |
getFlavor(String uuid)
|
com.google.common.util.concurrent.ListenableFuture<FloatingIP> |
getFloatingIP(int id)
|
com.google.common.util.concurrent.ListenableFuture<Image> |
getImage(int id)
|
com.google.common.util.concurrent.ListenableFuture<Image> |
getImage(String uuid)
|
com.google.common.util.concurrent.ListenableFuture<SecurityGroup> |
getSecurityGroup(int id)
|
com.google.common.util.concurrent.ListenableFuture<Server> |
getServer(int id)
|
com.google.common.util.concurrent.ListenableFuture<Server> |
getServer(String uuid)
|
com.google.common.util.concurrent.ListenableFuture<? extends Set<Flavor>> |
listFlavors(ListOptions... options)
|
com.google.common.util.concurrent.ListenableFuture<? extends Set<FloatingIP>> |
listFloatingIPs()
|
com.google.common.util.concurrent.ListenableFuture<? extends Set<Image>> |
listImages(ListOptions... options)
|
com.google.common.util.concurrent.ListenableFuture<? extends Set<String>> |
listPrivateAddresses(int serverId)
|
com.google.common.util.concurrent.ListenableFuture<? extends Set<String>> |
listPublicAddresses(int serverId)
|
com.google.common.util.concurrent.ListenableFuture<? extends Set<SecurityGroup>> |
listSecurityGroups()
|
com.google.common.util.concurrent.ListenableFuture<? extends Set<Server>> |
listServers(ListOptions... options)
|
com.google.common.util.concurrent.ListenableFuture<Void> |
rebootServer(int id,
RebootType rebootType)
|
com.google.common.util.concurrent.ListenableFuture<Void> |
rebuildServer(int id,
RebuildServerOptions... options)
|
com.google.common.util.concurrent.ListenableFuture<Void> |
renameServer(int id,
String newName)
|
com.google.common.util.concurrent.ListenableFuture<Void> |
resizeServer(int id,
int flavorId)
|
com.google.common.util.concurrent.ListenableFuture<Void> |
revertResizeServer(int id)
|
listServers
com.google.common.util.concurrent.ListenableFuture<? extends Set<Server>> listServers(ListOptions... options)
- See Also:
NovaClient.listServers(org.jclouds.openstack.nova.options.ListOptions...)
getServer
com.google.common.util.concurrent.ListenableFuture<Server> getServer(int id)
- See Also:
NovaClient.getServer(int)
getServer
com.google.common.util.concurrent.ListenableFuture<Server> getServer(String uuid)
- See Also:
NovaClient.getServer(int)
deleteServer
com.google.common.util.concurrent.ListenableFuture<Boolean> deleteServer(int id)
- See Also:
NovaClient.deleteServer(int)
deleteServer
com.google.common.util.concurrent.ListenableFuture<Boolean> deleteServer(String uuid)
- See Also:
NovaClient.deleteServer(int)
rebootServer
com.google.common.util.concurrent.ListenableFuture<Void> rebootServer(int id,
RebootType rebootType)
- See Also:
NovaClient.rebootServer(int, org.jclouds.openstack.nova.domain.RebootType)
resizeServer
com.google.common.util.concurrent.ListenableFuture<Void> resizeServer(int id,
int flavorId)
- See Also:
NovaClient.resizeServer(int, int)
confirmResizeServer
com.google.common.util.concurrent.ListenableFuture<Void> confirmResizeServer(int id)
- See Also:
NovaClient.confirmResizeServer(int)
revertResizeServer
com.google.common.util.concurrent.ListenableFuture<Void> revertResizeServer(int id)
- See Also:
NovaClient.revertResizeServer(int)
createServer
com.google.common.util.concurrent.ListenableFuture<Server> createServer(String name,
String imageRef,
String flavorRef,
CreateServerOptions... options)
- See Also:
NovaClient.createServer(java.lang.String, java.lang.String, java.lang.String, org.jclouds.openstack.nova.options.CreateServerOptions...)
rebuildServer
com.google.common.util.concurrent.ListenableFuture<Void> rebuildServer(int id,
RebuildServerOptions... options)
- See Also:
NovaClient.rebuildServer(int, org.jclouds.openstack.nova.options.RebuildServerOptions...)
changeAdminPass
com.google.common.util.concurrent.ListenableFuture<Void> changeAdminPass(int id,
String adminPass)
- See Also:
NovaClient.changeAdminPass(int, java.lang.String)
renameServer
com.google.common.util.concurrent.ListenableFuture<Void> renameServer(int id,
String newName)
- See Also:
NovaClient.renameServer(int, java.lang.String)
listFlavors
com.google.common.util.concurrent.ListenableFuture<? extends Set<Flavor>> listFlavors(ListOptions... options)
- See Also:
NovaClient.listFlavors(org.jclouds.openstack.nova.options.ListOptions...)
getFlavor
com.google.common.util.concurrent.ListenableFuture<Flavor> getFlavor(int id)
- See Also:
NovaClient.getFlavor(int)
getFlavor
com.google.common.util.concurrent.ListenableFuture<Flavor> getFlavor(String uuid)
- See Also:
NovaClient.getFlavor(int)
listImages
com.google.common.util.concurrent.ListenableFuture<? extends Set<Image>> listImages(ListOptions... options)
- See Also:
NovaClient.listImages(org.jclouds.openstack.nova.options.ListOptions...)
getImage
com.google.common.util.concurrent.ListenableFuture<Image> getImage(int id)
- See Also:
NovaClient.getImage(int)
getImage
com.google.common.util.concurrent.ListenableFuture<Image> getImage(String uuid)
- See Also:
NovaClient.getImage(int)
deleteImage
com.google.common.util.concurrent.ListenableFuture<Boolean> deleteImage(int id)
- See Also:
NovaClient.deleteImage(int)
deleteImage
com.google.common.util.concurrent.ListenableFuture<Boolean> deleteImage(String id)
- See Also:
NovaClient.deleteImage(int)
createImageFromServer
com.google.common.util.concurrent.ListenableFuture<Image> createImageFromServer(String imageName,
int serverId)
- See Also:
NovaClient.createImageFromServer(java.lang.String, int)
getAddresses
com.google.common.util.concurrent.ListenableFuture<Addresses> getAddresses(int serverId)
- See Also:
NovaClient#listAddresses
listPublicAddresses
com.google.common.util.concurrent.ListenableFuture<? extends Set<String>> listPublicAddresses(int serverId)
- See Also:
NovaClient.listPublicAddresses(int)
listPrivateAddresses
com.google.common.util.concurrent.ListenableFuture<? extends Set<String>> listPrivateAddresses(int serverId)
- See Also:
NovaClient.listPrivateAddresses(int)
addFloatingIP
com.google.common.util.concurrent.ListenableFuture<Void> addFloatingIP(int serverId,
String ip)
listFloatingIPs
com.google.common.util.concurrent.ListenableFuture<? extends Set<FloatingIP>> listFloatingIPs()
getFloatingIP
com.google.common.util.concurrent.ListenableFuture<FloatingIP> getFloatingIP(int id)
listSecurityGroups
com.google.common.util.concurrent.ListenableFuture<? extends Set<SecurityGroup>> listSecurityGroups()
getSecurityGroup
com.google.common.util.concurrent.ListenableFuture<SecurityGroup> getSecurityGroup(int id)
Copyright © 2009-2012 jclouds. All Rights Reserved.