Versions Compared

Key

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

...

  • test_vpc_offerings.py
    • That's an existing test, but it has been updated in order to cover the following:
      • Redundant VPC offering creation;
      • Create a Redundant VPC using the newly created offering
  • test_vpc_redundant.py
    •  That's a new test, which will check the new features of the CloudStack Virtual Private Clouds. It does the following:
      • 1st Round of Tests
        • Creates a Redundant VPC
        • Creates 2 tiers
        • Creates 4 virtual machines, 2 per tier
        • Acquires 4 public IPs
        • Create port forwarding rules to open port 22, per IP, and assign to each virtual machine
        • SSH into the virtual machines
        • Check it succeeds
      • 2nd Round of Tests
        • Stop the Master router
        • Check the the Backup router becomes Master
        • SSH into the virtual machines
        • Check it succeeds
      • 3rd Round of Tests
        • Delete all port forwarding rules
        • SSH into the virtual machines
        • Check that it doesn't succeed
      • 4th Round of Tests
        • Start the stopped router
        • Check that we don't have 2 routers as Masters
        • Add all port forwarding rules
        • SSH into the virtual machines
        • Check it succeeds
       

Running the tests

  • test_vpc_offerings.py
    • nosetests --with-marvin --marvin-config=[marvin_configuration_file_path] -s -a tags=advanced,required_hardware=false test_vpc_offerings.py

  • test_vpc_redundant.py
    • nosetests --with-marvin --marvin-config=[marvin_configuration_file_path] -s -a tags=advanced,required_hardware=true test_vpc_redundant.py

...