public class AssignFloatingIpRequest extends AbstractOpenstackRequest<String>
Server. The return value of the task is the assigned IP address.
If no IP address could be assigned, a CloudPoolDriverException is
thrown.| Constructor and Description |
|---|
AssignFloatingIpRequest(OpenStackPoolDriverConfig accessConfig,
org.openstack4j.model.compute.Server server) |
| Modifier and Type | Method and Description |
|---|---|
String |
doRequest(org.openstack4j.api.OSClient api)
Carries out the request and returns the response.
|
call, getAccessConfigpublic AssignFloatingIpRequest(OpenStackPoolDriverConfig accessConfig, org.openstack4j.model.compute.Server server)
public String doRequest(org.openstack4j.api.OSClient api) throws CloudPoolDriverException
AbstractOpenstackRequestdoRequest in class AbstractOpenstackRequest<String>api - An authenticated OpenStack API client that is instructed to
operate against the configured region.CloudPoolDriverExceptionCopyright © 2011–2015 elastisys. All rights reserved.