public class AssignFloatingIpRequest extends AbstractNovaRequest<String>
Server. The return value of the task is the assigned IP address.
If no IP address could be assigned, a FloatingIpAddressException is
thrown.| Constructor and Description |
|---|
AssignFloatingIpRequest(OpenStackPoolDriverConfig account,
org.jclouds.openstack.nova.v2_0.domain.Server server) |
| Modifier and Type | Method and Description |
|---|---|
String |
doRequest(org.jclouds.openstack.nova.v2_0.NovaApi api)
Carries out the request and returns the response.
|
call, getAccountpublic AssignFloatingIpRequest(OpenStackPoolDriverConfig account, org.jclouds.openstack.nova.v2_0.domain.Server server)
public String doRequest(org.jclouds.openstack.nova.v2_0.NovaApi api) throws FloatingIpAddressException
AbstractNovaRequestdoRequest in class AbstractNovaRequest<String>api - The OpenStack Nova (compute) API.FloatingIpAddressExceptionCopyright © 2011–2015 elastisys. All rights reserved.