[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-7002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sangeetha Hariharan resolved CLOUDSTACK-7002.
---------------------------------------------

    Resolution: Fixed

Automated  33 test cases relating to access checks for createNetwork(), 
deploying VM in an isolated network and restarNetwork.

Author: Sangeetha <[email protected]>
Date:   Thu Jun 26 13:40:53 2014 -0700

    This test suite contains test cases relating to access checks for 
createNetwork(), deploying VM in an isolated..

commit 9c2e6f5ed45522ff68131556028f3fb4ff91ee90

Review for this patch is tracked in https://reviews.apache.org/r/22709/

Test results:
# Validate that Admin should be able to create network for himslef ... === 
TestName: test_01_createNetwork_admin | Status : SUCCESS ===
ok
# Validate that Admin should be able to create network for users in his domain 
... === TestName: test_02_createNetwork_admin_foruserinsamedomain | Status : 
SUCCESS ===
ok
# Validate that Admin should be able to create network for users in his sub 
domain ... === TestName: test_03_createNetwork_admin_foruserinotherdomain | 
Status : SUCCESS ===
ok
# Validate that Domain admin should be able to create network for himslef ... 
=== TestName: test_04_createNetwork_domaindmin | Status : SUCCESS ===
ok
# Validate that Domain admin should be able to create network for users in his 
domain ... === TestName: test_05_createNetwork_domaindmin_foruserinsamedomain | 
Status : SUCCESS ===
ok
# Validate that Domain admin should be able to create network for users in his 
sub domain ... === TestName: 
test_06_createNetwork_domaindmin_foruserinsubdomain | Status : SUCCESS ===
ok
# Validate that Domain admin should not be able to create network for users in 
his sub domain ... === TestName: 
test_07_createNetwork_domaindmin_forcrossdomainuser | Status : SUCCESS ===
ok
# Validate that Regular should be able to create network for himslef ... === 
TestName: test_08_createNetwork_user | Status : SUCCESS ===
ok
# Validate that  Regular user should NOT be able to create network for users in 
his domain ... === TestName: test_09_createNetwork_user_foruserinsamedomain | 
Status : SUCCESS ===
ok
# Validate that Domain admin should be NOT be able to create network for users 
in other domains ... === TestName: 
test_10_createNetwork_user_foruserinotherdomain | Status : SUCCESS ===
ok
# Validate that Admin should be able to deploy VM in the networks he owns ... 
=== TestName: test_11_deployvm_admin | Status : SUCCESS ===
ok
# Validate that Admin should be able to deploy Vm  for users in his domain ... 
=== TestName: test_12_deployvm_admin_foruserinsamedomain | Status : SUCCESS ===
ok
# Validate that Admin should not be able deploy VM for a user in a network that 
does not belong to the user ... === TestName: 
test_13_1_deployvm_admin_foruserinotherdomain_crossnetwork | Status : SUCCESS 
===
ok
# Validate that Domain admin should be able to deploy vm for himslef ... === 
TestName: test_14_deployvm_domaindmin | Status : SUCCESS ===
ok
# Validate that Domain admin should be able to deploy vm for users in his 
domain ... === TestName: test_15_deployvm_domaindmin_foruserinsamedomain | 
Status : SUCCESS ===
ok
# Validate that Domain admin should be able to deploy vm for users in his sub 
domain ... === TestName: test_16_deployvm_domaindmin_foruserinsubdomain | 
Status : SUCCESS ===
ok
# Validate that Domain admin should not be able deploy VM for a user in a 
network that does not belong to the user ... === TestName: 
test_17_1_deployvm_domainadmin_foruserinotherdomain_crossnetwork | Status : 
SUCCESS ===
ok
# Validate that Domain admin should not be able allowed to deploy vm for users 
not in his sub domain ... === TestName: 
test_17_deployvm_domaindmin_forcrossdomainuser | Status : SUCCESS ===
ok
# Validate that Regular should be able to deploy vm for himslef ... === 
TestName: test_18_deployvm_user | Status : SUCCESS ===
ok
# Validate that Regular user should NOT be able to deploy vm for users in his 
domain ... === TestName: test_19_deployvm_user_foruserinsamedomain | Status : 
SUCCESS ===
ok
#Validate that User should not be able deploy VM in a network that does not 
belong to him ... === TestName: test_20_1_deployvm_user_incrossnetwork | Status 
: SUCCESS ===
ok
# Validate that Regular user should NOT be able to deploy vm for users in his 
domain ... === TestName: test_20_deployvm_user_foruserincrossdomain | Status : 
SUCCESS ===
ok
#Validate that Admin should be able to restart network for networks he owns ... 
=== TestName: test_21_restartNetwork_admin | Status : SUCCESS ===
ok
# Validate that Admin should be able to restart network for users in his domain 
... === TestName: test_22_restartNetwork_admin_foruserinsamedomain | Status : 
SUCCESS ===
ok
# Validate that Admin should be able to restart network for users in his sub 
domain ... === TestName: test_23_restartNetwork_admin_foruserinotherdomain | 
Status : SUCCESS ===
ok
# Validate that Domain admin should be able to restart network for himslef ... 
=== TestName: test_24_restartNetwork_domaindmin | Status : SUCCESS ===
ok
# Validate that Domain admin should be able to restart network for users in his 
domain ... === TestName: test_25_restartNetwork_domaindmin_foruserinsamedomain 
| Status : SUCCESS ===
ok
# Validate that Domain admin should be able to restart network for users in his 
sub domain ... === TestName: 
test_26_restartNetwork_domaindmin_foruserinsubdomain | Status : SUCCESS ===
ok
# Validate that Domain admin should be able to restart network for users in his 
sub domain ... === TestName: 
test_27_restartNetwork_domaindmin_forcrossdomainuser | Status : SUCCESS ===
ok
#Validate that  Regular should be able to restart network for himslef ... === 
TestName: test_28_restartNetwork_user | Status : SUCCESS ===
ok
#Validate that Regular user should NOT be able to restart network for users in 
his domain ... === TestName: test_29_restartNetwork_user_foruserinsamedomain | 
Status : SUCCESS ===
ok
#Validate that Domain admin should be NOT be able to restart network for users 
in other domains ... === TestName: 
test_30_restartNetwork_user_foruserinotherdomain | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 33 tests in 255.818s

OK


> [Automation] - Automate ACL test cases relating to isolate Network for 
> createNetwork(), restartNetwork() and deploying Vms in a isolated network.
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7002
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7002
>             Project: CloudStack
>          Issue Type: Task
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Automation
>    Affects Versions: 4.4.0
>            Reporter: Sangeetha Hariharan
>            Assignee: Sangeetha Hariharan
>             Fix For: 4.4.0
>
>
> [Automation] - Automate ACL test cases relating to isolate Network for 
> createNetwork(), restartNetwork() and deploying Vms in a isolated network.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to