cloudstack/test/integration/smoke
Rohit Yadav 4347776ac6 CLOUDSTACK-8562: DB-Backed Dynamic Role Based API Access Checker
This feature allows root administrators to define new roles and associate API
permissions to them.

A limited form of role-based access control for the CloudStack management server
API is provided through a properties file, commands.properties, embedded in the
WAR distribution. Therefore, customizing API permissions requires unpacking the
distribution and modifying this file consistently on all servers. The old system
also does not permit the specification of additional roles.

FS:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Dynamic+Role+Based+API+Access+Checker+for+CloudStack

DB-Backed Dynamic Role Based API Access Checker for CloudStack brings following
changes, features and use-cases:
- Moves the API access definitions from commands.properties to the mgmt server DB
- Allows defining custom roles (such as a read-only ROOT admin) beyond the
  current set of four (4) roles
- All roles will resolve to one of the four known roles types (Admin, Resource
  Admin, Domain Admin and User) which maintains this association by requiring
  all new defined roles to specify a role type.
- Allows changes to roles and API permissions per role at runtime including additions or
  removal of roles and/or modifications of permissions, without the need
  of restarting management server(s)

Upgrade/installation notes:
- The feature will be enabled by default for new installations, existing
  deployments will continue to use the older static role based api access checker
  with an option to enable this feature
- During fresh installation or upgrade, the upgrade paths will add four default
  roles based on the four default role types
- For ease of migration, at the time of upgrade commands.properties will be used
  to add existing set of permissions to the default roles. cloud.account
  will have a new role_id column which will be populated based on default roles
  as well

