public class CustomMachineNamer extends BasicCloudMachineNamer
MACHINE_NAME_TEMPLATE
to construct the hostname.
For instance, setting this to ${config.entity_hostname}
will take the hostname from an entity_hostname key passed as entity brooklyn.config.
Note that this is not jclouds aware, so jclouds-specific cloud max lengths are not observed with this class.
| Modifier and Type | Field and Description |
|---|---|
static ConfigKey<java.util.Map<java.lang.String,?>> |
EXTRA_SUBSTITUTIONS |
static ConfigKey<java.lang.String> |
MACHINE_NAME_TEMPLATE |
| Constructor and Description |
|---|
CustomMachineNamer() |
generateNewGroupId, generateNewMachineUniqueName, generateNewMachineUniqueNameFromGroupId, getCustomMaxNameLength, getLengthForMachineUniqueNameSalt, getMaxNameLength, sanitize, setDefaultMachineNameMaxLength, setDefaultMachineNameSeparatorAndSaltLength