public class BrooklynAccessUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ConfigKey<Cidr> |
MANAGEMENT_ACCESS_CIDR |
static ConfigKey<PortForwardManager> |
PORT_FORWARDING_MANAGER |
Constructor and Description |
---|
BrooklynAccessUtils() |
Modifier and Type | Method and Description |
---|---|
static com.google.common.net.HostAndPort |
getBrooklynAccessibleAddress(Entity entity,
int port) |
static java.lang.String |
getResolvedAddress(Entity entity,
SshMachineLocation origin,
java.lang.String hostnameTarget)
attempts to resolve hostnameTarget from origin
|
static com.google.common.base.Supplier<java.lang.String> |
resolvedAddressSupplier(Entity entity,
SshMachineLocation origin,
java.lang.String hostnameTarget) |
public static final ConfigKey<PortForwardManager> PORT_FORWARDING_MANAGER
public static com.google.common.net.HostAndPort getBrooklynAccessibleAddress(Entity entity, int port)
public static java.lang.String getResolvedAddress(Entity entity, SshMachineLocation origin, java.lang.String hostnameTarget)
public static com.google.common.base.Supplier<java.lang.String> resolvedAddressSupplier(Entity entity, SshMachineLocation origin, java.lang.String hostnameTarget)