Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: the simulator integrated with marvin and maven test

...

In case of 4.2/master, Min suggests on ML: To build non-oss build, you need to first download Vmware 5.1 SDK fromhttps://my.vmware.com/group/vmware/get-download?downloadGroup=VSP510-WEBSDK-510Image Removed (Version: 5.1, Release-date: 2012-09-10, Build: 774886) to a temp directory. This is a zip file, unzip file and you will see a vim25.jar in <unzip folder>/vsphere-ws/java/JAXWS/lib. Place this vim25.jar in deps folder and rename it as vim25_51.jar, then run: deps/install-non-oss.sh to install it into your m2 repo.

...

Warning
titleUnder development

This feature is still being developed and tested, might not work as expected

Integrated Simulator+Marvin test

The agent simulator and marvin are integrated into build steps to help a developer ensure that some simple tests pass before making a commit. The developer environment needs to have Marvin installed and the marvin-nose plugin registered for the integration-test to work:

To run the basic tests. Your build steps should be as follows

Building

Code Block

mvn -Pdeveloper clean install 

Deploy database

Code Block

mvn -Pdeveloper -pl developer -Ddeploydb
mvn -Pdeveloper -pl developer -Ddeploydb-simulator

Start the management server

Code Block

mvn -pl client jetty:run

One time installation of Marvin is required:

The developer profile compiles marvin for you and puts the tarball in tools/marvin/dist/Marvin-0.1.0.tar.gz. To install marvin:

Code Block

pip install Marvin-0.1.0.tar.gz
cd tools/marvin/marvin
pip install .

Integration test

In a seperate session you can use the following commands to bring up an advanced zone with two simulator hypervisors and run a deploy VM test:

Code Block

mvn -Pdeveloper,marvin -Dmarvin.config=setup/dev/advanced.cfg -pl :cloud-marvin integration-test

Building Specific Versions of CloudStack

...