From 7877f3f9603b967680cf9480cb6e51845a81ddd8 Mon Sep 17 00:00:00 2001 From: Sangeetha Hariharan Date: Fri, 19 Sep 2014 14:51:10 -0700 Subject: [PATCH] CLOUDSTACK-7587 - Automation - Add simulator_only attribute to acl related test cases. --- .../component/test_acl_isolatednetwork.py | 66 +++--- .../test_acl_isolatednetwork_delete.py | 20 +- .../component/test_acl_listsnapshot.py | 190 +++++++++--------- test/integration/component/test_acl_listvm.py | 190 +++++++++--------- .../component/test_acl_listvolume.py | 190 +++++++++--------- .../component/test_acl_sharednetwork.py | 56 +++--- ...cl_sharednetwork_deployVM-impersonation.py | 102 +++++----- 7 files changed, 407 insertions(+), 407 deletions(-) diff --git a/test/integration/component/test_acl_isolatednetwork.py b/test/integration/component/test_acl_isolatednetwork.py index 59119f15c6e..b1e2575a0c3 100644 --- a/test/integration/component/test_acl_isolatednetwork.py +++ b/test/integration/component/test_acl_isolatednetwork.py @@ -357,7 +357,7 @@ class TestIsolatedNetwork(cloudstackTestCase): ## Test cases relating to createNetwork as admin user - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_01_createNetwork_admin(self): """ @@ -380,7 +380,7 @@ class TestIsolatedNetwork(cloudstackTestCase): "Admin User is not able to create a network for himself") - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_02_createNetwork_admin_foruserinsamedomain(self): """ @@ -404,7 +404,7 @@ class TestIsolatedNetwork(cloudstackTestCase): True, "Admin User is not able to create a network for other users in his domain") - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_03_createNetwork_admin_foruserinotherdomain(self): """ @@ -430,7 +430,7 @@ class TestIsolatedNetwork(cloudstackTestCase): ## Test cases relating to createNetwork as domain admin user - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_04_createNetwork_domaindmin(self): """ @@ -453,7 +453,7 @@ class TestIsolatedNetwork(cloudstackTestCase): "Domain admin User is not able to create a network for himself") - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_05_createNetwork_domaindmin_foruserinsamedomain(self): """ @@ -477,7 +477,7 @@ class TestIsolatedNetwork(cloudstackTestCase): True, "Domain admin User is not able to create a network for other users in his domain") - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_06_createNetwork_domaindmin_foruserinsubdomain(self): """ @@ -501,7 +501,7 @@ class TestIsolatedNetwork(cloudstackTestCase): True, "Domain admin User is not able to create a network for other users in his sub domain") - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_07_createNetwork_domaindmin_forcrossdomainuser(self): """ @@ -528,7 +528,7 @@ class TestIsolatedNetwork(cloudstackTestCase): ## Test cases relating to createNetwork as regular user - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_08_createNetwork_user(self): """ @@ -551,7 +551,7 @@ class TestIsolatedNetwork(cloudstackTestCase): "User is not able to create a network for himself") - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_09_createNetwork_user_foruserinsamedomain(self): """ @@ -577,7 +577,7 @@ class TestIsolatedNetwork(cloudstackTestCase): if not CloudstackAclException.verifyMsginException(e,CloudstackAclException.UNABLE_TO_LIST_NETWORK_ACCOUNT): self.fail("Error message validation failed when when User tries to create network for other users in his domain ") - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_10_createNetwork_user_foruserinotherdomain(self): """ @@ -606,7 +606,7 @@ class TestIsolatedNetwork(cloudstackTestCase): ## Test cases relating to Deploying VM in a network as admin user - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_11_deployvm_admin(self): """ @@ -630,7 +630,7 @@ class TestIsolatedNetwork(cloudstackTestCase): "Admin User is not able to deploy VM in his own network") - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_12_deployvm_admin_foruserinsamedomain(self): """ @@ -655,7 +655,7 @@ class TestIsolatedNetwork(cloudstackTestCase): True, "Admin User is not able to deploy VM for users in his domain") - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_13_deployvm_admin_foruserinotherdomain(self): """ @@ -680,7 +680,7 @@ class TestIsolatedNetwork(cloudstackTestCase): True, "Admin User is not able to deploy VM for users users in other domain") - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_13_1_deployvm_admin_foruserinotherdomain_crossnetwork(self): """ @@ -708,7 +708,7 @@ class TestIsolatedNetwork(cloudstackTestCase): ## Test cases relating to deploying VM as domain admin user - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_14_deployvm_domaindmin(self): """ @@ -732,7 +732,7 @@ class TestIsolatedNetwork(cloudstackTestCase): "Domain admin User is not able to deploy VM for himself") - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_15_deployvm_domaindmin_foruserinsamedomain(self): """ @@ -756,7 +756,7 @@ class TestIsolatedNetwork(cloudstackTestCase): True, "Domain admin User is not able to deploy VM for other users in his domain") - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_16_deployvm_domaindmin_foruserinsubdomain(self): """ @@ -780,7 +780,7 @@ class TestIsolatedNetwork(cloudstackTestCase): True, "Domain admin User is not able to deploy vm for himself") - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_17_deployvm_domaindmin_forcrossdomainuser(self): """ @@ -807,7 +807,7 @@ class TestIsolatedNetwork(cloudstackTestCase): if not CloudstackAclException.verifyMsginException(e,CloudstackAclException.NO_PERMISSION_TO_OPERATE_DOMAIN): self.fail("Error message validation failed when Domain admin tries to deploy vm for users not in hos domain ") - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_17_1_deployvm_domainadmin_foruserinotherdomain_crossnetwork(self): """ @@ -835,7 +835,7 @@ class TestIsolatedNetwork(cloudstackTestCase): ## Test cases relating to deploying VM as regular user - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_18_deployvm_user(self): """ @@ -858,7 +858,7 @@ class TestIsolatedNetwork(cloudstackTestCase): "User is not able to deploy vm for himself") - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_19_deployvm_user_foruserinsamedomain(self): """ @@ -885,7 +885,7 @@ class TestIsolatedNetwork(cloudstackTestCase): if not CloudstackAclException.verifyMsginException(e,CloudstackAclException.NO_PERMISSION_TO_OPERATE_ACCOUNT): self.fail("Error message validation failed when Regular user tries to deploy vm for other users in his domain ") - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_20_deployvm_user_foruserincrossdomain(self): """ @@ -912,7 +912,7 @@ class TestIsolatedNetwork(cloudstackTestCase): if not CloudstackAclException.verifyMsginException(e,CloudstackAclException.NO_PERMISSION_TO_OPERATE_ACCOUNT): self.fail("Error message validation failed when Regular user tries to deploy vm for users not in his domain ") - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_20_1_deployvm_user_incrossnetwork(self): """ @@ -938,7 +938,7 @@ class TestIsolatedNetwork(cloudstackTestCase): ## Test cases relating to restart Network as admin user - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_21_restartNetwork_admin(self): """ @@ -954,7 +954,7 @@ class TestIsolatedNetwork(cloudstackTestCase): "Admin User is not able to restart network he owns") - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_22_restartNetwork_admin_foruserinsamedomain(self): """ @@ -969,7 +969,7 @@ class TestIsolatedNetwork(cloudstackTestCase): True, "Admin User is not able to restart network owned by users his domain") - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_23_restartNetwork_admin_foruserinotherdomain(self): """ @@ -986,7 +986,7 @@ class TestIsolatedNetwork(cloudstackTestCase): ## Test cases relating to restart Network as domain admin user - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_24_restartNetwork_domaindmin(self): """ @@ -1002,7 +1002,7 @@ class TestIsolatedNetwork(cloudstackTestCase): "Domain admin User is not able to restart network for himself") - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_25_restartNetwork_domaindmin_foruserinsamedomain(self): """ @@ -1016,7 +1016,7 @@ class TestIsolatedNetwork(cloudstackTestCase): True, "Domain admin User is not able to restart network for other users in his domain") - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_26_restartNetwork_domaindmin_foruserinsubdomain(self): """ @@ -1030,7 +1030,7 @@ class TestIsolatedNetwork(cloudstackTestCase): True, "Domain admin User is not able to restart network he owns") - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_27_restartNetwork_domaindmin_forcrossdomainuser(self): """ @@ -1049,7 +1049,7 @@ class TestIsolatedNetwork(cloudstackTestCase): ## Test cases relating restart network as regular user - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_28_restartNetwork_user(self): """ @@ -1064,7 +1064,7 @@ class TestIsolatedNetwork(cloudstackTestCase): "User is not able to restart network he owns") - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_29_restartNetwork_user_foruserinsamedomain(self): """ @@ -1081,7 +1081,7 @@ class TestIsolatedNetwork(cloudstackTestCase): if not CloudstackAclException.verifyMsginException(e,CloudstackAclException.NO_PERMISSION_TO_OPERATE_ACCOUNT): self.fail("Error message validation failed when Regular user tries to restart network for users in his domain ") - @attr(tags=[ "advanced"],required_hardware="false") + @attr("simulator_only",tags=[ "advanced"],required_hardware="false") def test_30_restartNetwork_user_foruserinotherdomain(self): """ diff --git a/test/integration/component/test_acl_isolatednetwork_delete.py b/test/integration/component/test_acl_isolatednetwork_delete.py index 3d09390c1ab..9d34e88f0c0 100644 --- a/test/integration/component/test_acl_isolatednetwork_delete.py +++ b/test/integration/component/test_acl_isolatednetwork_delete.py @@ -343,7 +343,7 @@ class TestIsolatedNetworkDelete(cloudstackTestCase): ## Test cases relating to delete Network as admin user - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deleteNetwork_admin(self): """ Validate that Admin should be able to delete network he owns @@ -359,7 +359,7 @@ class TestIsolatedNetworkDelete(cloudstackTestCase): "Admin User is not able to restart network he owns") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deleteNetwork_admin_foruserinsamedomain(self): """ @@ -375,7 +375,7 @@ class TestIsolatedNetworkDelete(cloudstackTestCase): None, "Admin User is not able to delete network owned by users his domain") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deleteNetwork_admin_foruserinotherdomain(self): # Validate that Admin should be able to delete network for users in his sub domain @@ -391,7 +391,7 @@ class TestIsolatedNetworkDelete(cloudstackTestCase): ## Test cases relating to delete Network as domain admin user - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deleteNetwork_domaindmin(self): """ Validate that Domain admin should be able to delete network for himslef @@ -407,7 +407,7 @@ class TestIsolatedNetworkDelete(cloudstackTestCase): "Domain admin User is not able to delete a network he owns") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deleteNetwork_domaindmin_foruserinsamedomain(self): """ @@ -422,7 +422,7 @@ class TestIsolatedNetworkDelete(cloudstackTestCase): None, "Domain admin User is not able to delete a network that is owned by user in the same domain") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deleteNetwork_domaindmin_foruserinsubdomain(self): """ @@ -438,7 +438,7 @@ class TestIsolatedNetworkDelete(cloudstackTestCase): None, "Domain admin User is not able to delete a network that is owned by user in the subdomain") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deleteNetwork_domaindmin_forcrossdomainuser(self): """ @@ -458,7 +458,7 @@ class TestIsolatedNetworkDelete(cloudstackTestCase): ## Test cases relating deleting network as regular user - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deleteNetwork_user(self): """ @@ -475,7 +475,7 @@ class TestIsolatedNetworkDelete(cloudstackTestCase): "User is not able to delete a network he owns") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deleteNetwork_user_foruserinsamedomain(self): """ @@ -492,7 +492,7 @@ class TestIsolatedNetworkDelete(cloudstackTestCase): if not CloudstackAclException.verifyMsginException(e,CloudstackAclException.NO_PERMISSION_TO_OPERATE_ACCOUNT): self.fail("Regular user is allowed to delete network for users in his domain ") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deleteNetwork_user_foruserinotherdomain(self): """ diff --git a/test/integration/component/test_acl_listsnapshot.py b/test/integration/component/test_acl_listsnapshot.py index ac8748d0b4f..394072d9c64 100644 --- a/test/integration/component/test_acl_listsnapshot.py +++ b/test/integration/component/test_acl_listsnapshot.py @@ -384,7 +384,7 @@ class TestSnapshotList(cloudstackTestCase): ## Domain Admin - Test cases with listall =true - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_domainadmin_listall_true(self): """ Test listing of Snapshots by passing listall="true" parameter as domain admin @@ -417,7 +417,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_domainadmin_listall_true_rec_true(self): """ Test listing of Snapshots by passing listall="true"i and isrecusriv="true" parameter as domain admin @@ -450,7 +450,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_domainadmin_listall_true_rec_false(self): """ Test listing of Snapshots by passing listall="true" and isrecusriv="false" parameter as domain admin @@ -485,7 +485,7 @@ class TestSnapshotList(cloudstackTestCase): ## Domain Admin - Test cases with listall=false - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_domainadmin_listall_false(self): """ Test listing of Snapshots by passing listall="false" parameter as domain admin @@ -510,7 +510,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_domainadmin_listall_false_rec_true(self): """ Test listing of Snapshots by passing listall="false" and isrecusrive="true" parameter as domain admin @@ -535,7 +535,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_domainadmin_listall_false_rec_false(self): """ Test listing of Snapshots by passing listall="false" and isrecusrive="false" parameter as domain admin @@ -561,7 +561,7 @@ class TestSnapshotList(cloudstackTestCase): ## Domain Admin - Test cases without passing listall paramter - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_domainadmin(self): """ Test listing of Snapshots by passing no parameter as domain admin @@ -586,7 +586,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_domainadmin_rec_true(self): """ Test listing of Snapshots by passing isrecusrive="true" parameter as domain admin @@ -611,7 +611,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_domainadmin_true_rec_false(self): """ Test listing of Snapshots by passing isrecusrive="false" parameter as domain admin @@ -638,7 +638,7 @@ class TestSnapshotList(cloudstackTestCase): ## Domain Admin - Test cases when domainId is passed with listall =true - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_domainadmin_domainid_listall_true(self): """ Test listing of Snapshots by passing domainId and listall="true" parameter as domain admin @@ -665,7 +665,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_domainadmin_domainid_listall_true_rec_true(self): """ Test listing of Snapshots by passing domainId ,listall="true" and isrecursive="true" parameter as domain admin @@ -693,7 +693,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_domainadmin_domainid_listall_true_rec_false(self): """ Test listing of Snapshots by passing domainId ,listall="true" and isrecursive="false" parameter as domain admin @@ -723,7 +723,7 @@ class TestSnapshotList(cloudstackTestCase): ## Domain Admin - Test cases when domainId is passed with listall=false - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_domainadmin_domainid_listall_false(self): """ Test listing of Snapshots by passing domainId ,listall="false" parameter as domain admin @@ -750,7 +750,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_domainadmin_domainid_listall_false_rec_true(self): """ Test listing of Snapshots by passing domainId ,listall="false" and isrecursive="true" parameter as domain admin @@ -778,7 +778,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_domainadmin_domainid_listall_false_rec_false(self): """ Test listing of Snapshots by passing domainId ,listall="false" and isrecursive="false" parameter as domain admin @@ -808,7 +808,7 @@ class TestSnapshotList(cloudstackTestCase): ## Domain Admin - Test cases when domainId is passed with no listall parameter - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_domainadmin_domainid(self): """ @@ -835,7 +835,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_domainadmin_domainid_rec_true(self): """ Test listing of Snapshots by passing domainId and isrecursive="true" parameter as domain admin @@ -863,7 +863,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_domainadmin_domainid_rec_false(self): """ Test listing of Snapshots by passing domainId and isrecursive="false" parameter as domain admin @@ -893,7 +893,7 @@ class TestSnapshotList(cloudstackTestCase): ## Domain Admin - Test cases when account and domainId is passed with listall =true - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_domainadmin_domainid_accountid_listall_true(self): """ Test listing of Snapshots by passing account ,domainId and listall="true" parameter as domain admin @@ -918,7 +918,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_domainadmin_domainid_accountid_listall_true_rec_true(self): """ Test listing of Snapshots by passing account ,domainId and listall="true" and isrecursive="true" parameter as domain admin @@ -943,7 +943,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_domainadmin_domainid_accountid_listall_true_rec_false(self): """ Test listing of Snapshots by passing account ,domainId , listall="true" and isrecursive="false" parameter as domain admin @@ -971,7 +971,7 @@ class TestSnapshotList(cloudstackTestCase): ## Domain Admin - Test cases when account and domainId is passed with listall=false - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_domainadmin_domainid_accountid_listall_false(self): """ Test listing of Snapshots by passing account ,domainId and listall="false" parameter as domain admin @@ -996,7 +996,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_domainadmin_domainid_accountid_listall_false_rec_true(self): """ Test listing of Snapshots by passing account ,domainId and listall="false" and isrecursive="true" parameter as domain admin @@ -1021,7 +1021,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_domainadmin_domainid_accountid_listall_false_rec_false(self): """ Test listing of Snapshots by passing account ,domainId , listall="false" and isrecursive="false" parameter as domain admin @@ -1048,7 +1048,7 @@ class TestSnapshotList(cloudstackTestCase): ## Domain Admin - Test cases when account and domainId is passed with listall not passed - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_domainadmin_domainid_accountid(self): """ Test listing of Snapshots by passing account ,domainId parameter as domain admin @@ -1073,7 +1073,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_domainadmin_domainid_accountid_rec_true(self): """ Test listing of Snapshots by passing account ,domainId and isrecursive="true" parameter as domain admin @@ -1098,7 +1098,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_domainadmin_domainid_accountid_rec_false(self): """ Test listing of Snapshots by passing account ,domainId and isrecursive="false" parameter as domain admin @@ -1125,7 +1125,7 @@ class TestSnapshotList(cloudstackTestCase): ## ROOT Admin - Test cases with listall =true - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_rootadmin_listall_true(self): """ Test listing of Snapshots by passing listall="true" parameter as admin @@ -1161,7 +1161,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_rootadmin_listall_true_rec_true(self): """ Test listing of Snapshots by passing listall="true" and isrecusrive="true" parameter as admin @@ -1197,7 +1197,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_rootadmin_listall_true_rec_false(self): """ Test listing of Snapshots by passing listall="true" and isrecusrive="false" parameter as admin @@ -1234,7 +1234,7 @@ class TestSnapshotList(cloudstackTestCase): ## ROOT Admin - Test cases with listall=false - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_rootadmin_listall_false(self): """ Test listing of Snapshots by passing listall="false" parameter as admin @@ -1259,7 +1259,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_rootadmin_listall_false_rec_true(self): """ Test listing of Snapshots by passing listall="false" and isrecusrive="true" parameter as admin @@ -1285,7 +1285,7 @@ class TestSnapshotList(cloudstackTestCase): "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_rootadmin_listall_false_rec_false(self): """ Test listing of Snapshots by passing listall="false" and isrecusrive="false" parameter as admin @@ -1314,7 +1314,7 @@ class TestSnapshotList(cloudstackTestCase): ## ROOT Admin - Test cases without passing listall paramter - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_rootadmin(self): """ Test listing of Snapshots by passing no parameter as admin @@ -1340,7 +1340,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_rootadmin_rec_true(self): """ Test listing of Snapshots by passing isrecusrive="true" parameter as admin @@ -1365,7 +1365,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_rootadmin_rec_false(self): """ Test listing of Snapshots by passing isrecusrive="false" parameter as admin @@ -1392,7 +1392,7 @@ class TestSnapshotList(cloudstackTestCase): ## ROOT Admin - Test cases when domainId is passed with listall =true - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_rootadmin_domainid_listall_true(self): """ Test listing of Snapshots by passing domainid and listall="true" parameter as admin @@ -1419,7 +1419,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_rootadmin_domainid_listall_true_rec_true(self): """ Test listing of Snapshots by passing domainid , listall="true" and isrecusrive="true" parameter as admin @@ -1447,7 +1447,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_rootadmin_domainid_listall_true_rec_false(self): """ Test listing of Snapshots by passing domainid, listall="true" and isrecusrive="false" parameter as admin @@ -1477,7 +1477,7 @@ class TestSnapshotList(cloudstackTestCase): ## ROOT Admin - Test cases when domainId is passed with listall=false - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_rootadmin_domainid_listall_false(self): """ Test listing of Snapshots by passing domainid, listall="false" parameter as admin @@ -1504,7 +1504,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_rootadmin_domainid_listall_false_rec_true(self): """ Test listing of Snapshots by passing domainid, listall="false" and isrecusrive="true" parameter as admin @@ -1532,7 +1532,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_rootadmin_domainid_listall_false_rec_false(self): """ Test listing of Snapshots by passing domainid, listall="false" and isrecusrive="false" parameter as admin @@ -1562,7 +1562,7 @@ class TestSnapshotList(cloudstackTestCase): ## ROOT Admin - Test cases when domainId is passed with no listall parameter - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_rootadmin_domainid(self): """ Test listing of Snapshots by passing domainid parameter as admin @@ -1589,7 +1589,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_rootadmin_domainid_rec_true(self): """ Test listing of Snapshots by passing domainid and isrecusrive="true" parameter as admin @@ -1617,7 +1617,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_rootadmin_domainid_rec_false(self): """ Test listing of Snapshots by passing domainid and isrecusrive="false" parameter as admin @@ -1647,7 +1647,7 @@ class TestSnapshotList(cloudstackTestCase): ## ROOT Admin - Test cases when account and domainId is passed with listall =true - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_rootadmin_domainid_accountid_listall_true(self): """ Test listing of Snapshots by passing domainid,account ,listall = "true" parameter as admin @@ -1672,7 +1672,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_rootadmin_domainid_accountid_listall_true_rec_true(self): """ Test listing of Snapshots by passing domainid,account ,listall = "true" and isrecusrive="true" parameter as admin @@ -1697,7 +1697,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_rootadmin_domainid_accountid_listall_true_rec_false(self): """ Test listing of Snapshots by passing domainid,account ,listall = "true" and isrecusrive="false" parameter as admin @@ -1725,7 +1725,7 @@ class TestSnapshotList(cloudstackTestCase): ## ROOT Admin - Test cases when account and domainId is passed with listall=false - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_rootadmin_domainid_accountid_listall_false(self): """ Test listing of Snapshots by passing domainid,account ,listall = "false" parameter as admin @@ -1750,7 +1750,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_rootadmin_domainid_accountid_listall_false_rec_true(self): """ Test listing of Snapshots by passing domainid,account ,listall = "false" and isrecusrive="false" parameter as admin @@ -1775,7 +1775,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_rootadmin_domainid_accountid_listall_false_rec_false(self): """ Test listing of Snapshots by passing domainid,account ,listall = "false" and isrecusrive="false" parameter as admin @@ -1803,7 +1803,7 @@ class TestSnapshotList(cloudstackTestCase): ## ROOT Admin - Test cases when account and domainId is passed with listall not passed - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_rootadmin_domainid_accountid(self): """ Test listing of Snapshots by passing domainid,account parameter as admin @@ -1828,7 +1828,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_rootadmin_domainid_accountid_rec_true(self): """ Test listing of Snapshots by passing domainid,account and isrecusrive="true" parameter as admin @@ -1853,7 +1853,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_rootadmin_domainid_accountid_rec_false(self): """ Test listing of Snapshots by passing domainid,account and isrecusrive="false" parameter as admin @@ -1881,7 +1881,7 @@ class TestSnapshotList(cloudstackTestCase): ## Regular User - Test cases with listall =true - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_regularuser_listall_true(self): """ Test listing of Snapshots by passing listall="true" parameter as regular user @@ -1906,7 +1906,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_regularuser_listall_true_rec_true(self): """ Test listing of Snapshots by passing listall="true" and isrecusrive="true" parameter as regular user @@ -1931,7 +1931,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_regularuser_listall_true_rec_false(self): """ Test listing of Snapshots by passing listall="true" and isrecusrive="false" parameter as regular user @@ -1958,7 +1958,7 @@ class TestSnapshotList(cloudstackTestCase): ## Regular User - Test cases with listall=false - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_regularuser_listall_false(self): """ Test listing of Snapshots by passing domainid,account,listall="false" parameter as regular user @@ -1983,7 +1983,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_regularuser_listall_false_rec_true(self): """ Test listing of Snapshots by passing listall="false" and isrecusrive="true" parameter as regular user @@ -2009,7 +2009,7 @@ class TestSnapshotList(cloudstackTestCase): "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_regularuser_listall_false_rec_false(self): """ Test listing of Snapshots by passing listall="false" and isrecusrive="false" parameter as regular user @@ -2038,7 +2038,7 @@ class TestSnapshotList(cloudstackTestCase): ## Regular User - Test cases without passing listall paramter - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_regularuser(self): """ Test listing of Snapshots by passing no parameter as regular user @@ -2064,7 +2064,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_regularuser_rec_true(self): """ Test listing of Snapshots by passing isrecusrive="true" parameter as regular user @@ -2089,7 +2089,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_regularuser_rec_false(self): """ Test listing of Snapshots by passing isrecusrive="false" parameter as regular user @@ -2116,7 +2116,7 @@ class TestSnapshotList(cloudstackTestCase): ## Regular User - Test cases when domainId is passed with listall =true - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_regularuser_domainid_listall_true(self): """ Test listing of Snapshots by passing domainid,listall="true" parameter as regular user @@ -2141,7 +2141,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_regularuser_domainid_listall_true_rec_true(self): """ Test listing of Snapshots by passing domainid,listall="true" and isrecusrive="true" parameter as regular user @@ -2166,7 +2166,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_regularuser_domainid_listall_true_rec_false(self): """ Test listing of Snapshots by passing domainid,listall="true" and isrecusrive="false" parameter as regular user @@ -2194,7 +2194,7 @@ class TestSnapshotList(cloudstackTestCase): ## Regular User - Test cases when domainId is passed with listall=false - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_regularuser_domainid_listall_false(self): """ Test listing of Snapshots by passing domainid,listall="false" parameter as regular user @@ -2220,7 +2220,7 @@ class TestSnapshotList(cloudstackTestCase): "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_regularuser_domainid_listall_false_rec_true(self): """ Test listing of Snapshots by passing domainid,listall="false" and isrecusrive="true" parameter as regular user @@ -2247,7 +2247,7 @@ class TestSnapshotList(cloudstackTestCase): - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_regularuser_domainid_listall_false_rec_false(self): """ Test listing of Snapshots by passing domainid,listall="false" and isrecusrive="false" parameter as regular user @@ -2275,7 +2275,7 @@ class TestSnapshotList(cloudstackTestCase): ## Regular User - Test cases when domainId is passed with no listall parameter - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_regularuser_domainid(self): """ Test listing of Snapshots by passing domainid parameter as regular user @@ -2301,7 +2301,7 @@ class TestSnapshotList(cloudstackTestCase): "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_regularuser_domainid_true_rec_true(self): """ Test listing of Snapshots by passing domainid and isrecusrive="true" parameter as regular user @@ -2328,7 +2328,7 @@ class TestSnapshotList(cloudstackTestCase): - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_regularuser_domainid__rec_false(self): """ Test listing of Snapshots by passing domainid,isrecusrive="false" parameter as regular user @@ -2356,7 +2356,7 @@ class TestSnapshotList(cloudstackTestCase): ## Regular User - Test cases when account and domainId is passed with listall =true - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_regularuser_domainid_accountid_listall_true(self): """ Test listing of Snapshots by passing domainid,account,listall="true" parameter as regular user @@ -2381,7 +2381,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_regularuser_domainid_accountid_listall_true_rec_true(self): """ Test listing of Snapshots by passing domainid,account,listall="true" and isrecusrive="true" parameter as regular user @@ -2406,7 +2406,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_regularuser_domainid_accountid_listall_true_rec_false(self): """ Test listing of Snapshots by passing domainid,account,listall="true" and isrecusrive="false" parameter as regular user @@ -2434,7 +2434,7 @@ class TestSnapshotList(cloudstackTestCase): ## Regular User - Test cases when account and domainId is passed with listall=false - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_regularuser_domainid_accountid_listall_false(self): """ Test listing of Snapshots by passing domainid,account,listall="false" parameter as regular user @@ -2460,7 +2460,7 @@ class TestSnapshotList(cloudstackTestCase): "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_regularuser_domainid_accountid_listall_false_rec_true(self): """ Test listing of Snapshots by passing domainid,account,listall="false" and isrecusrive="true" parameter as regular user @@ -2485,7 +2485,7 @@ class TestSnapshotList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_regularuser_domainid_accountid_listall_false_rec_false(self): """ Test listing of Snapshots by passing domainid,account,listall="false" and isrecusrive="false" parameter as regular user @@ -2513,7 +2513,7 @@ class TestSnapshotList(cloudstackTestCase): ## Regular User - Test cases when account and domainId is passed with listall not passed - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_regularuser_domainid_accountid(self): """ Test listing of Snapshots by passing domainid,account parameter as regular user @@ -2539,7 +2539,7 @@ class TestSnapshotList(cloudstackTestCase): "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_regularuser_domainid_accountid_rec_true(self): """ Test listing of Snapshots by passing domainid,account and isrecusrive="true" parameter as regular user @@ -2565,7 +2565,7 @@ class TestSnapshotList(cloudstackTestCase): "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_regularuser_domainid_accountid_rec_false(self): """ Test listing of Snapshots by passing domainid,account isrecusrive="false" parameter as regular user @@ -2592,7 +2592,7 @@ class TestSnapshotList(cloudstackTestCase): ## Cross Domain access check - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_regularuser_cross_domainid_accountid(self): """ Regular User should not be allowed to list Snapshotss of other accounts in the same domain @@ -2607,7 +2607,7 @@ class TestSnapshotList(cloudstackTestCase): self.debug ("List as Regular User passing domainId and accountId of another account %s" %e) - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_regularuser_cross_domainid(self): """ Regular User should not be allowed to list Snapshotss of other accounts in other domains @@ -2622,7 +2622,7 @@ class TestSnapshotList(cloudstackTestCase): self.debug ("List as Regular User passing domainId of a domain that user does not belong to %s" %e) - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_domainadmin_cross_domainid_accountid(self): """ Domain admin should not be allowed to list Snapshotss of accounts in other domains @@ -2637,7 +2637,7 @@ class TestSnapshotList(cloudstackTestCase): self.debug ("List as domain admin passing domainId and accountId of another account %s" %e) - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_as_domainadmin_cross_domainid(self): """ Domain admin should not be allowed to list Snapshotss from other domains @@ -2653,7 +2653,7 @@ class TestSnapshotList(cloudstackTestCase): ## List test cases relating to filter - id - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_by_id_as_domainadmin_owns(self): """ Domain admin should be able to list Snapshots that he owns by passing uuid in "id" parameter @@ -2671,7 +2671,7 @@ class TestSnapshotList(cloudstackTestCase): 1, "Domain Admin is not able to list Snapshotss that belongs to him") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_by_id_as_domainadmin_ownedbyusersindomain(self): """ Domain admin should be able to list Snapshots that is owned by any account in his domain by passing uuid in "id" parameter @@ -2689,7 +2689,7 @@ class TestSnapshotList(cloudstackTestCase): 1, "Domain Admin is not able to list Snapshotss from his domain") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_by_id_as_domainadmin_ownedbyusersinsubdomain(self): """ Domain admin should be able to list Snapshots that is owned by any account in his sub-domain by passing uuid in "id" parameter @@ -2707,7 +2707,7 @@ class TestSnapshotList(cloudstackTestCase): 1, "Domain Admin is not able to list Snapshotss from his sub domain") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_by_id_as_domainadmin_ownedbyusersnotindomain(self): """ Domain admin should not be able to list Snapshots that is owned by account that is not in his domain by passing uuid in "id" parameter @@ -2721,7 +2721,7 @@ class TestSnapshotList(cloudstackTestCase): None, "Domain Admin is able to list Snapshotss from other domains!!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_by_id_as_domainadmin_ownedbyusersinsubdomain2(self): """ Domain admin should be able to list Snapshots that is owned by account that is in his sub domains by passing uuid in "id" parameter @@ -2740,7 +2740,7 @@ class TestSnapshotList(cloudstackTestCase): "Domain Admin is not able to list Snapshotss from his sub domains") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_by_id_as_rootadmin_owns(self): """ ROOT admin should be able to list Snapshots that is owned by account in his domains by passing uuid in "id" parameter @@ -2756,7 +2756,7 @@ class TestSnapshotList(cloudstackTestCase): 1, "ROOT Admin not able to list Snapshotss that he owns") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_by_id_as_rootadmin_Snapshotsownedbyothers(self): """ ROOT admin should be able to list Snapshots that is owned by any account iby passing uuid in "id" parameter @@ -2780,7 +2780,7 @@ class TestSnapshotList(cloudstackTestCase): 1, "ROOT Admin not able to list Snapshotss from other domains") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_by_id_as_user_own(self): """ Regular user should be able to list Snapshots that is owned by him by passing uuid in "id" parameter @@ -2799,7 +2799,7 @@ class TestSnapshotList(cloudstackTestCase): 1, "Regular User is not able to list Snapshotss that he owns") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_by_id_as_user_snapshotfromsamedomaindifferentaccount(self): """ Regular user should not be able to list Snapshots that is owned by different account in the same domain by passing uuid in "id" parameter @@ -2813,7 +2813,7 @@ class TestSnapshotList(cloudstackTestCase): None, "Regular User is able to list Snapshotss from other accounts") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_listSnapshot_by_id_as_user_snapshotfromotherdomain(self): """ Regular user should not be able to list Snapshots that is owned by different account in the different domain by passing uuid in "id" parameter diff --git a/test/integration/component/test_acl_listvm.py b/test/integration/component/test_acl_listvm.py index 398f98af059..de997183aa4 100644 --- a/test/integration/component/test_acl_listvm.py +++ b/test/integration/component/test_acl_listvm.py @@ -360,7 +360,7 @@ class TestVMList(cloudstackTestCase): ## Domain Admin - Test cases with listall =true - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_domainadmin_listall_true(self): """ # Test listing of Vms by passing listall="true" parameter as domain admin @@ -393,7 +393,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_domainadmin_listall_true_rec_true(self): """ # Test listing of Vms by passing listall="true"i and isrecusriv="true" parameter as domain admin @@ -426,7 +426,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_domainadmin_listall_true_rec_false(self): """ # Test listing of Vms by passing listall="true" and isrecusriv="false" parameter as domain admin @@ -461,7 +461,7 @@ class TestVMList(cloudstackTestCase): ## Domain Admin - Test cases with listall=false - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_domainadmin_listall_false(self): """ # Test listing of Vms by passing listall="false" parameter as domain admin @@ -486,7 +486,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_domainadmin_listall_false_rec_true(self): """ # Test listing of Vms by passing listall="false" and isrecusrive="true" parameter as domain admin @@ -511,7 +511,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_domainadmin_listall_false_rec_false(self): """ # Test listing of Vms by passing listall="false" and isrecusrive="false" parameter as domain admin @@ -537,7 +537,7 @@ class TestVMList(cloudstackTestCase): ## Domain Admin - Test cases without passing listall paramter - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_domainadmin(self): """ # Test listing of Vms by passing no parameter as domain admin @@ -562,7 +562,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_domainadmin_rec_true(self): """ # Test listing of Vms by passing isrecusrive="true" parameter as domain admin @@ -587,7 +587,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_domainadmin_true_rec_false(self): """ # Test listing of Vms by passing isrecusrive="false" parameter as domain admin @@ -614,7 +614,7 @@ class TestVMList(cloudstackTestCase): ## Domain Admin - Test cases when domainId is passed with listall =true - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_domainadmin_domainid_listall_true(self): """ # Test listing of Vms by passing domainId and listall="true" parameter as domain admin @@ -641,7 +641,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_domainadmin_domainid_listall_true_rec_true(self): """ # Test listing of Vms by passing domainId ,listall="true" and isrecursive="true" parameter as domain admin @@ -669,7 +669,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_domainadmin_domainid_listall_true_rec_false(self): """ # Test listing of Vms by passing domainId ,listall="true" and isrecursive="false" parameter as domain admin @@ -699,7 +699,7 @@ class TestVMList(cloudstackTestCase): ## Domain Admin - Test cases when domainId is passed with listall=false - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_domainadmin_domainid_listall_false(self): """ # Test listing of Vms by passing domainId ,listall="false" parameter as domain admin @@ -726,7 +726,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_domainadmin_domainid_listall_false_rec_true(self): """ # Test listing of Vms by passing domainId ,listall="false" and isrecursive="true" parameter as domain admin @@ -754,7 +754,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_domainadmin_domainid_listall_false_rec_false(self): """ # Test listing of Vms by passing domainId ,listall="false" and isrecursive="false" parameter as domain admin @@ -784,7 +784,7 @@ class TestVMList(cloudstackTestCase): ## Domain Admin - Test cases when domainId is passed with no listall parameter - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_domainadmin_domainid(self): """ # Test listing of Vms by passing domainId parameter as domain admin @@ -811,7 +811,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_domainadmin_domainid_rec_true(self): """ # Test listing of Vms by passing domainId and isrecursive="true" parameter as domain admin @@ -839,7 +839,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_domainadmin_domainid_rec_false(self): """ # Test listing of Vms by passing domainId and isrecursive="false" parameter as domain admin @@ -869,7 +869,7 @@ class TestVMList(cloudstackTestCase): ## Domain Admin - Test cases when account and domainId is passed with listall =true - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_domainadmin_domainid_accountid_listall_true(self): """ # Test listing of Vms by passing account ,domainId and listall="true" parameter as domain admin @@ -894,7 +894,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_domainadmin_domainid_accountid_listall_true_rec_true(self): """ # Test listing of Vms by passing account ,domainId and listall="true" and isrecursive="true" parameter as domain admin @@ -919,7 +919,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_domainadmin_domainid_accountid_listall_true_rec_false(self): """ # Test listing of Vms by passing account ,domainId , listall="true" and isrecursive="false" parameter as domain admin @@ -947,7 +947,7 @@ class TestVMList(cloudstackTestCase): ## Domain Admin - Test cases when account and domainId is passed with listall=false - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_domainadmin_domainid_accountid_listall_false(self): """ # Test listing of Vms by passing account ,domainId and listall="false" parameter as domain admin @@ -972,7 +972,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_domainadmin_domainid_accountid_listall_false_rec_true(self): """ # Test listing of Vms by passing account ,domainId and listall="false" and isrecursive="true" parameter as domain admin @@ -997,7 +997,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_domainadmin_domainid_accountid_listall_false_rec_false(self): """ # Test listing of Vms by passing account ,domainId , listall="false" and isrecursive="false" parameter as domain admin @@ -1024,7 +1024,7 @@ class TestVMList(cloudstackTestCase): ## Domain Admin - Test cases when account and domainId is passed with listall not passed - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_domainadmin_domainid_accountid(self): """ # Test listing of Vms by passing account ,domainId parameter as domain admin @@ -1049,7 +1049,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_domainadmin_domainid_accountid_rec_true(self): """ # Test listing of Vms by passing account ,domainId and isrecursive="true" parameter as domain admin @@ -1074,7 +1074,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_domainadmin_domainid_accountid_rec_false(self): """ # Test listing of Vms by passing account ,domainId and isrecursive="false" parameter as domain admin @@ -1101,7 +1101,7 @@ class TestVMList(cloudstackTestCase): ## ROOT Admin - Test cases with listall =true - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_rootadmin_listall_true(self): """ # Test listing of Vms by passing listall="true" parameter as admin @@ -1137,7 +1137,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_rootadmin_listall_true_rec_true(self): """ # Test listing of Vms by passing listall="true" and isrecusrive="true" parameter as admin @@ -1173,7 +1173,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_rootadmin_listall_true_rec_false(self): """ # Test listing of Vms by passing listall="true" and isrecusrive="false" parameter as admin @@ -1210,7 +1210,7 @@ class TestVMList(cloudstackTestCase): ## ROOT Admin - Test cases with listall=false - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_rootadmin_listall_false(self): """ # Test listing of Vms by passing listall="false" parameter as admin @@ -1235,7 +1235,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_rootadmin_listall_false_rec_true(self): """ # Test listing of Vms by passing listall="false" and isrecusrive="true" parameter as admin @@ -1261,7 +1261,7 @@ class TestVMList(cloudstackTestCase): "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_rootadmin_listall_false_rec_false(self): """ # Test listing of Vms by passing listall="false" and isrecusrive="false" parameter as admin @@ -1290,7 +1290,7 @@ class TestVMList(cloudstackTestCase): ## ROOT Admin - Test cases without passing listall paramter - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_rootadmin(self): """ # Test listing of Vms by passing no parameter as admin @@ -1316,7 +1316,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_rootadmin_rec_true(self): """ # Test listing of Vms by passing isrecusrive="true" parameter as admin @@ -1341,7 +1341,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_rootadmin_rec_false(self): """ # Test listing of Vms by passing isrecusrive="false" parameter as admin @@ -1368,7 +1368,7 @@ class TestVMList(cloudstackTestCase): ## ROOT Admin - Test cases when domainId is passed with listall =true - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_rootadmin_domainid_listall_true(self): """ # Test listing of Vms by passing domainid and listall="true" parameter as admin @@ -1395,7 +1395,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_rootadmin_domainid_listall_true_rec_true(self): """ # Test listing of Vms by passing domainid , listall="true" and isrecusrive="true" parameter as admin @@ -1423,7 +1423,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_rootadmin_domainid_listall_true_rec_false(self): """ # Test listing of Vms by passing domainid, listall="true" and isrecusrive="false" parameter as admin @@ -1453,7 +1453,7 @@ class TestVMList(cloudstackTestCase): ## ROOT Admin - Test cases when domainId is passed with listall=false - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_rootadmin_domainid_listall_false(self): """ # Test listing of Vms by passing domainid, listall="false" parameter as admin @@ -1480,7 +1480,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_rootadmin_domainid_listall_false_rec_true(self): """ # Test listing of Vms by passing domainid, listall="false" and isrecusrive="true" parameter as admin @@ -1508,7 +1508,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_rootadmin_domainid_listall_false_rec_false(self): """ @@ -1539,7 +1539,7 @@ class TestVMList(cloudstackTestCase): ## ROOT Admin - Test cases when domainId is passed with no listall parameter - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_rootadmin_domainid(self): """ # Test listing of Vms by passing domainid parameter as admin @@ -1566,7 +1566,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_rootadmin_domainid_rec_true(self): """ # Test listing of Vms by passing domainid and isrecusrive="true" parameter as admin @@ -1594,7 +1594,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_rootadmin_domainid_rec_false(self): """ # Test listing of Vms by passing domainid and isrecusrive="false" parameter as admin @@ -1624,7 +1624,7 @@ class TestVMList(cloudstackTestCase): ## ROOT Admin - Test cases when account and domainId is passed with listall =true - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_rootadmin_domainid_accountid_listall_true(self): """ # Test listing of Vms by passing domainid,account ,listall = "true" parameter as admin @@ -1649,7 +1649,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_rootadmin_domainid_accountid_listall_true_rec_true(self): """ # Test listing of Vms by passing domainid,account ,listall = "true" and isrecusrive="true" parameter as admin @@ -1674,7 +1674,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_rootadmin_domainid_accountid_listall_true_rec_false(self): """ # Test listing of Vms by passing domainid,account ,listall = "true" and isrecusrive="false" parameter as admin @@ -1702,7 +1702,7 @@ class TestVMList(cloudstackTestCase): ## ROOT Admin - Test cases when account and domainId is passed with listall=false - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_rootadmin_domainid_accountid_listall_false(self): """ # Test listing of Vms by passing domainid,account ,listall = "false" parameter as admin @@ -1727,7 +1727,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_rootadmin_domainid_accountid_listall_false_rec_true(self): """ # Test listing of Vms by passing domainid,account ,listall = "false" and isrecusrive="false" parameter as admin @@ -1752,7 +1752,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_rootadmin_domainid_accountid_listall_false_rec_false(self): """ # Test listing of Vms by passing domainid,account ,listall = "false" and isrecusrive="false" parameter as admin @@ -1780,7 +1780,7 @@ class TestVMList(cloudstackTestCase): ## ROOT Admin - Test cases when account and domainId is passed with listall not passed - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_rootadmin_domainid_accountid(self): """ # Test listing of Vms by passing domainid,account parameter as admin @@ -1805,7 +1805,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_rootadmin_domainid_accountid_rec_true(self): """ # Test listing of Vms by passing domainid,account and isrecusrive="true" parameter as admin @@ -1830,7 +1830,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_rootadmin_domainid_accountid_rec_false(self): """ # Test listing of Vms by passing domainid,account and isrecusrive="false" parameter as admin @@ -1858,7 +1858,7 @@ class TestVMList(cloudstackTestCase): ## Regular User - Test cases with listall =true - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_regularuser_listall_true(self): """ # Test listing of Vms by passing listall="true" parameter as regular user @@ -1883,7 +1883,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_regularuser_listall_true_rec_true(self): """ # Test listing of Vms by passing listall="true" and isrecusrive="true" parameter as regular user @@ -1908,7 +1908,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_regularuser_listall_true_rec_false(self): """ # Test listing of Vms by passing listall="true" and isrecusrive="false" parameter as regular user @@ -1935,7 +1935,7 @@ class TestVMList(cloudstackTestCase): ## Regular User - Test cases with listall=false - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_regularuser_listall_false(self): """ # Test listing of Vms by passing domainid,account,listall="false" parameter as regular user @@ -1960,7 +1960,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_regularuser_listall_false_rec_true(self): """ # Test listing of Vms by passing listall="false" and isrecusrive="true" parameter as regular user @@ -1986,7 +1986,7 @@ class TestVMList(cloudstackTestCase): "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_regularuser_listall_false_rec_false(self): """ # Test listing of Vms by passing listall="false" and isrecusrive="false" parameter as regular user @@ -2015,7 +2015,7 @@ class TestVMList(cloudstackTestCase): ## Regular User - Test cases without passing listall paramter - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_regularuser(self): """ # Test listing of Vms by passing no parameter as regular user @@ -2041,7 +2041,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_regularuser_rec_true(self): """ # Test listing of Vms by passing isrecusrive="true" parameter as regular user @@ -2066,7 +2066,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_regularuser_rec_false(self): """ # Test listing of Vms by passing isrecusrive="false" parameter as regular user @@ -2093,7 +2093,7 @@ class TestVMList(cloudstackTestCase): ## Regular User - Test cases when domainId is passed with listall =true - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_regularuser_domainid_listall_true(self): """ # Test listing of Vms by passing domainid,listall="true" parameter as regular user @@ -2118,7 +2118,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_regularuser_domainid_listall_true_rec_true(self): """ # Test listing of Vms by passing domainid,listall="true" and isrecusrive="true" parameter as regular user @@ -2143,7 +2143,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_regularuser_domainid_listall_true_rec_false(self): """ # Test listing of Vms by passing domainid,listall="true" and isrecusrive="false" parameter as regular user @@ -2171,7 +2171,7 @@ class TestVMList(cloudstackTestCase): ## Regular User - Test cases when domainId is passed with listall=false - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_regularuser_domainid_listall_false(self): """ # Test listing of Vms by passing domainid,listall="false" parameter as regular user @@ -2197,7 +2197,7 @@ class TestVMList(cloudstackTestCase): "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_regularuser_domainid_listall_false_rec_true(self): """ # Test listing of Vms by passing domainid,listall="false" and isrecusrive="true" parameter as regular user @@ -2224,7 +2224,7 @@ class TestVMList(cloudstackTestCase): - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_regularuser_domainid_listall_false_rec_false(self): """ # Test listing of Vms by passing domainid,listall="false" and isrecusrive="false" parameter as regular user @@ -2252,7 +2252,7 @@ class TestVMList(cloudstackTestCase): ## Regular User - Test cases when domainId is passed with no listall parameter - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_regularuser_domainid(self): """ # Test listing of Vms by passing domainid parameter as regular user @@ -2278,7 +2278,7 @@ class TestVMList(cloudstackTestCase): "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_regularuser_domainid_true_rec_true(self): """ # Test listing of Vms by passing domainid and isrecusrive="true" parameter as regular user @@ -2305,7 +2305,7 @@ class TestVMList(cloudstackTestCase): - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_regularuser_domainid__rec_false(self): """ # Test listing of Vms by passing domainid,isrecusrive="false" parameter as regular user @@ -2333,7 +2333,7 @@ class TestVMList(cloudstackTestCase): ## Regular User - Test cases when account and domainId is passed with listall =true - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_regularuser_domainid_accountid_listall_true(self): """ # Test listing of Vms by passing domainid,account,listall="true" parameter as regular user @@ -2358,7 +2358,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_regularuser_domainid_accountid_listall_true_rec_true(self): """ # Test listing of Vms by passing domainid,account,listall="true" and isrecusrive="true" parameter as regular user @@ -2383,7 +2383,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_regularuser_domainid_accountid_listall_true_rec_false(self): """ # Test listing of Vms by passing domainid,account,listall="true" and isrecusrive="false" parameter as regular user @@ -2411,7 +2411,7 @@ class TestVMList(cloudstackTestCase): ## Regular User - Test cases when account and domainId is passed with listall=false - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_regularuser_domainid_accountid_listall_false(self): """ # Test listing of Vms by passing domainid,account,listall="false" parameter as regular user @@ -2437,7 +2437,7 @@ class TestVMList(cloudstackTestCase): "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_regularuser_domainid_accountid_listall_false_rec_true(self): """ # Test listing of Vms by passing domainid,account,listall="false" and isrecusrive="true" parameter as regular user @@ -2462,7 +2462,7 @@ class TestVMList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_regularuser_domainid_accountid_listall_false_rec_false(self): """ # Test listing of Vms by passing domainid,account,listall="false" and isrecusrive="false" parameter as regular user @@ -2490,7 +2490,7 @@ class TestVMList(cloudstackTestCase): ## Regular User - Test cases when account and domainId is passed with listall not passed - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_regularuser_domainid_accountid(self): """ # Test listing of Vms by passing domainid,account parameter as regular user @@ -2516,7 +2516,7 @@ class TestVMList(cloudstackTestCase): "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_regularuser_domainid_accountid_rec_true(self): """ # Test listing of Vms by passing domainid,account and isrecusrive="true" parameter as regular user @@ -2542,7 +2542,7 @@ class TestVMList(cloudstackTestCase): "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_regularuser_domainid_accountid_rec_false(self): """ # Test listing of Vms by passing domainid,account isrecusrive="false" parameter as regular user @@ -2569,7 +2569,7 @@ class TestVMList(cloudstackTestCase): ## Cross Domain access check - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_regularuser_cross_domainid_accountid(self): """ # Regular User should not be allowed to list Vms of other accounts in the same domain @@ -2584,7 +2584,7 @@ class TestVMList(cloudstackTestCase): self.debug ("List as Regular User passing domainId and accountId of another account %s" %e) - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_regularuser_cross_domainid(self): """ # Regular User should not be allowed to list Vms of other accounts in other domains @@ -2599,7 +2599,7 @@ class TestVMList(cloudstackTestCase): self.debug ("List as Regular User passing domainId of a domain that user does not belong to %s" %e) - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_domainadmin_cross_domainid_accountid(self): """ # Domain admin should not be allowed to list Vms of accounts in other domains @@ -2614,7 +2614,7 @@ class TestVMList(cloudstackTestCase): self.debug ("List as domain admin passing domainId and accountId of another account %s" %e) - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_as_domainadmin_cross_domainid(self): """ # Domain admin should not be allowed to list Vms from other domains @@ -2630,7 +2630,7 @@ class TestVMList(cloudstackTestCase): ## List test cases relating to filter - id - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_by_id_as_domainadmin_owns(self): """ # Domain admin should be able to list Vm that he owns by passing uuid in "id" parameter @@ -2648,7 +2648,7 @@ class TestVMList(cloudstackTestCase): 1, "Domain Admin is not able to list Vms that belongs to him") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_by_id_as_domainadmin_ownedbyusersindomain(self): """ # Domain admin should be able to list Vm that is owned by any account in his domain by passing uuid in "id" parameter @@ -2666,7 +2666,7 @@ class TestVMList(cloudstackTestCase): 1, "Domain Admin is not able to list Vms from his domain") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_by_id_as_domainadmin_ownedbyusersinsubdomain(self): """ # Domain admin should be able to list Vm that is owned by any account in his sub-domain by passing uuid in "id" parameter @@ -2684,7 +2684,7 @@ class TestVMList(cloudstackTestCase): 1, "Domain Admin is not able to list Vms from his sub domain") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_by_id_as_domainadmin_ownedbyusersnotindomain(self): """ # Domain admin should not be able to list Vm that is owned by account that is not in his domain by passing uuid in "id" parameter @@ -2698,7 +2698,7 @@ class TestVMList(cloudstackTestCase): None, "Domain Admin is able to list Vms from other domains!!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_by_id_as_domainadmin_ownedbyusersinsubdomain2(self): """ # Domain admin should be able to list Vm that is owned by account that is in his sub domains by passing uuid in "id" parameter @@ -2717,7 +2717,7 @@ class TestVMList(cloudstackTestCase): "Domain Admin is not able to list Vms from his sub domains") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_by_id_as_rootadmin_owns(self): """ # Domain admin should be able to list Vm that is owned by account that is in his sub domains by passing uuid in "id" parameter @@ -2733,7 +2733,7 @@ class TestVMList(cloudstackTestCase): 1, "ROOT Admin not able to list Vms that he owns") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_by_id_as_rootadmin_Vmsownedbyothers(self): """ # ROOT admin should be able to list Vm that is owned by any account iby passing uuid in "id" parameter @@ -2757,7 +2757,7 @@ class TestVMList(cloudstackTestCase): 1, "ROOT Admin not able to list Vms from other domains") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_by_id_as_user_own(self): """ # Regular user should be able to list Vm that is owned by him by passing uuid in "id" parameter @@ -2776,7 +2776,7 @@ class TestVMList(cloudstackTestCase): 1, "Regular User is not able to list Vms that he owns") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_by_id_as_user_vmfromsamedomaindifferentaccount(self): """ # Regular user should not be able to list Vm that is owned by different account in the same domain by passing uuid in "id" parameter @@ -2790,7 +2790,7 @@ class TestVMList(cloudstackTestCase): None, "Regular User is able to list Vms from other accounts") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVM_by_id_as_user_vmsfromotherdomain(self): """ # Regular user should not be able to list Vm that is owned by different account in the different domain by passing uuid in "id" parameter diff --git a/test/integration/component/test_acl_listvolume.py b/test/integration/component/test_acl_listvolume.py index e5275825515..65a1201571d 100644 --- a/test/integration/component/test_acl_listvolume.py +++ b/test/integration/component/test_acl_listvolume.py @@ -374,7 +374,7 @@ class TestVolumeList(cloudstackTestCase): ## Domain Admin - Test cases with listall =true - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_domainadmin_listall_true(self): """ # Test listing of Volumes by passing listall="true" parameter as domain admin @@ -407,7 +407,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_domainadmin_listall_true_rec_true(self): """ # Test listing of Volumes by passing listall="true"i and isrecusriv="true" parameter as domain admin @@ -440,7 +440,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_domainadmin_listall_true_rec_false(self): """ # Test listing of Volumes by passing listall="true" and isrecusriv="false" parameter as domain admin @@ -475,7 +475,7 @@ class TestVolumeList(cloudstackTestCase): ## Domain Admin - Test cases with listall=false - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_domainadmin_listall_false(self): """ # Test listing of Volumes by passing listall="false" parameter as domain admin @@ -500,7 +500,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_domainadmin_listall_false_rec_true(self): """ # Test listing of Volumes by passing listall="false" and isrecusrive="true" parameter as domain admin @@ -525,7 +525,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_domainadmin_listall_false_rec_false(self): """ # Test listing of Volumes by passing listall="false" and isrecusrive="false" parameter as domain admin @@ -551,7 +551,7 @@ class TestVolumeList(cloudstackTestCase): ## Domain Admin - Test cases without passing listall paramter - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_domainadmin(self): """ # Test listing of Volumes by passing no parameter as domain admin @@ -576,7 +576,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_domainadmin_rec_true(self): """ # Test listing of Volumes by passing isrecusrive="true" parameter as domain admin @@ -601,7 +601,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_domainadmin_true_rec_false(self): """ # Test listing of Volumes by passing isrecusrive="false" parameter as domain admin @@ -628,7 +628,7 @@ class TestVolumeList(cloudstackTestCase): ## Domain Admin - Test cases when domainId is passed with listall =true - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_domainadmin_domainid_listall_true(self): """ # Test listing of Volumes by passing domainId and listall="true" parameter as domain admin @@ -655,7 +655,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_domainadmin_domainid_listall_true_rec_true(self): """ # Test listing of Volumes by passing domainId ,listall="true" and isrecursive="true" parameter as domain admin @@ -683,7 +683,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_domainadmin_domainid_listall_true_rec_false(self): """ # Test listing of Volumes by passing domainId ,listall="true" and isrecursive="false" parameter as domain admin @@ -713,7 +713,7 @@ class TestVolumeList(cloudstackTestCase): ## Domain Admin - Test cases when domainId is passed with listall=false - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_domainadmin_domainid_listall_false(self): # Test listing of Volumes by passing domainId ,listall="false" parameter as domain admin # Validate that it returns all the Volumes in the domain passed @@ -738,7 +738,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_domainadmin_domainid_listall_false_rec_true(self): """ # Test listing of Volumes by passing domainId ,listall="false" and isrecursive="true" parameter as domain admin @@ -766,7 +766,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_domainadmin_domainid_listall_false_rec_false(self): """ # Test listing of Volumes by passing domainId ,listall="false" and isrecursive="false" parameter as domain admin @@ -796,7 +796,7 @@ class TestVolumeList(cloudstackTestCase): ## Domain Admin - Test cases when domainId is passed with no listall parameter - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_domainadmin_domainid(self): """ # Test listing of Volumes by passing domainId parameter as domain admin @@ -822,7 +822,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_domainadmin_domainid_rec_true(self): """ # Test listing of Volumes by passing domainId and isrecursive="true" parameter as domain admin @@ -850,7 +850,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_domainadmin_domainid_rec_false(self): """ # Test listing of Volumes by passing domainId and isrecursive="false" parameter as domain admin @@ -880,7 +880,7 @@ class TestVolumeList(cloudstackTestCase): ## Domain Admin - Test cases when account and domainId is passed with listall =true - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_domainadmin_domainid_accountid_listall_true(self): """ # Test listing of Volumes by passing account ,domainId and listall="true" parameter as domain admin @@ -905,7 +905,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_domainadmin_domainid_accountid_listall_true_rec_true(self): """ # Test listing of Volumes by passing account ,domainId and listall="true" and isrecursive="true" parameter as domain admin @@ -930,7 +930,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_domainadmin_domainid_accountid_listall_true_rec_false(self): """ # Test listing of Volumes by passing account ,domainId , listall="true" and isrecursive="false" parameter as domain admin @@ -958,7 +958,7 @@ class TestVolumeList(cloudstackTestCase): ## Domain Admin - Test cases when account and domainId is passed with listall=false - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_domainadmin_domainid_accountid_listall_false(self): """ # Test listing of Volumes by passing account ,domainId and listall="false" parameter as domain admin @@ -983,7 +983,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_domainadmin_domainid_accountid_listall_false_rec_true(self): """ # Test listing of Volumes by passing account ,domainId and listall="false" and isrecursive="true" parameter as domain admin @@ -1008,7 +1008,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_domainadmin_domainid_accountid_listall_false_rec_false(self): """ # Test listing of Volumes by passing account ,domainId , listall="false" and isrecursive="false" parameter as domain admin @@ -1035,7 +1035,7 @@ class TestVolumeList(cloudstackTestCase): ## Domain Admin - Test cases when account and domainId is passed with listall not passed - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_domainadmin_domainid_accountid(self): """ # Test listing of Volumes by passing account ,domainId parameter as domain admin @@ -1059,7 +1059,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_domainadmin_domainid_accountid_rec_true(self): """ # Test listing of Volumes by passing account ,domainId and isrecursive="true" parameter as domain admin @@ -1084,7 +1084,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_domainadmin_domainid_accountid_rec_false(self): """ # Test listing of Volumes by passing account ,domainId and isrecursive="false" parameter as domain admin @@ -1111,7 +1111,7 @@ class TestVolumeList(cloudstackTestCase): ## ROOT Admin - Test cases with listall =true - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_rootadmin_listall_true(self): """ # Test listing of Volumes by passing listall="true" parameter as admin @@ -1147,7 +1147,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_rootadmin_listall_true_rec_true(self): """ # Test listing of Volumes by passing listall="true" and isrecusrive="true" parameter as admin @@ -1183,7 +1183,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_rootadmin_listall_true_rec_false(self): """ # Test listing of Volumes by passing listall="true" and isrecusrive="false" parameter as admin @@ -1220,7 +1220,7 @@ class TestVolumeList(cloudstackTestCase): ## ROOT Admin - Test cases with listall=false - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_rootadmin_listall_false(self): """ # Test listing of Volumes by passing listall="false" parameter as admin @@ -1245,7 +1245,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_rootadmin_listall_false_rec_true(self): """ # Test listing of Volumes by passing listall="false" and isrecusrive="true" parameter as admin @@ -1271,7 +1271,7 @@ class TestVolumeList(cloudstackTestCase): "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_rootadmin_listall_false_rec_false(self): """ # Test listing of Volumes by passing listall="false" and isrecusrive="false" parameter as admin @@ -1300,7 +1300,7 @@ class TestVolumeList(cloudstackTestCase): ## ROOT Admin - Test cases without passing listall paramter - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_rootadmin(self): """ # Test listing of Volumes by passing no parameter as admin @@ -1326,7 +1326,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_rootadmin_rec_true(self): """ # Test listing of Volumes by passing isrecusrive="true" parameter as admin @@ -1351,7 +1351,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_rootadmin_rec_false(self): """ # Test listing of Volumes by passing isrecusrive="false" parameter as admin @@ -1378,7 +1378,7 @@ class TestVolumeList(cloudstackTestCase): ## ROOT Admin - Test cases when domainId is passed with listall =true - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_rootadmin_domainid_listall_true(self): """ # Test listing of Volumes by passing domainid and listall="true" parameter as admin @@ -1405,7 +1405,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_rootadmin_domainid_listall_true_rec_true(self): """ # Test listing of Volumes by passing domainid , listall="true" and isrecusrive="true" parameter as admin @@ -1433,7 +1433,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_rootadmin_domainid_listall_true_rec_false(self): """ # Test listing of Volumes by passing domainid, listall="true" and isrecusrive="false" parameter as admin @@ -1463,7 +1463,7 @@ class TestVolumeList(cloudstackTestCase): ## ROOT Admin - Test cases when domainId is passed with listall=false - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_rootadmin_domainid_listall_false(self): """ # Test listing of Volumes by passing domainid, listall="false" parameter as admin @@ -1490,7 +1490,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_rootadmin_domainid_listall_false_rec_true(self): """ # Test listing of Volumes by passing domainid, listall="false" and isrecusrive="true" parameter as admin @@ -1518,7 +1518,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_rootadmin_domainid_listall_false_rec_false(self): """ # Test listing of Volumes by passing domainid, listall="false" and isrecusrive="false" parameter as admin @@ -1548,7 +1548,7 @@ class TestVolumeList(cloudstackTestCase): ## ROOT Admin - Test cases when domainId is passed with no listall parameter - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_rootadmin_domainid(self): """ # Test listing of Volumes by passing domainid parameter as admin @@ -1575,7 +1575,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_rootadmin_domainid_rec_true(self): """ # Test listing of Volumes by passing domainid and isrecusrive="true" parameter as admin @@ -1603,7 +1603,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_rootadmin_domainid_rec_false(self): """ # Test listing of Volumes by passing domainid and isrecusrive="false" parameter as admin @@ -1633,7 +1633,7 @@ class TestVolumeList(cloudstackTestCase): ## ROOT Admin - Test cases when account and domainId is passed with listall =true - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_rootadmin_domainid_accountid_listall_true(self): """ # Test listing of Volumes by passing domainid,account ,listall = "true" parameter as admin @@ -1658,7 +1658,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_rootadmin_domainid_accountid_listall_true_rec_true(self): """ # Test listing of Volumes by passing domainid,account ,listall = "true" and isrecusrive="true" parameter as admin @@ -1683,7 +1683,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_rootadmin_domainid_accountid_listall_true_rec_false(self): """ # Test listing of Volumes by passing domainid,account ,listall = "true" and isrecusrive="false" parameter as admin @@ -1711,7 +1711,7 @@ class TestVolumeList(cloudstackTestCase): ## ROOT Admin - Test cases when account and domainId is passed with listall=false - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_rootadmin_domainid_accountid_listall_false(self): """ # Test listing of Volumes by passing domainid,account ,listall = "false" parameter as admin @@ -1736,7 +1736,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_rootadmin_domainid_accountid_listall_false_rec_true(self): """ # Test listing of Volumes by passing domainid,account ,listall = "false" and isrecusrive="false" parameter as admin @@ -1761,7 +1761,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_rootadmin_domainid_accountid_listall_false_rec_false(self): """ # Test listing of Volumes by passing domainid,account ,listall = "false" and isrecusrive="false" parameter as admin @@ -1789,7 +1789,7 @@ class TestVolumeList(cloudstackTestCase): ## ROOT Admin - Test cases when account and domainId is passed with listall not passed - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_rootadmin_domainid_accountid(self): """ # Test listing of Volumes by passing domainid,account parameter as admin @@ -1814,7 +1814,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_rootadmin_domainid_accountid_rec_true(self): """ # Test listing of Volumes by passing domainid,account and isrecusrive="true" parameter as admin @@ -1839,7 +1839,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_rootadmin_domainid_accountid_rec_false(self): """ # Test listing of Volumes by passing domainid,account and isrecusrive="false" parameter as admin @@ -1867,7 +1867,7 @@ class TestVolumeList(cloudstackTestCase): ## Regular User - Test cases with listall =true - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_regularuser_listall_true(self): """ # Test listing of Volumes by passing listall="true" parameter as regular user @@ -1892,7 +1892,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_regularuser_listall_true_rec_true(self): """ # Test listing of Volumes by passing listall="true" and isrecusrive="true" parameter as regular user @@ -1917,7 +1917,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_regularuser_listall_true_rec_false(self): """ # Test listing of Volumes by passing listall="true" and isrecusrive="false" parameter as regular user @@ -1944,7 +1944,7 @@ class TestVolumeList(cloudstackTestCase): ## Regular User - Test cases with listall=false - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_regularuser_listall_false(self): """ # Test listing of Volumes by passing domainid,account,listall="false" parameter as regular user @@ -1969,7 +1969,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_regularuser_listall_false_rec_true(self): """ # Test listing of Volumes by passing listall="false" and isrecusrive="true" parameter as regular user @@ -1995,7 +1995,7 @@ class TestVolumeList(cloudstackTestCase): "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_regularuser_listall_false_rec_false(self): """ # Test listing of Volumes by passing listall="false" and isrecusrive="false" parameter as regular user @@ -2024,7 +2024,7 @@ class TestVolumeList(cloudstackTestCase): ## Regular User - Test cases without passing listall paramter - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_regularuser(self): """ # Test listing of Volumes by passing no parameter as regular user @@ -2050,7 +2050,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_regularuser_rec_true(self): """ # Test listing of Volumes by passing isrecusrive="true" parameter as regular user @@ -2075,7 +2075,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_regularuser_rec_false(self): """ # Test listing of Volumes by passing isrecusrive="false" parameter as regular user @@ -2102,7 +2102,7 @@ class TestVolumeList(cloudstackTestCase): ## Regular User - Test cases when domainId is passed with listall =true - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_regularuser_domainid_listall_true(self): """ # Test listing of Volumes by passing domainid,listall="true" parameter as regular user @@ -2127,7 +2127,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_regularuser_domainid_listall_true_rec_true(self): """ # Test listing of Volumes by passing domainid,listall="true" and isrecusrive="true" parameter as regular user @@ -2152,7 +2152,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_regularuser_domainid_listall_true_rec_false(self): """ # Test listing of Volumes by passing domainid,listall="true" and isrecusrive="false" parameter as regular user @@ -2180,7 +2180,7 @@ class TestVolumeList(cloudstackTestCase): ## Regular User - Test cases when domainId is passed with listall=false - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_regularuser_domainid_listall_false(self): """ # Test listing of Volumes by passing domainid,listall="false" parameter as regular user @@ -2206,7 +2206,7 @@ class TestVolumeList(cloudstackTestCase): "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_regularuser_domainid_listall_false_rec_true(self): """ # Test listing of Volumes by passing domainid,listall="false" and isrecusrive="true" parameter as regular user @@ -2233,7 +2233,7 @@ class TestVolumeList(cloudstackTestCase): - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_regularuser_domainid_listall_false_rec_false(self): """ # Test listing of Volumes by passing domainid,listall="false" and isrecusrive="false" parameter as regular user @@ -2261,7 +2261,7 @@ class TestVolumeList(cloudstackTestCase): ## Regular User - Test cases when domainId is passed with no listall parameter - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_regularuser_domainid(self): """ # Test listing of Volumes by passing domainid parameter as regular user @@ -2287,7 +2287,7 @@ class TestVolumeList(cloudstackTestCase): "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_regularuser_domainid_true_rec_true(self): """ # Test listing of Volumes by passing domainid and isrecusrive="true" parameter as regular user @@ -2314,7 +2314,7 @@ class TestVolumeList(cloudstackTestCase): - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_regularuser_domainid__rec_false(self): """ # Test listing of Volumes by passing domainid,isrecusrive="false" parameter as regular user @@ -2342,7 +2342,7 @@ class TestVolumeList(cloudstackTestCase): ## Regular User - Test cases when account and domainId is passed with listall =true - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_regularuser_domainid_accountid_listall_true(self): """ # Test listing of Volumes by passing domainid,account,listall="true" parameter as regular user @@ -2367,7 +2367,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_regularuser_domainid_accountid_listall_true_rec_true(self): """ # Test listing of Volumes by passing domainid,account,listall="true" and isrecusrive="true" parameter as regular user @@ -2392,7 +2392,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_regularuser_domainid_accountid_listall_true_rec_false(self): """ # Test listing of Volumes by passing domainid,account,listall="true" and isrecusrive="false" parameter as regular user @@ -2420,7 +2420,7 @@ class TestVolumeList(cloudstackTestCase): ## Regular User - Test cases when account and domainId is passed with listall=false - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_regularuser_domainid_accountid_listall_false(self): """ # Test listing of Volumes by passing domainid,account,listall="false" parameter as regular user @@ -2446,7 +2446,7 @@ class TestVolumeList(cloudstackTestCase): "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_regularuser_domainid_accountid_listall_false_rec_true(self): # Test listing of Volumes by passing domainid,account,listall="false" and isrecusrive="true" parameter as regular user # Validate that it returns all the Volumes of the account the user belongs to @@ -2469,7 +2469,7 @@ class TestVolumeList(cloudstackTestCase): True, "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_regularuser_domainid_accountid_listall_false_rec_false(self): """ # Test listing of Volumes by passing domainid,account,listall="false" and isrecusrive="false" parameter as regular user @@ -2497,7 +2497,7 @@ class TestVolumeList(cloudstackTestCase): ## Regular User - Test cases when account and domainId is passed with listall not passed - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_regularuser_domainid_accountid(self): """ # Test listing of Volumes by passing domainid,account parameter as regular user @@ -2523,7 +2523,7 @@ class TestVolumeList(cloudstackTestCase): "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_regularuser_domainid_accountid_rec_true(self): """ # Test listing of Volumes by passing domainid,account and isrecusrive="true" parameter as regular user @@ -2549,7 +2549,7 @@ class TestVolumeList(cloudstackTestCase): "Account access check failed!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_regularuser_domainid_accountid_rec_false(self): """ # Test listing of Volumes by passing domainid,account isrecusrive="false" parameter as regular user @@ -2576,7 +2576,7 @@ class TestVolumeList(cloudstackTestCase): ## Cross Domain access check - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_regularuser_cross_domainid_accountid(self): """ # Regular User should not be allowed to list Volumes of other accounts in the same domain @@ -2590,7 +2590,7 @@ class TestVolumeList(cloudstackTestCase): except Exception as e: self.debug ("List as Regular User passing domainId and accountId of another account %s" %e) - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_regularuser_cross_domainid(self): """ # Regular User should not be allowed to list Volumes of other accounts in other domains @@ -2605,7 +2605,7 @@ class TestVolumeList(cloudstackTestCase): self.debug ("List as Regular User passing domainId of a domain that user does not belong to %s" %e) - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_domainadmin_cross_domainid_accountid(self): """ # Domain admin should not be allowed to list Volumes of accounts in other domains @@ -2620,7 +2620,7 @@ class TestVolumeList(cloudstackTestCase): self.debug ("List as domain admin passing domainId and accountId of another account %s" %e) - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_as_domainadmin_cross_domainid(self): """ # Domain admin should not be allowed to list Volumes from other domains @@ -2636,7 +2636,7 @@ class TestVolumeList(cloudstackTestCase): ## List test cases relating to filter - id - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_by_id_as_domainadmin_owns(self): """ # Domain admin should be able to list Volumes that he owns by passing uuid in "id" parameter @@ -2654,7 +2654,7 @@ class TestVolumeList(cloudstackTestCase): 1, "Domain Admin is not able to list Volumes that belongs to him") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_by_id_as_domainadmin_ownedbyusersindomain(self): """ # Domain admin should be able to list Volumes that is owned by any account in his domain by passing uuid in "id" parameter @@ -2672,7 +2672,7 @@ class TestVolumeList(cloudstackTestCase): 1, "Domain Admin is not able to list Volumes from his domain") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_by_id_as_domainadmin_ownedbyusersinsubdomain(self): """ # Domain admin should be able to list Volumes that is owned by any account in his sub-domain by passing uuid in "id" parameter @@ -2690,7 +2690,7 @@ class TestVolumeList(cloudstackTestCase): 1, "Domain Admin is not able to list Volumes from his sub domain") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_by_id_as_domainadmin_ownedbyusersnotindomain(self): """ # Domain admin should not be able to list Volumes that is owned by account that is not in his domain by passing uuid in "id" parameter @@ -2704,7 +2704,7 @@ class TestVolumeList(cloudstackTestCase): None, "Domain Admin is able to list Volumes from other domains!!!") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_by_id_as_domainadmin_ownedbyusersinsubdomain2(self): """ # Domain admin should be able to list Volumes that is owned by account that is in his sub domains by passing uuid in "id" parameter @@ -2723,7 +2723,7 @@ class TestVolumeList(cloudstackTestCase): "Domain Admin is not able to list Volumes from his sub domains") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_by_id_as_rootadmin_owns(self): """ # ROOT admin should be able to list Volumes that is owned by accounts in his domain by passing uuid in "id" parameter @@ -2739,7 +2739,7 @@ class TestVolumeList(cloudstackTestCase): 1, "ROOT Admin not able to list Volumes that he owns") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_by_id_as_rootadmin_Volumesownedbyothers(self): """ # ROOT admin should be able to list Volumes that is owned by any account by passing uuid in "id" parameter @@ -2763,7 +2763,7 @@ class TestVolumeList(cloudstackTestCase): 1, "ROOT Admin not able to list Volumes from other domains") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_by_id_as_user_own(self): """ # Regular user should be able to list Volumes that is owned by him by passing uuid in "id" parameter @@ -2782,7 +2782,7 @@ class TestVolumeList(cloudstackTestCase): 1, "Regular User is not able to list Volumes that he owns") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_by_id_as_user_volumefromsamedomaindifferentaccount(self): """ # Regular user should not be able to list Volumes that is owned by different account in the same domain by passing uuid in "id" parameter @@ -2796,7 +2796,7 @@ class TestVolumeList(cloudstackTestCase): None, "Regular User is able to list Volumes from other accounts") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only", tags=["advanced"],required_hardware="false") def test_listVolume_by_id_as_user_volumefromotherdomain(self): """ # Regular user should not be able to list Volumes that is owned by different account in the different domain by passing uuid in "id" parameter diff --git a/test/integration/component/test_acl_sharednetwork.py b/test/integration/component/test_acl_sharednetwork.py index 5d57f301ba5..b74405e79a4 100644 --- a/test/integration/component/test_acl_sharednetwork.py +++ b/test/integration/component/test_acl_sharednetwork.py @@ -343,7 +343,7 @@ class TestSharedNetwork(cloudstackTestCase): ## Test cases relating to deploying Virtual Machine in shared network with scope=all - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_scope_all_domainuser(self): """ Validate that regular user in a domain is allowed to deploy VM in a shared network created with scope="all" @@ -369,7 +369,7 @@ class TestSharedNetwork(cloudstackTestCase): "User in a domain under ROOT failed to deploy VM in a shared network with scope=all") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_scope_all_domainadminuser(self): """ Validate that regular user in "ROOT" domain is allowed to deploy VM in a shared network created with scope="all" @@ -396,7 +396,7 @@ class TestSharedNetwork(cloudstackTestCase): "Admin User in a domain under ROOT failed to deploy VM in a shared network with scope=all") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_scope_all_subdomainuser(self): """ Validate that regular user in any subdomain is allowed to deploy VM in a shared network created with scope="all" @@ -421,7 +421,7 @@ class TestSharedNetwork(cloudstackTestCase): True, "User in a domain under ROOT failed to deploy VM in a shared network with scope=all") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_scope_all_subdomainadminuser(self): """ Validate that regular user in a subdomain under ROOT is allowed to deploy VM in a shared network created with scope="all" @@ -447,7 +447,7 @@ class TestSharedNetwork(cloudstackTestCase): "Admin User in a domain under ROOT failed to deploy VM in a shared network with scope=all") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_scope_all_ROOTuser(self): """ Validate that regular user in ROOT domain is allowed to deploy VM in a shared network created with scope="all" @@ -472,7 +472,7 @@ class TestSharedNetwork(cloudstackTestCase): True, "User in ROOT domain failed to deploy VM in a shared network with scope=all") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_scope_all_ROOTadmin(self): """ Validate that admin user in ROOT domain is allowed to deploy VM in a shared network created with scope="all" @@ -498,7 +498,7 @@ class TestSharedNetwork(cloudstackTestCase): ## Test cases relating to deploying Virtual Machine in shared network with scope=Domain and no subdomain access - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_scope_domain_nosubdomainaccess_domainuser(self): """ Validate that regular user in a domain is allowed to deploy VM in a shared network created with scope="domain" and no subdomain access @@ -525,7 +525,7 @@ class TestSharedNetwork(cloudstackTestCase): "User in a domain that has a shared network with no subdomain access failed to deploy VM in a shared network with scope=domain with no subdomain access") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_scope_domain_nosubdomainaccess_domainadminuser(self): """ Validate that admin user in a domain is allowed to deploy VM in a shared network created with scope="domain" and no subdomain access @@ -551,7 +551,7 @@ class TestSharedNetwork(cloudstackTestCase): True, "Admin User in a domain that has a shared network with no subdomain access failed to deploy VM in a shared network with scope=domain with no subdomain access") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_scope_domain_nosubdomainaccess_subdomainuser(self): """ 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 @@ -578,7 +578,7 @@ class TestSharedNetwork(cloudstackTestCase): if not CloudstackAclException.verifyMsginException(e,CloudstackAclException.NOT_AVAILABLE_IN_DOMAIN): self.fail("Error message validation failed when Subdomain user tries to deploy VM in a shared network with scope=domain with no subdomain access") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_scope_domain_nosubdomainaccess_subdomainadminuser(self): """ 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 @@ -607,7 +607,7 @@ class TestSharedNetwork(cloudstackTestCase): - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_scope_domain_nosubdomainaccess_parentdomainuser(self): """ 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 @@ -635,7 +635,7 @@ class TestSharedNetwork(cloudstackTestCase): self.fail("Error message validation failed when Parent domain user tries to deploy VM in a shared network with scope=domain with no subdomain access") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_scope_domain_nosubdomainaccess_parentdomainadminuser(self): """ 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 @@ -664,7 +664,7 @@ class TestSharedNetwork(cloudstackTestCase): - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_scope_domain_nosubdomainaccess_ROOTuser(self): """ Validate that user in ROOT domain is NOT allowed to deploy VM in a shared network created with scope="domain" and no subdomain access @@ -693,7 +693,7 @@ class TestSharedNetwork(cloudstackTestCase): - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_scope_domain_nosubdomainaccess_ROOTadmin(self): """ Validate that admin in ROOT domain is NOT allowed to deploy VM in a shared network created with scope="domain" and no subdomain access @@ -724,7 +724,7 @@ class TestSharedNetwork(cloudstackTestCase): ## Test cases relating to deploying Virtual Machine in shared network with scope=Domain and with subdomain access - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_scope_domain_withsubdomainaccess_domainuser(self): """ 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 @@ -751,7 +751,7 @@ class TestSharedNetwork(cloudstackTestCase): "User in a domain that has a shared network with subdomain access failed to deploy VM in a shared network with scope=domain with no subdomain access") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_scope_domain_withsubdomainaccess_domainadminuser(self): """ 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 @@ -777,7 +777,7 @@ class TestSharedNetwork(cloudstackTestCase): True, "Admin User in a domain that has a shared network with subdomain access failed to deploy VM in a shared network with scope=domain with no subdomain access") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_scope_domain_withsubdomainaccess_subdomainuser(self): """ 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 @@ -802,7 +802,7 @@ class TestSharedNetwork(cloudstackTestCase): True, "User in a subdomain that has a shared network with subdomain access failed to deploy VM in a shared network with scope=domain with no subdomain access") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_scope_domain_withsubdomainaccess_subdomainadminuser(self): """ 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 @@ -827,7 +827,7 @@ class TestSharedNetwork(cloudstackTestCase): True, "Admin User in a subdomain that has a shared network with subdomain access failed to deploy VM in a shared network with scope=domain with no subdomain access") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_scope_domain_withsubdomainaccess_parentdomainuser(self): """ 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 @@ -855,7 +855,7 @@ class TestSharedNetwork(cloudstackTestCase): self.fail("Error message validation failed when Parent domain's user tries to deploy VM in a shared network with scope=domain with subdomain access ") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_scope_domain_withsubdomainaccess_parentdomainadminuser(self): """ 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 @@ -884,7 +884,7 @@ class TestSharedNetwork(cloudstackTestCase): - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_scope_domain_withsubdomainaccess_ROOTuser(self): """ 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 @@ -912,7 +912,7 @@ class TestSharedNetwork(cloudstackTestCase): self.fail("Error message validation failed when ROOT domain's user tries to deploy VM in a shared network with scope=domain with subdomain access") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_scope_domain_withsubdomainaccess_ROOTadmin(self): """ 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 @@ -943,7 +943,7 @@ class TestSharedNetwork(cloudstackTestCase): ## Test cases relating to deploying Virtual Machine in shared network with scope=account - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_scope_account_domainuser(self): """ 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 @@ -972,7 +972,7 @@ class TestSharedNetwork(cloudstackTestCase): - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_scope_account_domainadminuser(self): """ 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 @@ -1000,7 +1000,7 @@ class TestSharedNetwork(cloudstackTestCase): self.fail("Error message validation failed when User from same domain but different account tries to deploy VM in a shared network with scope=account") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_scope_account_user(self): """ Validate that regular user in the account is allowed to deploy VM in a shared network created with scope="account" for an account @@ -1026,7 +1026,7 @@ class TestSharedNetwork(cloudstackTestCase): True, "User in the account that has a shared network with scope=account failed to deploy a VM in this shared network") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_scope_account_differentdomain(self): """ 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 @@ -1055,7 +1055,7 @@ class TestSharedNetwork(cloudstackTestCase): - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_scope_account_ROOTuser(self): """ Validate that user in ROOT domain is NOT allowed to deploy VM in a shared network created with scope="account" for an account @@ -1083,7 +1083,7 @@ class TestSharedNetwork(cloudstackTestCase): self.fail("Error message validation failed when ROOT domain's user tries to deploy VM in a shared network with scope=account ") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_scope_account_ROOTadmin(self): """ Validate that admin user in ROOT domain is NOT allowed to deploy VM in a shared network created with scope="account" for an account diff --git a/test/integration/component/test_acl_sharednetwork_deployVM-impersonation.py b/test/integration/component/test_acl_sharednetwork_deployVM-impersonation.py index a05a2d89bb4..09347bac6be 100644 --- a/test/integration/component/test_acl_sharednetwork_deployVM-impersonation.py +++ b/test/integration/component/test_acl_sharednetwork_deployVM-impersonation.py @@ -342,7 +342,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): ## Test cases relating to deploying Virtual Machine as ROOT admin for other users in shared network with scope=all - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_admin_scope_all_domainuser(self): """ Valiate that ROOT admin is able to deploy a VM for other users in a shared network with scope=all @@ -371,7 +371,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): "ROOT admin is not able to deploy a VM for other users in a shared network with scope=all") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_admin_scope_all_domainadminuser(self): """ Valiate that ROOT admin is able to deploy a VM for a domain admin users in a shared network with scope=all @@ -400,7 +400,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): "ROOT admin is not able to deploy a VM for a domain admin users in a shared network with scope=all") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_admin_scope_all_subdomainuser(self): """ Valiate that ROOT admin is able to deploy a VM for any user in a subdomain in a shared network with scope=all @@ -426,7 +426,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): True, "ROOT admin is not able to deploy a VM for any user in a subdomain in a shared network with scope=all") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_admin_scope_all_subdomainadminuser(self): """ Valiate that ROOT admin is able to deploy a VM for admin user in a domain in a shared network with scope=all @@ -453,7 +453,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): True, "ROOT admin is not able to deploy a VM for admin user in a domain in a shared network with scope=all") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_admin_scope_all_ROOTuser(self): """ Valiate that ROOT admin is able to deploy a VM for user in ROOT domain in a shared network with scope=all @@ -482,7 +482,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): ## Test cases relating to deploying Virtual Machine as ROOT admin for other users in shared network with scope=Domain and no subdomain access - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_admin_scope_domain_nosubdomainaccess_domainuser(self): """ Valiate that ROOT admin is able to deploy a VM for domain user in a shared network with scope=domain with no subdomain access @@ -511,7 +511,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): "ROOT admin is not able to deploy a VM for domain user in a shared network with scope=domain with no subdomain access") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_admin_scope_domain_nosubdomainaccess_domainadminuser(self): """ Valiate that ROOT admin is able to deploy a VM for domain admin user in a shared network with scope=domain with no subdomain access @@ -539,7 +539,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): True, "ROOT admin is not able to deploy a VM for domain admin user in a shared network with scope=domain with no subdomain access") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_admin_scope_domain_nosubdomainaccess_subdomainuser(self): """ Valiate that ROOT admin is NOT able to deploy a VM for sub domain user in a shared network with scope=domain with no subdomain access @@ -570,7 +570,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): self.fail("Error message validation failed when ROOT admin tries to deploy a VM for sub domain user in a shared network with scope=domain with no subdomain access ") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_admin_scope_domain_nosubdomainaccess_subdomainadminuser(self): """ Valiate that ROOT admin is NOT able to deploy a VM for sub domain admin user in a shared network with scope=domain with no subdomain access @@ -600,7 +600,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): self.fail("Error message validation failed when ROOT admin tries to deploy a VM for sub domain admin user in a shared network with scope=domain with no subdomain access") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_admin_scope_domain_nosubdomainaccess_parentdomainuser(self): """ Valiate that ROOT admin is NOT able to deploy a VM for parent domain user in a shared network with scope=domain with no subdomain access @@ -630,7 +630,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): self.fail("Error message validation failed when ROOT admin tries to deploy a VM for parent domain user in a shared network with scope=domain with no subdomain access") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_admin_scope_domain_nosubdomainaccess_parentdomainadminuser(self): """ Valiate that ROOT admin is NOT able to deploy a VM for parent domain admin user in a shared network with scope=domain with no subdomain access @@ -661,7 +661,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_admin_scope_domain_nosubdomainaccess_ROOTuser(self): """ Valiate that ROOT admin is NOT able to deploy a VM for parent domain admin user in a shared network with scope=domain with no subdomain access @@ -692,7 +692,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): ## Test cases relating to deploying Virtual Machine as ROOT admin for other users in shared network with scope=Domain and with subdomain access - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_admin_scope_domain_withsubdomainaccess_domainuser(self): """ Valiate that ROOT admin is able to deploy a VM for domain user in a shared network with scope=domain with subdomain access @@ -721,7 +721,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): "ROOT admin is NOT able to deploy a VM for domain user in a shared network with scope=domain with subdomain access") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_admin_scope_domain_withsubdomainaccess_domainadminuser(self): """ Valiate that ROOT admin is able to deploy a VM for domain admin user in a shared network with scope=domain with subdomain access @@ -749,7 +749,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): True, "ROOT admin is not able to deploy a VM for domain admin user in a shared network with scope=domain with subdomain access") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_admin_scope_domain_withsubdomainaccess_subdomainuser(self): """ Valiate that ROOT admin is able to deploy a VM for subdomain user in a shared network with scope=domain with subdomain access @@ -776,7 +776,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): True, "ROOT admin is not able to deploy a VM for subdomain user in a shared network with scope=domain with subdomain access") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_admin_scope_domain_withsubdomainaccess_subdomainadminuser(self): """ Valiate that ROOT admin is able to deploy a VM for subdomain admin user in a shared network with scope=domain with subdomain access @@ -803,7 +803,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): True, "ROOT admin is not able to deploy a VM for subdomain admin user in a shared network with scope=domain with subdomain access") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_admin_scope_domain_withsubdomainaccess_parentdomainuser(self): """ Valiate that ROOT admin is NOT able to deploy a VM for parent domain user in a shared network with scope=domain with subdomain access @@ -832,7 +832,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): if not CloudstackAclException.verifyMsginException(e,CloudstackAclException.NOT_AVAILABLE_IN_DOMAIN): self.fail("Error message validation failed when ROOT admin tries to deploy a VM for parent domain user in a shared network with scope=domain with subdomain access ") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_admin_scope_domain_withsubdomainaccess_parentdomainadminuser(self): """ Valiate that ROOT admin is NOT able to deploy a VM for parent domain admin user in a shared network with scope=domain with subdomain access @@ -862,7 +862,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): self.fail("Error message validation failed when ROOT admin tries to deploy a VM for parent domain admin user in a shared network with scope=domain with subdomain access ") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_admin_scope_domain_withsubdomainaccess_ROOTuser(self): """ Valiate that ROOT admin is NOT able to deploy a VM for user in ROOT domain in a shared network with scope=domain with subdomain access @@ -894,7 +894,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): ## Test cases relating to deploying Virtual Machine as ROOT admin for other users in shared network with scope=account - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_admin_scope_account_domainuser(self): """ Valiate that ROOT admin is NOT able to deploy a VM for user in the same domain but in a different account in a shared network with scope=account @@ -924,7 +924,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): self.fail("Error message validation failed when ROOT admin tries to deploy a VM for user in the same domain but in a different account in a shared network with scope=account") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_admin_scope_account_domainadminuser(self): """ Valiate that ROOT admin is NOT able to deploy a VM for admin user in the same domain but in a different account in a shared network with scope=account @@ -953,7 +953,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): if not CloudstackAclException.verifyMsginException(e,CloudstackAclException.UNABLE_TO_USE_NETWORK): self.fail("Error message validation failed when ROOT admin tries to deploy a VM for admin user in the same domain but in a different account in a shared network with scope=account") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_admin_scope_account_user(self): """ Valiate that ROOT admin is able to deploy a VM for regular user in a shared network with scope=account @@ -981,7 +981,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): True, "ROOT admin is not able to deploy a VM for regular user in a shared network with scope=account") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_admin_scope_account_differentdomain(self): """ Valiate that ROOT admin is NOT able to deploy a VM for a admin user in a shared network with scope=account which the admin user does not have access to @@ -1011,7 +1011,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): self.fail("Error message validation failed when ROOT admin tries to deploy a VM for a admin user in a shared network with scope=account which the admin user does not have access to ") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_admin_scope_account_ROOTuser(self): """ Valiate that ROOT admin is NOT able to deploy a VM for a user in ROOT domain in a shared network with scope=account which the user does not have access to @@ -1042,7 +1042,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): ## Test cases relating to deploying Virtual Machine as Domain admin for other users in shared network with scope=all - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_domainadmin_scope_all_domainuser(self): """ Valiate that Domain admin is able to deploy a VM for a domain user in a shared network with scope=all @@ -1070,7 +1070,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): "Domain admin is not able to deploy a VM for a domain user in a shared network with scope=all") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_domainadmin_scope_all_domainadminuser(self): """ Valiate that Domain admin is able to deploy a VM for a domain admin user in a shared network with scope=all @@ -1098,7 +1098,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): "Domain admin is not able to deploy a VM for a domain admin user in a shared network with scope=all") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_domainadmin_scope_all_subdomainuser(self): """ Valiate that Domain admin is able to deploy a VM for a sub domain user in a shared network with scope=all @@ -1124,7 +1124,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): True, "Domain admin is not able to deploy a VM for a sub domain user in a shared network with scope=all") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_domainadmin_scope_all_subdomainadminuser(self): """ Valiate that Domain admin is able to deploy a VM for a sub domain admin user in a shared network with scope=all @@ -1150,7 +1150,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): True, "Domain admin is not able to deploy a VM for a sub domain admin user in a shared network with scope=all") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_domainadmin_scope_all_ROOTuser(self): """ Valiate that Domain admin is NOT able to deploy a VM for user in ROOT domain in a shared network with scope=all @@ -1179,7 +1179,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): self.fail("Error message validation failed when Domain admin is NOT able to deploy a VM for user in ROOT domain in a shared network with scope=all") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_domainadmin_scope_all_crossdomainuser(self): """ Valiate that Domain admin is NOT able to deploy a VM for user in other domain in a shared network with scope=all @@ -1209,7 +1209,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): ## Test cases relating to deploying Virtual Machine as Domain admin for other users in shared network with scope=Domain and no subdomain access - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_domainadmin_scope_domain_nosubdomainaccess_domainuser(self): """ Valiate that Domain admin is able to deploy a VM for domain user in a shared network with scope=Domain and no subdomain access @@ -1237,7 +1237,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): "Domain admin is not able to deploy a VM for domain user in a shared network with scope=Domain and no subdomain access") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_domainadmin_scope_domain_nosubdomainaccess_domainadminuser(self): """ Valiate that Domain admin is able to deploy a VM for domain admin user in a shared network with scope=Domain and no subdomain access @@ -1265,7 +1265,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): True, "Admin User in a domain that has a shared network with no subdomain access failed to Deploy VM in a shared network with scope=domain with no subdomain access") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_domainadmin_scope_domain_nosubdomainaccess_subdomainuser(self): """ Valiate that Domain admin is NOT able to deploy a VM for sub domain user in a shared network with scope=Domain and no subdomain access @@ -1295,7 +1295,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): self.fail("Error message validation failed when Domain admin tries to deploy a VM for sub domain user in a shared network with scope=Domain and no subdomain access") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_domainadmin_scope_domain_nosubdomainaccess_subdomainadminuser(self): """ Valiate that Domain admin is NOT able to deploy a VM for sub domain admin user in a shared network with scope=Domain and no subdomain access @@ -1325,7 +1325,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): self.fail("Error message validation failed when Domain admin tries to deploy a VM for sub domain admin user in a shared network with scope=Domain and no subdomain access ") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_domainadmin_scope_domain_nosubdomainaccess_parentdomainuser(self): """ Valiate that Domain admin is NOT able to deploy a VM for parent domain user in a shared network with scope=Domain and no subdomain access @@ -1355,7 +1355,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): self.fail("Error message validation failed when Domain admin tries to deploy a VM for parent domain user in a shared network with scope=Domain and no subdomain access ") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_domainadmin_scope_domain_nosubdomainaccess_parentdomainadminuser(self): """ Valiate that Domain admin is NOT able to deploy a VM for parent domain admin user in a shared network with scope=Domain and no subdomain access @@ -1386,7 +1386,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_domainadmin_scope_domain_nosubdomainaccess_ROOTuser(self): """ Valiate that Domain admin is NOT able to deploy a VM for user in ROOT domain in a shared network with scope=Domain and no subdomain access @@ -1418,7 +1418,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): ## Test cases relating to deploying Virtual Machine as Domain admin for other users in shared network with scope=Domain and with subdomain access - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_domainadmin_scope_domain_withsubdomainaccess_domainuser(self): """ Valiate that Domain admin is able to deploy a VM for regular user in domain in a shared network with scope=Domain and subdomain access @@ -1446,7 +1446,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): "Domain admin is not able to deploy a VM for regular user in domain in a shared network with scope=Domain and subdomain access") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_domainadmin_scope_domain_withsubdomainaccess_domainadminuser(self): """ Valiate that Domain admin is able to deploy a VM for admin user in domain in a shared network with scope=Domain and subdomain access @@ -1473,7 +1473,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): True, "Domain admin is not able to deploy a VM for admin user in domain in a shared network with scope=Domain and subdomain access") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_domainadmin_scope_domain_withsubdomainaccess_subdomainuser(self): """ Valiate that Domain admin is able to deploy a VM for regular user in subdomain in a shared network with scope=Domain and subdomain access @@ -1499,7 +1499,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): True, "Domain admin is not able to deploy a VM for regular user in subdomain in a shared network with scope=Domain and subdomain access") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_domainadmin_scope_domain_withsubdomainaccess_subdomainadminuser(self): """ Valiate that Domain admin is able to deploy a VM for admin user in subdomain in a shared network with scope=Domain and subdomain access @@ -1525,7 +1525,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): True, "Domain admin is not able to deploy a VM for admin user in subdomain in a shared network with scope=Domain and subdomain access") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_domainadmin_scope_domain_withsubdomainaccess_parentdomainuser(self): """ Valiate that Domain admin is NOT able to deploy a VM for regular user in parent domain in a shared network with scope=Domain and subdomain access @@ -1553,7 +1553,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): if not CloudstackAclException.verifyMsginException(e,CloudstackAclException.NOT_AVAILABLE_IN_DOMAIN): self.fail("Error message validation failed when Domain admin tries to deploy a VM for regular user in parent domain in a shared network with scope=Domain and subdomain access") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_domainadmin_scope_domain_withsubdomainaccess_parentdomainadminuser(self): """ Valiate that Domain admin is NOT able to deploy a VM for admin user in parent domain in a shared network with scope=Domain and subdomain access @@ -1583,7 +1583,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): self.fail("Error message validation failed when Domain admin tries to deploy a VM for admin user in parent domain in a shared network with scope=Domain and subdomain access") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_domainadmin_scope_domain_withsubdomainaccess_ROOTuser(self): """ Valiate that Domain admin is NOT able to deploy a VM for user in ROOT domain in a shared network with scope=Domain and subdomain access @@ -1614,7 +1614,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): ## Test cases relating to deploying Virtual Machine as Domain admin for other users in shared network with scope=account - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_domainadmin_scope_account_domainuser(self): """ Valiate that Domain admin is NOT able to deploy a VM for user in the same domain but belonging to a different account in a shared network with scope=account @@ -1643,7 +1643,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): self.fail("Error message validation failed when Domain admin tries to deploy a VM for user in the same domain but belonging to a different account in a shared network with scope=account") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_domainadmin_scope_account_domainadminuser(self): """ Valiate that Domain admin is NOT able to deploy a VM for an admin user in the same domain but belonging to a different account in a shared network with scope=account @@ -1672,7 +1672,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): self.fail("Error message validation failed when Domain admin tries to deploy a VM for user in the same domain but belonging to a different account in a shared network with scope=account") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_domainadmin_scope_account_user(self): """ Valiate that Domain admin is able to deploy a VM for an regular user in a shared network with scope=account @@ -1699,7 +1699,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): True, "Domain admin is not able to deploy a VM for an regular user in a shared network with scope=account") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_domainadmin_scope_account_differentdomain(self): """ Valiate that Domain admin is able NOT able to deploy a VM for an regular user from a differnt domain in a shared network with scope=account @@ -1728,7 +1728,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): self.fail("Error message validation failed when Domain admin tries to deploy a VM for an regular user from a differnt domain in a shared network with scope=account") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_domainadmin_scope_account_ROOTuser(self): """ Valiate that Domain admin is NOT able to deploy a VM for an regular user in ROOT domain in a shared network with scope=account @@ -1758,7 +1758,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): ## Test cases relating to deploying Virtual Machine as Regular user for other users in shared network with scope=all - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_regularuser_scope_all_anotherusersamedomain(self): """ Valiate that regular user is able NOT able to deploy a VM for another user in the same domain in a shared network with scope=all @@ -1787,7 +1787,7 @@ class TestSharedNetworkImpersonation(cloudstackTestCase): self.fail("Error message validation failed when Regular user tries to deploy a VM for another user in the same domain in a shared network with scope=all") - @attr(tags=["advanced"],required_hardware="false") + @attr("simulator_only",tags=["advanced"],required_hardware="false") def test_deployVM_in_sharedNetwork_as_regularuser_scope_all_crossdomain(self): """ Valiate that regular user is able NOT able to deploy a VM for another user in a different domain in a shared network with scope=all