incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chiradeep Vittal <Chiradeep.Vit...@citrix.com>
Subject simulator
Date Fri, 11 Jan 2013 01:49:50 GMT
While DevCloud is wonderful, it is limited in its ability to test advanced
network services.

The hypervisor-simulator plugin lets us test management server
interactions during the provisioning process.
For example, using the simulator, I was able to start up several simulated
redunant virtual routers and test provisioning of various networking rules
(firewall, port-forwarding, loadbalancer). The simulator pretends that the
rules were actually provisioned, otherwise the user experience is just
like  a real CloudStack zone.

To use the simulator
mvn install -Dsimulator
cp agent-simulator/tomcatconf/components-simulator.xml.in
client//target/cloud-client-ui-4.1.0-SNAPSHOT/WEB-INF/classes/components-si
mulator.xml
Edit 
client//target/cloud-client-ui-4.1.0-SNAPSHOT/WEB-INF/classes/environment.p
roperties to point to the new xml


mvn -P developer -pl developer  -Ddeploydb
mvn -P developer -pl developer -Ddeploydb-simulator
mvn -pl :cloud-client-ui jetty:run -Dsimulator

The UI doesn't let you add clusters of type 'Simulator', you can do this
via the API
cloudmonkey add cluster hypervisor=Simulator clustertype=CloudManaged

	
Obviously a couple of steps above can be mavenized.

HTH
--
Chiradeep


Mime
View raw message