Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
public abstract void buildComputeServiceAndTemplate(IaasProvider iaasInfo);

 

Method description

This class should build the ComputeService object and Template object,  using the information from IaasProvider and should set the built  ComputeService object in the IaasProvider#setComputeService(ComputeService) and also should set the built Template object in the  IaasProvider#setTemplate(Template).
 

Parameter description
ParameterDescription
iaasInfo
The corresponding Iaas Provider

...

Code Block
public abstract void setDynamicPayload(IaasProvider iaasInfo);

 

Method Description

This method provides a way to set the payload that can be obtained from IaasProvider#getPayload()  in the Template of this IaaS.

Parameter description
ParameterDescription
iaasInfo
The corresponding Iaas Provider

 

associateAddress

Code Block
public abstract String associateAddress(IaasProvider iaasInfo, NodeMetadata node);

...

Method Description

This will obtain an IP address from the allocated list and associate that IP with this node.
 

Parameter description
ParameterDescription
iaasInfo
The corresponding Iaas Provider.
node

Thee node to be associated with an IP.

...

Code Block
public abstract boolean createKeyPairFromPublicKey(IaasProvider iaasInfo, String region, String keyPairName, String publicKey);

 

 

Method Description

...

 

This method should create a Key Pair corresponding to a given public key, in the respective region having the given name. This method should a lso override the value of the key pair in the Template of this IaaS. 
 

Parameter description 
ParameterDescription
iaasInfo
The corresponding Iaas Provider.
region Region that the key pair will get created.
keyPairName Name of the key pair.
NOTE:
Jclouds adds a prefix : <code>jclouds#</code>
publicKey Public key from which the key pair will be created.

...