Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLOUDSTACK-8336: Adding tests for shared networks with basic operations related to network/router restart and acquire IP #120

Closed
wants to merge 2 commits into from

Conversation

gauravaradhye
Copy link

Adding following basic test cases for shared networks.

  1. Restart Network
  2. Restart Router
  3. Stop and Start Router
  4. Acquire Public IP in network and disassociate

Added a function in common file to verify the router state.

The verification steps are written in detail in the test cases.

Also made following changes in existing code.

  1. Fixed the pep8 issues already present in the file.
  2. Remove hard coded Services dictionary
  3. Improved existing code

Logs:
Test Shared Network ALL ... === TestName: test_createSharedNetwork_All | Status : SUCCESS ===
ok
Test Shared Network with scope account ... === TestName: test_createSharedNetwork_accountSpecific | Status : SUCCESS ===
ok
Test Shared Network with scope domain ... === TestName: test_createSharedNetwork_domainSpecific | Status : SUCCESS ===
ok
Test Shared Network with scope project ... === TestName: test_createSharedNetwork_projectSpecific | Status : SUCCESS ===
ok
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 ... === TestName: test_createSharedNetwork_usedVlan2 | Status : SUCCESS ===
ok

Test Vm deployment with multiple shared networks ... === TestName: test_deployVM_multipleSharedNetwork | Status : SUCCESS

ok
ES1621:Allow creating shared networks with overlapping ... === TestName: test_escalation_ES1621 | Status :
SUCCESS ===
ok
Test shared Network with subdomainaccess=False ... === TestName: test_networkWithsubdomainaccessFalse | Status : SUCCESS ===
ok
Test Shared Network with subdomainaccess=True ... === TestName: test_networkWithsubdomainaccessTrue | Status : SUCCESS ===
ok
Test reboot router ... === TestName: test_reboot_router | Status : SUCCESS ===
ok
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 ... === TestName: test_sharedNetworkOffering_01 | Status : SUCCESS ===
ok
Test Shared Network Offering 02 ... === TestName: test_sharedNetworkOffering_02 | Status : SUCCESS ===
ok
Test Shared Network Offering 03 ... === TestName: test_sharedNetworkOffering_03 | Status : SUCCESS ===
ok
Test stop and start router ... === TestName: test_stop_start_router | Status : SUCCESS ===
ok
Test VM deployment in shared and isolated networks ... === TestName: test_deployVM_isolatedAndShared | Status : SUCCESS ===
ok
Test acquire IP in shared network ... === TestName: test_acquire_ip | Status : SUCCESS ===
ok

@gauravaradhye gauravaradhye changed the title CLOUDSTACK-8336: Adding test for shared network restart, with and without cleanup CLOUDSTACK-8336: Adding tests for shared networks with basic operations related to network/router restart and acquire IP Mar 20, 2015
@srikanteswartalluri
Copy link
Contributor

Looks good to me.

@asfgit asfgit closed this in 8031b62 Mar 20, 2015
@gauravaradhye gauravaradhye deleted the 8336 branch May 22, 2015 10:12
karuturi pushed a commit to karuturi/cloudstack that referenced this pull request Oct 6, 2016
…closes apache#120 Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>

Reviewed-by: Talluri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants