public class ServerIpAddressRequester extends Object implements Callable<org.openstack4j.model.compute.Addresses>
Requester that returns the IP addresses for a given Openstack
server instance.
It can, for example, be used in a Retryable to wait for a server to
be assigned a (private) IP address.Retryable,
RetryUntilAssignedIpAddress| Constructor and Description |
|---|
ServerIpAddressRequester(org.openstack4j.api.OSClient api,
String serverId)
Constructs a new
ServerIpAddressRequester task. |
public ServerIpAddressRequester(org.openstack4j.api.OSClient api,
String serverId)
ServerIpAddressRequester task.api - An Openstack API client.serverId - The identifier of the server instance whose IP addresses are
to be retrieved.Copyright © 2011–2016 elastisys. All rights reserved.