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
Fields Modifier and Type Field Description static StringDEFAULT_INTERNAL_NETWORK_RANGEstatic StringDEFAULT_NETWORK_NAMEstatic StringEXTERIOR_RANGEprotected Loggerlogger-
Fields inherited from class org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet
addNodeWithGroupStrategy, customizeNodeAndAddToGoodMapOrPutExceptionIntoBadMapFactory, listNodesStrategy, namingConvention, userExecutor
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)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 StringnameFromNetworkString(String networkString)static List<String>simplifyPorts(int[] ports)-
Methods inherited from class org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet
createNodeInGroupWithNameAndTemplate, getNextNames
-
-
-
-
Field Detail
-
EXTERIOR_RANGE
public static final String EXTERIOR_RANGE
- See Also:
- Constant Field Values
-
DEFAULT_INTERNAL_NETWORK_RANGE
public static final String DEFAULT_INTERNAL_NETWORK_RANGE
- See Also:
- Constant Field Values
-
DEFAULT_NETWORK_NAME
public static final String DEFAULT_NETWORK_NAME
- See Also:
- Constant Field Values
-
logger
@Named("jclouds.compute") protected Logger logger
-
-
Method Detail
-
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:CreateNodesWithGroupEncodedIntoNameThenAddToSetThis 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:
executein interfaceCreateNodesInGroupThenAddToSet- Overrides:
executein classCreateNodesWithGroupEncodedIntoNameThenAddToSet
-
-