Unknown macro: {next_previous_links}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This page is under construction.

All IaaSes that are going to be supported by Cloud Controller, should extend this abstract class.

 * @param iaasInfo corresponding {@link IaasProvider}

public abstract class Iaas {
    public abstract void buildComputeServiceAndTemplate(IaasProvider iaasInfo);
    public abstract void setDynamicPayload(IaasProvider iaasInfo);
    public abstract String associateAddress(IaasProvider iaasInfo, NodeMetadata node);
    public abstract boolean createKeyPairFromPublicKey(IaasProvider iaasInfo, String region, String keyPairName, String publicKey);
}

 

Function Description

Click the respective function link to learn more on its functionality.

  • buildComputeServiceAndTemplate

  • setDynamicPayload

  • associateAddress

  • createKeyPairFromPublicKey

buildComputeServiceAndTemplate

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

 

setDynamicPayload

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

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.


 

Return value description

 

Return Value 

Description

String

The associated public IP.

 

 

createKeyPairFromPublicKey

 

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

 

 

 



 

  • No labels