Example code that uses jclouds to perform common tasks on an Dimension Data CloudControl. The class names are self-explanatory and the code is well commented for you to follow along.
To setup an environment to compile and run the examples use these commands:
git clone https://github.com/jclouds/jclouds-examples.git cd jclouds-examples/dimensiondata/
To package the examples jar file and dependencies run:
mvn package
To run individual examples from the command line use these commands:
Every example class has a main method that takes the following arguments in the listed order:
If there are other arguments required they will follow. The command line format looks like this:
java -cp target\dimensiondata-cloudcontrol-examples-<VERSION>-jar-with-dependencies.jar <MAIN_CLASS> apiEndpoint username password <PARAMETERS>
Try out an example.
java -cp target\dimensiondata-cloudcontrol-examples-<VERSION>-jar-with-dependencies.jar org.jclouds.examples.dimensiondata.cloudcontrol.DeployNetworkDomainVlanAndServer apiEndpoint username password
Watch the terminal for output!
Your feedback is appreciated! If you have specific issues with Dimension Data CloudControl support in jclouds, we'd prefer that you file an issue via JIRA.
If you have questions or need help, please join our community and subscribe to the jclouds user mailing list.