com.norbl.cbp.ppe
Class NetworkSpec
java.lang.Object
com.norbl.cbp.ppe.NetworkSpec
- All Implemented Interfaces:
- java.io.Serializable
public class NetworkSpec
- extends java.lang.Object
- implements java.io.Serializable
Contains all variables needed to specify an ec2 network.
Note that this does not include the aws credentials (which
are used to create the AmazonEC2Client).
The NetworkSpec also includes userData (from spec.uid) which is
optional.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
networkName
public java.lang.String networkName
instanceType
public com.amazonaws.services.ec2.model.InstanceType instanceType
imageID
public java.lang.String imageID
nInstances
public int nInstances
keyName
public java.lang.String keyName
securityGroupName
public java.lang.String securityGroupName
useSpotInstances
public boolean useSpotInstances
spotPrice
public double spotPrice
clusterGroupName
public java.lang.String clusterGroupName
useCluster
public boolean useCluster
slotsPerHost
public int slotsPerHost
disableHyperThreading
public boolean disableHyperThreading
availabilityZone
public java.lang.String availabilityZone
userData
public java.lang.String userData
NetworkSpec
public NetworkSpec(ParamsEc2 params)
- Note that the userData is taken from params.uid which
may be null.
- Parameters:
params
-
NetworkSpec
public NetworkSpec()
isComplete
public boolean isComplete()
listMissingParams
public java.lang.String listMissingParams()
cloneSpec
public NetworkSpec cloneSpec()