GitHub user gauravaradhye opened a pull request: https://github.com/apache/cloudstack/pull/120
CLOUDSTACK-8336: Adding test for shared network restart, with and without cleanup Network restart test case was missing in the repo for shared network. So adding a basic test case that will create a shared network, deploy a VM in it and restart the network with and without cleanup option. It also checks that the publicip of the router remains the same after restart. Also fixed the pep8 issues already present in the file. Logs: Test Shared Network ALL ... SKIP: Skip Test Shared Network with scope account ... SKIP: Skip Test Shared Network with scope domain ... SKIP: Skip Test Shared Network with scope project ... SKIP: Skip Test Shared Network with used vlan 01 ... SKIP: skipped - This is a redundant case and also this is causing issue for rest fo the cases Test Shared Network with used vlan 02 ... SKIP: Skip Test VM deployment in shared and isolated networks ... SKIP: Skip Test Vm deployment with multiple shared networks ... SKIP: Skip @summary: ES1621:Allow creating shared networks with overlapping ... SKIP: Skip Test shared Network with subdomainaccess=False ... SKIP: Skip Test Shared Network with subdomainaccess=True ... SKIP: Skip Test restart shared Network ... === TestName: test_restart_network_1_True | Status : SUCCESS === ok Test restart shared Network ... === TestName: test_restart_network_2_False | Status : SUCCESS === ok Test shared network Offering 01 ... SKIP: Skip Test Shared Network Offering 02 ... SKIP: Skip Test Shared Network Offering 03 ... SKIP: Skip ---------------------------------------------------------------------- Ran 16 tests in 408.267s OK (SKIP=14) You can merge this pull request into a Git repository by running: $ git pull https://github.com/gauravaradhye/cloudstack 8336 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/120.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #120 ---- commit 5b9c889eabc7b37d4d2d7d6b11bd176e0eb71bc1 Author: Gaurav Aradhye <gaurav.arad...@clogeny.com> Date: 2015-03-19T12:08:40Z CLOUDSTACK-8336: Adding test for shared network restart, with and without cleanup ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---