-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/25722/
-----------------------------------------------------------

Review request for cloudstack, edison su, Min Chen, Prachi Damle, and Santhosh 
Edukulla.


Repository: cloudstack-git


Description
-------

CLOUDSTACK-7567 - Automate ACL test cases relating to depoying VM in shared 
network with different scopes - All/Domain/Domain with subdomain/Account for 
Admin, domain admin and regular users.

This test suite contains test cases that validates access checks relating to 
depoying VM in shared network with different scopes - All/Domain/Domain with 
subdomain/Account for Admin, domain admin and regular users.


Diffs
-----

  test/integration/component/test_acl_sharednetwork.py PRE-CREATION 

Diff: https://reviews.apache.org/r/25722/diff/


Testing
-------

Tested on simulator build from master branch:

Validate that admin user in ROOT domain is NOT allowed to deploy VM in a shared 
network created with scope="account" for an account ... === TestName: 
test_deployVM_in_sharedNetwork_scope_account_ROOTadmin | Status : SUCCESS ===
ok
Validate that user in ROOT domain is NOT allowed to deploy VM in a shared 
network created with scope="account" for an account ... === TestName: 
test_deployVM_in_sharedNetwork_scope_account_ROOTuser | Status : SUCCESS ===
ok
Validate that regular user from a domain different from that of the account is 
NOT allowed to deploy VM in a shared network created with scope="account" for 
an account ... === TestName: 
test_deployVM_in_sharedNetwork_scope_account_differentdomain | Status : SUCCESS 
===
ok
Validate that an admin user under the same domain but belonging to a different 
account is allowed to deploy VM in a shared network created with 
scope="account" for an account ... === TestName: 
test_deployVM_in_sharedNetwork_scope_account_domainadminuser | Status : SUCCESS 
===
ok
Validate that any other user in same domain is NOT allowed to deploy VM in a 
shared network created with scope="account" for an account ... === TestName: 
test_deployVM_in_sharedNetwork_scope_account_domainuser | Status : SUCCESS ===
ok
Validate that regular user in the account is allowed to deploy VM in a shared 
network created with scope="account" for an account ... === TestName: 
test_deployVM_in_sharedNetwork_scope_account_user | Status : SUCCESS ===
ok
Validate that admin user in ROOT domain is allowed to deploy VM in a shared 
network created with scope="all" ... === TestName: 
test_deployVM_in_sharedNetwork_scope_all_ROOTadmin | Status : SUCCESS ===
ok
Validate that regular user in ROOT domain is allowed to deploy VM in a shared 
network created with scope="all" ... === TestName: 
test_deployVM_in_sharedNetwork_scope_all_ROOTuser | Status : SUCCESS ===
ok
Validate that regular user in "ROOT" domain is allowed to deploy VM in a shared 
network created with scope="all" ... === TestName: 
test_deployVM_in_sharedNetwork_scope_all_domainadminuser | Status : SUCCESS ===
ok
Validate that regular user in a domain is allowed to deploy VM in a shared 
network created with scope="all" ... === TestName: 
test_deployVM_in_sharedNetwork_scope_all_domainuser | Status : SUCCESS ===
ok
Validate that regular user in a subdomain under ROOT is allowed to deploy VM in 
a shared network created with scope="all" ... === TestName: 
test_deployVM_in_sharedNetwork_scope_all_subdomainadminuser | Status : SUCCESS 
===
ok
Validate that regular user in any subdomain is allowed to deploy VM in a shared 
network created with scope="all" ... === TestName: 
test_deployVM_in_sharedNetwork_scope_all_subdomainuser | Status : SUCCESS ===
ok
Validate that admin in ROOT domain is NOT allowed to deploy VM in a shared 
network created with scope="domain" and no subdomain access ... === TestName: 
test_deployVM_in_sharedNetwork_scope_domain_nosubdomainaccess_ROOTadmin | 
Status : SUCCESS ===
ok
Validate that user in ROOT domain is NOT allowed to deploy VM in a shared 
network created with scope="domain" and no subdomain access ... === TestName: 
test_deployVM_in_sharedNetwork_scope_domain_nosubdomainaccess_ROOTuser | Status 
: SUCCESS ===
ok
Validate that admin user in a domain is allowed to deploy VM in a shared 
network created with scope="domain" and no subdomain access ... === TestName: 
test_deployVM_in_sharedNetwork_scope_domain_nosubdomainaccess_domainadminuser | 
Status : SUCCESS ===
ok
Validate that regular user in a domain is allowed to deploy VM in a shared 
network created with scope="domain" and no subdomain access ... === TestName: 
test_deployVM_in_sharedNetwork_scope_domain_nosubdomainaccess_domainuser | 
Status : SUCCESS ===
ok
Validate that admin user in the parent domain is NOT allowed to deploy VM in a 
shared network created with scope="domain" and no subdomain access ... === 
TestName: 
test_deployVM_in_sharedNetwork_scope_domain_nosubdomainaccess_parentdomainadminuser
 | Status : SUCCESS ===
