cloudstack/test/integration/component
Saksham Srivastava 17267794ad CLOUDSTACK-681: Dedicated Resources - Explicit Dedication, Private zone, pod, cluster or host. <Patch1>
This feature allows a user to deploy VMs only in the resources dedicated to his account or domain.

1. Resources(Zones, Pods, Clusters or hosts) can be dedicated to an account or domain.
   Implemented 12 new APIs to dedicate/list/release resources:
   - dedicateZone, listDedicatedZones, releaseDedicatedZone for a Zone.
   - dedicatePod, listDedicatedPods, releaseDedicatedPod for a Pod.
   - dedicateCluster, listDedicatedClusters, releaseDedicatedCluster for a Cluster
   - dedicateHost, listDedicatedHosts, releaseDedicatedHost for a Host.
2. Once a resource(eg. pod) is dedicated to an account, other resources(eg. clusters/hosts) inside that cannot be further dedicated.
3. Once a resource is dedicated to a domain, other resources inside that can be further dedicated to its sub-domain or account.
4. If any resource (eg.cluster) is dedicated to a account/domain, then resources(eg. Pod) above that cannot be dedicated to different accounts/domain (not belonging to the same domain)
5. To use Explicit dedication, user needs to create an Affinity Group of type 'ExplicitDedication'
6. A VM can be deployed with the above affinity group parameter as an input.
7. A new ExplicitDedicationProcessor has been added which will process the affinity group of type 'Explicit Dedication' for a deployment of a VM that demands dedicated resources.
   This processor implements the AffinityGroupProcessor adapter. This processor will update the avoid list.
8. A VM requesting dedication will be deployed on dedicatd resources if available with the user account.
9. A VM requesting dedication can also be deployed on the dedicated resources available with the parent domains iff no dedicated resources are available with the current user's account or
   domain.
