Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Once the simulator is up, In a separate session you can use the following two commands to bring up an n  zone( below example creates an advanced zone ) and run tests.

 command 1: Below command deploys a datacenter.

Code Block
$ python <cs_code_directory>/tools/marvin/marvin/deployDataCenter.py -i <cs_code_directory>/setup/dev/advanced.cfg

Example configs are available in setup/dev/advanced.cfg and setup/dev/basic.cfg

 

command 2: Below command runs the test.

Code Block
$ nosetests-2.7 --with-marvin --marvin-config=/home/abc/softwares/cs_4_4_forward/setup/dev/advanced.cfg  -w /home/abc/softwares/cs_4_4_forward/test/integration/smoke/ --with-xunit --xunit-file=/tmp/bvt_selfservice_cases.xml --zone=<zone_mentioned_config> --hypervisor=simulator -a tags=advanced,required_hardware=false

...