com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' is unknown.
Providing Support for a New IaaS Provider
- The IaaS provider implementation (e.g.,
org.wso2.carbon.stratos.iaas.VcloudIaas.java
)
should extend the Iaas abstract class provided by Cloud Controller. Wrap the implementation in an OSGi bundle. It should be a fragment bundle of the Cloud Controller. This via your bundle's
pom
file. Â
Add the following line as a configuration instruction of maven bundle plugin:<Fragment-Host>{symbolic-name-of-cloud-controller}</Fragment-Host>
Â
{symbolic-name-of-cloud-controller} = org.wso2.carbon.stratos.cloud.controller
- Â Add the
cloud-controller
component as a dependency in your bundle’spom
file.  Drop the built bundle to
{WSO2-CC}/repository/components/dropins/
. Define the IaasProvider you are going to add and your implementation class in the Cloud Controller'scloud-controller.xml
.
Now, you can start using the newly added IaaS in your Cartridge.
Example:<iaasProvider type="vcloud" name="vcloud specific details"> <className>org.wso2.carbon.stratos.iaas.VcloudIaas</className> <provider>vcloud</provider> <identity svns:secretAlias="cloud.controller.vcloud.identity"/> <credential svns:secretAlias="cloud.controller.vcloud.credential"/> <scaleUpOrder>1</scaleUpOrder> <scaleDownOrder>2</scaleDownOrder> <property name="securityGroups" value="default"/> <property name="instanceType" value="m1.large"/> <property name="keyPair" value="abc-key"/> <imageId>us-east-1/ami-abcdef123</imageId> </iaasProvider>
Â
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.