10. A VM (without dedication) can be deployed on shared host but not on dedicated hosts.
11. To modify the dedication, the resource has to be released first.
12. Existing Private zone functionality has been redirected to Explicit dedication of zones.
13. Updated the db upgrade schema script. A new table "dedicated_resources" has been added.
14. Added the right permissions in commands.properties
15. Unit tests:  For the new APIs and Service, added unit tests under : plugins/dedicated-resources/test/org/apache/cloudstack/dedicated/DedicatedApiUnitTest.java
16. Marvin Test: To dedicate host, create affinity group, deploy-vm, check if vm is deployed on the dedicated host.
2013-05-30 01:07:01 -07:00
..
__init__.py apply chip childers licensing patches for the test directory 2012-06-26 11:19:58 -04:00
test_accounts.py Fix all occurrences of account.account 2013-05-20 22:59:52 +05:30
test_advancedsg_networks.py Integration test for advanced zone with security groups 2013-05-22 15:39:22 -07:00
test_allocation_states.py merge master 2013-05-11 15:28:43 +05:30
test_asa1000v_fw.py account name dereferences as account.name 2013-05-14 10:34:01 +05:30
test_assign_vm.py Test cases for assignVirtualMachne feature. 2013-05-30 11:03:25 +05:30
test_blocker_bugs.py merge master 2013-05-11 15:28:43 +05:30
test_custom_hostname.py More fixes to regression tests: 2013-05-25 15:40:42 +05:30
test_egress_rules.py Integration test for advanced zone with security groups 2013-05-22 15:39:22 -07:00
test_eip_elb.py multiple fixes to regression tests in test/component 2013-05-14 11:42:34 +05:30
test_explicit_dedication.py CLOUDSTACK-681: Dedicated Resources - Explicit Dedication, Private zone, pod, cluster or host. <Patch1> 2013-05-30 01:07:01 -07:00
test_high_availability.py More fixes to regression tests: 2013-05-25 15:40:42 +05:30
test_host_high_availability.py unskipping skipped tests 2013-05-27 10:10:01 +05:30
test_implicit_planner.py Changes for implicitly dedicating a resource. It includes a following: 2013-05-17 11:40:31 +05:30
test_ldap.py Fix all occurrences of account.account 2013-05-20 22:59:52 +05:30
test_multiple_ip_ranges.py CLOUDSTACK-702: Tests for Multiple IP Ranges 2013-05-14 15:52:54 +05:30
test_netscaler_configs.py account name dereferences as account.name 2013-05-14 10:34:01 +05:30
test_netscaler_lb.py account name dereferences as account.name 2013-05-14 10:34:01 +05:30
test_netscaler_lb_algo.py account name dereferences as account.name 2013-05-14 10:34:01 +05:30
test_netscaler_lb_sticky.py account name dereferences as account.name 2013-05-14 10:34:01 +05:30
test_netscaler_nw_off.py Marvin IP cleared tests for various cloudstack components 2013-05-14 10:24:27 +05:30
test_network_offering.py Marvin IP cleared tests for various cloudstack components 2013-05-14 10:24:27 +05:30
test_project_configs.py merge master 2013-05-11 15:28:43 +05:30
test_project_limits.py More fixes to regression tests: 2013-05-25 15:40:42 +05:30
test_project_resources.py More fixes to regression tests: 2013-05-25 15:40:42 +05:30
test_project_usage.py More fixes to regression tests: 2013-05-25 15:40:42 +05:30
test_projects.py Fix all occurrences of account.account 2013-05-20 22:59:52 +05:30
test_redundant_router.py Fix all occurrences of account.account 2013-05-20 22:59:52 +05:30
test_regions.py Marvin IP cleared tests for various cloudstack components 2013-05-14 10:24:27 +05:30
test_regions_accounts.py account name dereferences as account.name 2013-05-14 10:34:01 +05:30
test_resource_limits.py multiple fixes to regression tests 2013-05-16 10:00:44 +05:30
test_routers.py merge master 2013-05-11 15:28:43 +05:30
test_security_groups.py Integration test for advanced zone with security groups 2013-05-22 15:39:22 -07:00
test_shared_networks.py More fixes to regression tests: 2013-05-25 15:40:42 +05:30
test_snapshots.py merge master 2013-05-11 15:28:43 +05:30
test_stopped_vm.py Use a dummy ISO and skip SSH check 2013-05-26 15:26:33 +05:30
test_storage_motion.py More fixes to regression tests: 2013-05-25 15:40:42 +05:30
test_tags.py More tests using the dsl iso 2013-05-26 15:29:45 +05:30
test_templates.py More fixes to regression tests: 2013-05-25 15:40:42 +05:30
test_usage.py merge master 2013-05-11 15:28:43 +05:30
test_vm_passwdenabled.py More fixes to regression tests: 2013-05-25 15:40:42 +05:30
test_volumes.py merge master 2013-05-11 15:28:43 +05:30
test_vpc.py Fix all occurrences of account.account 2013-05-20 22:59:52 +05:30
test_vpc_host_maintenance.py unskipping skipped tests 2013-05-27 10:10:01 +05:30
test_vpc_network.py CLOUDSTACK-2473: Fix a typo in test_vpc_network.py 2013-05-21 19:28:22 +05:30
test_vpc_network_lbrules.py More fixes to regression tests: 2013-05-25 15:40:42 +05:30
test_vpc_network_pfrules.py More fixes to regression tests: 2013-05-25 15:40:42 +05:30
test_vpc_network_staticnatrule.py More fixes to regression tests: 2013-05-25 15:40:42 +05:30
test_vpc_offerings.py Fix all occurrences of account.account 2013-05-20 22:59:52 +05:30
test_vpc_routers.py CLOUDSTACK-2474: Remove garbage code which was added while resolving merge conflicts. 2013-05-21 19:25:58 +05:30
test_vpc_vm_life_cycle.py Fix all occurrences of account.account 2013-05-20 22:59:52 +05:30
test_vpc_vms_deployment.py Fix all occurrences of account.account 2013-05-20 22:59:52 +05:30
test_vpn_users.py Fix all occurrences of account.account 2013-05-20 22:59:52 +05:30