You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Prasanna Santhanam <Pr...@citrix.com> on 2012/07/13 13:39:49 UTC

Review Request: Run the simulator from ant target for debugging CloudStack on localhost

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/5929/
-----------------------------------------------------------

Review request for cloudstack and disheng su.


Description
-------

Simplifying the process of running the simulator. 

ant run-simulator #will seed the agent-simulator jar into the right path and start up management server
ant deploy-simulator-zone #will configure an advanced zone on this CS with two simulator hosts

localhost:8787 is open to debugging
localhost:8080/client for the CS ui


Diffs
-----

  build/build-marvin.xml 687eb5c 
  build/build-tests.xml fdffe32 
  build/simulator.properties PRE-CREATION 
  test/setup.sh PRE-CREATION 
  tools/marvin/marvin/sandbox/README.txt 7efc190 
  tools/marvin/marvin/sandbox/demo/simulator/simulator.cfg PRE-CREATION 
  tools/marvin/marvin/sandbox/setup.sh PRE-CREATION 
  tools/marvin/marvin/sandbox/testSetupSuccess.py PRE-CREATION 

Diff: https://reviews.apache.org/r/5929/diff/


Testing
-------

Ran both the ant targets and launched a sample instance.


Thanks,

Prasanna Santhanam


Re: Review Request: Run the simulator from ant target for debugging CloudStack on localhost

Posted by disheng su <ed...@citrix.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/5929/#review9180
-----------------------------------------------------------

Ship it!


Ship It!

- disheng su


On July 16, 2012, 11:03 a.m., Prasanna Santhanam wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/5929/
> -----------------------------------------------------------
> 
> (Updated July 16, 2012, 11:03 a.m.)
> 
> 
> Review request for cloudstack and disheng su.
> 
> 
> Description
> -------
> 
> Simplifying the process of running the simulator. 
>    
>     * ant run-simulator - will seed the simulator jar and start CS
>     * ant run-marvin -Dmarvin.config="/path/config/file" - will configure a
>     cloudstack as per the given configuration. marvin.config - defaults to a
>     two host simulator in an advanced zone
>     
>     You can then connect your debugger over localhost:8787 or use the CS ui
>     at localhost:8080/client for testing.
> 
> 
> Diffs
> -----
> 
>   build/build-marvin.xml 687eb5c 
>   build/build-tests.xml fdffe32 
>   build/simulator.properties PRE-CREATION 
>   tools/marvin/marvin/sandbox/README.txt 7efc190 
>   tools/marvin/marvin/sandbox/demo/simulator/simulator.cfg PRE-CREATION 
>   tools/marvin/marvin/sandbox/run-marvin.sh PRE-CREATION 
>   tools/marvin/marvin/sandbox/testSetupSuccess.py PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/5929/diff/
> 
> 
> Testing
> -------
> 
> Ran both the ant targets and launched a sample instance.
> 
> 
> Thanks,
> 
> Prasanna Santhanam
> 
>


Re: Review Request: Run the simulator from ant target for debugging CloudStack on localhost

Posted by Prasanna Santhanam <Pr...@citrix.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/5929/
-----------------------------------------------------------

(Updated July 16, 2012, 11:03 a.m.)


Review request for cloudstack and disheng su.


Changes
-------

Updated the ant targets and renamed the setup script appropriately as per review comments.

ant run-marvin -Dmarvin.config="config/file" will not configure the zone as per the given configuration.


Description (updated)
-------

Simplifying the process of running the simulator. 
   
    * ant run-simulator - will seed the simulator jar and start CS
    * ant run-marvin -Dmarvin.config="/path/config/file" - will configure a
    cloudstack as per the given configuration. marvin.config - defaults to a
    two host simulator in an advanced zone
    
    You can then connect your debugger over localhost:8787 or use the CS ui
    at localhost:8080/client for testing.


Diffs (updated)
-----

  build/build-marvin.xml 687eb5c 
  build/build-tests.xml fdffe32 
  build/simulator.properties PRE-CREATION 
  tools/marvin/marvin/sandbox/README.txt 7efc190 
  tools/marvin/marvin/sandbox/demo/simulator/simulator.cfg PRE-CREATION 
  tools/marvin/marvin/sandbox/run-marvin.sh PRE-CREATION 
  tools/marvin/marvin/sandbox/testSetupSuccess.py PRE-CREATION 

Diff: https://reviews.apache.org/r/5929/diff/


Testing
-------

Ran both the ant targets and launched a sample instance.


Thanks,

Prasanna Santhanam


Re: Review Request: Run the simulator from ant target for debugging CloudStack on localhost

Posted by Chiradeep Vittal <Ch...@citrix.com>.
Can we have a more intuitive name than 'setup.sh' to deploy a zone using
Marvin?
More generally, can we have an ant target to deploy a named configuration
using Marvin?

For example, ant run-marvin -Dcfg=simulator.cfg

On 7/13/12 4:39 AM, "Prasanna Santhanam" <Pr...@citrix.com>
wrote:

>
>-----------------------------------------------------------
>This is an automatically generated e-mail. To reply, visit:
>https://reviews.apache.org/r/5929/
>-----------------------------------------------------------
>
>Review request for cloudstack and disheng su.
>
>
>Description
>-------
>
>Simplifying the process of running the simulator.
>
>ant run-simulator #will seed the agent-simulator jar into the right path
>and start up management server
>ant deploy-simulator-zone #will configure an advanced zone on this CS
>with two simulator hosts
>
>localhost:8787 is open to debugging
>localhost:8080/client for the CS ui
>
>
>Diffs
>-----
>
>  build/build-marvin.xml 687eb5c
>  build/build-tests.xml fdffe32
>  build/simulator.properties PRE-CREATION
>  test/setup.sh PRE-CREATION
>  tools/marvin/marvin/sandbox/README.txt 7efc190
>  tools/marvin/marvin/sandbox/demo/simulator/simulator.cfg PRE-CREATION
>  tools/marvin/marvin/sandbox/setup.sh PRE-CREATION
>  tools/marvin/marvin/sandbox/testSetupSuccess.py PRE-CREATION
>
>Diff: https://reviews.apache.org/r/5929/diff/
>
>
>Testing
>-------
>
>Ran both the ant targets and launched a sample instance.
>
>
>Thanks,
>
>Prasanna Santhanam
>