Class CreateNodesWithGroupEncodedIntoNameThenAddToSet
java.lang.Object
org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet
org.jclouds.googlecomputeengine.compute.strategy.CreateNodesWithGroupEncodedIntoNameThenAddToSet
- All Implemented Interfaces:
CreateNodesInGroupThenAddToSet
public final class CreateNodesWithGroupEncodedIntoNameThenAddToSet
extends CreateNodesWithGroupEncodedIntoNameThenAddToSet
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet
CreateNodesWithGroupEncodedIntoNameThenAddToSet.AddNode
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
protected Logger
Fields inherited from class org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet
addNodeWithGroupStrategy, customizeNodeAndAddToGoodMapOrPutExceptionIntoBadMapFactory, listNodesStrategy, namingConvention, userExecutor
-
Method Summary
Modifier and TypeMethodDescriptionexecute
(String group, int count, Template template, Set<NodeMetadata> goodNodes, Map<NodeMetadata, Exception> badNodes, com.google.common.collect.Multimap<NodeMetadata, CustomizationResponse> customizationResponses) This implementation gets a list of acceptable node names to encode the group into, then it simultaneously runs the nodes and applies options to them.static String
nameFromNetworkString
(String networkString) simplifyPorts
(int[] ports) Methods inherited from class org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet
createNodeInGroupWithNameAndTemplate, getNextNames
-
Field Details
-
EXTERIOR_RANGE
- See Also:
-
DEFAULT_INTERNAL_NETWORK_RANGE
- See Also:
-
DEFAULT_NETWORK_NAME
- See Also:
-
logger
-
-
Method Details
-
execute
public Map<?,com.google.common.util.concurrent.ListenableFuture<Void>> execute(String group, int count, Template template, Set<NodeMetadata> goodNodes, Map<NodeMetadata, Exception> badNodes, com.google.common.collect.Multimap<NodeMetadata, CustomizationResponse> customizationResponses) Description copied from class:CreateNodesWithGroupEncodedIntoNameThenAddToSet
This implementation gets a list of acceptable node names to encode the group into, then it simultaneously runs the nodes and applies options to them.- Specified by:
execute
in interfaceCreateNodesInGroupThenAddToSet
- Overrides:
execute
in classCreateNodesWithGroupEncodedIntoNameThenAddToSet
-
simplifyPorts
-
nameFromNetworkString
-