ok
Validate that user in the parent domain is NOT allowed to deploy VM in a shared 
network created with scope="domain" and no subdomain access ... === TestName: 
test_deployVM_in_sharedNetwork_scope_domain_nosubdomainaccess_parentdomainuser 
| Status : SUCCESS ===
ok
Validate that admin user in a subdomain is NOT allowed to deploy VM in a shared 
network created with scope="domain" and no subdomain access ... === TestName: 
test_deployVM_in_sharedNetwork_scope_domain_nosubdomainaccess_subdomainadminuser
 | Status : SUCCESS ===
ok
Validate that regular user in a subdomain is NOT allowed to deploy VM in a 
shared network created with scope="domain" and no subdomain access ... === 
TestName: 
test_deployVM_in_sharedNetwork_scope_domain_nosubdomainaccess_subdomainuser | 
Status : SUCCESS ===
ok
Validate that admin user in ROOT domain is NOT allowed to deploy VM in a shared 
network created with scope="domain" and  with subdomain access for any domain 
... === TestName: 
test_deployVM_in_sharedNetwork_scope_domain_withsubdomainaccess_ROOTadmin | 
Status : SUCCESS ===
ok
Validate that regular user in ROOT domain is NOT allowed to deploy VM in a 
shared network created with scope="domain" and  with subdomain access for any 
domain ... === TestName: 
test_deployVM_in_sharedNetwork_scope_domain_withsubdomainaccess_ROOTuser | 
Status : SUCCESS ===
ok
Validate that admin user in a domain is allowed to deploy VM in a shared 
network created with scope="domain" and  with subdomain access for the domain 
... === TestName: 
test_deployVM_in_sharedNetwork_scope_domain_withsubdomainaccess_domainadminuser 
| Status : SUCCESS ===
ok
Validate that regular user in a domain is allowed to deploy VM in a shared 
network created with scope="domain" and  with subdomain access for the domain 
... === TestName: 
test_deployVM_in_sharedNetwork_scope_domain_withsubdomainaccess_domainuser | 
Status : SUCCESS ===
ok
Validate that admin user in a parent domain is NOT allowed to deploy VM in a 
shared network created with scope="domain" and  with subdomain access for any 
domain ... === TestName: 
test_deployVM_in_sharedNetwork_scope_domain_withsubdomainaccess_parentdomainadminuser
 | Status : SUCCESS ===
ok
Validate that regular user in a parent domain is NOT allowed to deploy VM in a 
shared network created with scope="domain" and  with subdomain access for the 
domain ... === TestName: 
test_deployVM_in_sharedNetwork_scope_domain_withsubdomainaccess_parentdomainuser
 | Status : SUCCESS ===
ok
Validate that an admin user in a subdomain is allowed to deploy VM in a shared 
network created with scope="domain" and  with subdomain access for the parent 
domain ... === TestName: 
test_deployVM_in_sharedNetwork_scope_domain_withsubdomainaccess_subdomainadminuser
 | Status : SUCCESS ===
ok
Validate that regular user in a subdomain is allowed to deploy VM in a shared 
network created with scope="domain" and  with subdomain access  for the parent 
domain ... === TestName: 
test_deployVM_in_sharedNetwork_scope_domain_withsubdomainaccess_subdomainuser | 
Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 28 tests in 125.258s

OK


Thanks,

sangeetha hariharan

Reply via email to