Dynamic-roles migration tool: scripts/util/migrate-dynamicroles.py
- Allows admins to migrate to the dynamic role based checker at a future date
- Performs a harder one-way migrate and update
- Migrates rules from existing commands.properties file into db and deprecates it
- Enables an internal hidden switch to enable dynamic role based checker feature

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2016-05-11 09:45:19 +05:30
..
misc Adding new test which would verify the fix for issue "The ISO/Template is automatically deleted after URL expires" 2014-10-17 18:04:35 +05:30
__init__.py apply chip childers licensing patches for the test directory 2012-06-26 11:19:58 -04:00
test_affinity_groups.py Removed medium dictionary from test_data and modified the tests dependent on it 2015-08-06 11:29:13 +05:30
test_affinity_groups_projects.py CLOUDSTACK-6276 Fixing affinity groups for projects 2015-11-27 14:43:02 -05:00
test_deploy_vgpu_enabled_vm.py Removed medium dictionary from test_data and modified the tests dependent on it 2015-08-06 11:29:13 +05:30
test_deploy_vm_iso.py CLOUDSTACK-8286: Adding Basic validation test case to test deploying VM from ISO and correcting old regression test case to test HA VM from ISO 2015-03-12 11:10:08 +05:30
test_deploy_vm_root_resize.py Removed 'BugId' tag from tests for fixed bugs 2014-09-08 16:00:08 +05:30
test_deploy_vm_with_userdata.py Removed medium dictionary from test_data and modified the tests dependent on it 2015-08-06 11:29:13 +05:30
test_deploy_vms_with_varied_deploymentplanners.py Removed medium dictionary from test_data and modified the tests dependent on it 2015-08-06 11:29:13 +05:30
test_disk_offerings.py removed unnecessary pdb break point. 2015-02-09 11:56:33 +05:30
test_dynamicroles.py CLOUDSTACK-8562: DB-Backed Dynamic Role Based API Access Checker 2016-05-11 09:45:19 +05:30
test_global_settings.py CLOUDSTACK-6914: Fixed the mentioned issue 2014-06-17 14:26:44 +05:30
test_guest_vlan_range.py Re-enabling fixed test cases 2014-06-25 18:02:04 +05:30
test_hosts.py Fixed Regression issues mentioned under CLOUDSTACK-6708 2014-07-11 20:49:00 +05:30
test_internal_lb.py CLOUDSTACK-9135 - Makes test compliant with Redundant VPCs 2015-12-11 15:03:50 +01:00
test_iso.py CLOUDSTACK-8755: xs-tools.iso missing from ISOs in CCP GUI 2015-09-02 11:46:28 +05:30
test_list_ids_parameter.py CLOUDSTACK-9351: Add marvin test and add it to travis file 2016-05-10 12:35:55 -07:00
test_loadbalance.py bump ssh retries to prevent false positives of test_loadbalance 2016-04-30 20:58:40 +02:00
test_multipleips_per_nic.py CLOUDSTACK-6914: Fixed the mentioned issue 2014-06-17 14:26:44 +05:30
test_network.py CLOUDSTACK-8991 - Process the IPs that have been removed 2015-10-28 19:51:57 +01:00
test_network_acl.py Removed medium dictionary from test_data and modified the tests dependent on it 2015-08-06 11:29:13 +05:30
test_nic.py CLOUDSTACK-8394: Skip test cases through setUp() instead of setUpClass() 2015-04-28 12:33:54 +05:30
test_nic_adapter_type.py CLOUDSTACK-8394: Skip test cases through setUp() instead of setUpClass() 2015-04-28 12:33:54 +05:30
test_non_contigiousvlan.py Re-enabling fixed test cases 2014-06-25 18:02:04 +05:30
test_over_provisioning.py CLOUDSTACK-6914: Fixed the mentioned issue 2014-06-17 14:26:44 +05:30
test_password_server.py CLOUDSTACK-9135 - Moves test into smoke directory 2015-12-10 13:27:53 +01:00
test_portable_publicip.py CLOUDSTACK-6914: Fixed the mentioned issue 2014-06-17 14:26:44 +05:30
test_primary_storage.py CLOUDSTACK-7938: Marvin - Create a new section in test_data.py for configurable data and change test cases accordingly 2014-11-25 18:30:33 +05:30
test_privategw_acl.py Add integration test for restartVPC with cleanup, and Private Gateway enabled. 2016-01-11 16:02:32 +01:00
test_public_ip_range.py CLOUDSTACK-6914: Fixed the mentioned issue 2014-06-17 14:26:44 +05:30
test_pvlan.py CLOUDSTACK-6914: Fixed the mentioned issue 2014-06-17 14:26:44 +05:30
test_regions.py test fails unexplicalby while functionality is ok 2015-02-20 14:24:45 +01:00
test_reset_vm_on_reboot.py CLOUDSTACK-6914: Fixed the mentioned issue 2014-06-17 14:26:44 +05:30
test_resource_detail.py CLOUDSTACK-6914: Fixed the mentioned issue 2014-06-17 14:26:44 +05:30
test_router_dhcphosts.py CLOUDSTACK-9120 - Moves tests to the smoke directory 2015-12-08 20:28:07 +01:00
test_routers.py CLOUDSTACK-8728: Testcase to Verify if VRs IP changes if it is destroyed and re created in Basic Zone 2015-10-15 16:32:47 +05:30
test_routers_iptables_default_policy.py CLOUDSTACK-9120 - Moves tests to the smoke directory 2015-12-08 20:28:07 +01:00
test_routers_network_ops.py CLOUDSTACK-9120 - Moves tests to the smoke directory 2015-12-08 20:28:07 +01:00
test_scale_vm.py CLOUDSTACK-8924: Removed duplicate test from test_scale_vm.py 2015-09-30 15:23:30 +05:30
test_secondary_storage.py Extend wait before retry to states other than 'Starting' 2015-06-24 07:34:26 +02:00
test_service_offerings.py Removed medium dictionary from test_data and modified the tests dependent on it 2015-08-06 11:29:13 +05:30
test_snapshots.py Removed medium dictionary from test_data and modified the tests dependent on it 2015-08-06 11:29:13 +05:30
test_ssvm.py CLOUDSTACK-9021 - Add right interface when test is executed against HyperV/VMware 2015-11-03 11:18:11 +01:00
test_staticroles.py CLOUDSTACK-8562: DB-Backed Dynamic Role Based API Access Checker 2016-05-11 09:45:19 +05:30
test_templates.py verify that when createTemplate is ued to create templates with same name, all of them fet unique_name under vm_template table so that templates with same name does not get deleted during template sync 2015-08-26 17:43:14 +05:30
test_usage_events.py CLOUDSTACK-8314: Add test case to validate VM.DESTROY event is logged when VM deployment fails 2015-03-12 16:43:08 +05:30
test_vm_life_cycle.py Removed medium dictionary from test_data and modified the tests dependent on it 2015-08-06 11:29:13 +05:30
test_vm_snapshots.py Modified test description 2015-09-23 11:52:10 +05:30
test_volumes.py Removed medium dictionary from test_data and modified the tests dependent on it 2015-08-06 11:29:13 +05:30
test_vpc_redundant.py CLOUDSTACK-9154 - Sets the pub interface down when all guest nets are gone 2015-12-22 14:52:08 +01:00
test_vpc_router_nics.py CLOUDSTACK-9120 - Moves tests to the smoke directory 2015-12-08 20:28:07 +01:00
test_vpc_vpn.py PEP8 of integration/smoke/test_vpc_vpn 2016-01-12 11:24:35 +01:00