cloudstack/api/src/com/cloud
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
..
agent/api CLOUDSTACK-2060 2013-05-29 19:02:06 +05:30
alert merge master 2013-05-11 15:28:43 +05:30
api/commands CLOUDSTACK-797: Removing cmds CreatePrivateNetworkCmd and DestroyConsoleProxyCmd 2013-04-10 13:21:24 +05:30
async CLOUDSTACK-652: meging 'portable public ip' feature 2013-05-20 20:05:47 +05:30
capacity api: Entities will extend InternalIdentity and Identity 2012-12-26 19:11:15 -08:00
cluster api: Entities will extend InternalIdentity and Identity 2012-12-26 19:11:15 -08:00
configuration CLOUDSTACK-652: meging 'portable public ip' feature 2013-05-20 20:05:47 +05:30
dao CLOUDSTACK-786, CLOUDSTACK-1014: Moved usage APIs to cloud-api. Removed ManagementServerExt. Usage API related implementation is added to UsageServiceImpl 2013-02-05 16:49:34 +05:30
dc CLOUDSTACK-681: Dedicated Resources - Explicit Dedication, Private zone, pod, cluster or host. <Patch1> 2013-05-30 01:07:01 -07:00
deploy Changes for implicitly dedicating a resource. It includes a following: 2013-05-17 11:40:31 +05:30
domain CLOUDSTACK-1636: Removed the concept of owner region. 2013-03-14 11:53:40 +05:30
event CLOUDSTACK-681: Dedicated Resources - Explicit Dedication, Private zone, pod, cluster or host. <Patch1> 2013-05-30 01:07:01 -07:00
exception CLOUDSTACK-2070: Anti-Affinity - When Vm deployment fails because of not being able to satisfy the anti-affinity rule , user should be provided with more informative message. 2013-05-17 14:36:23 -07:00
host CLOUDSTACK-2522: While processing agents behind on ping, we may fail to process a host that is already in 'Down' state 2013-05-15 14:27:27 -07:00
hypervisor fix CLOUDSTACK-2157 On VMWare ESXi host deployment: Expunged VMs are not getting cleaned up from the host 2013-04-25 14:25:03 +08:00
info merge master 2013-05-11 15:28:43 +05:30
network CLOUDSTACK-2700:on network/vpc delete, portable IP should be still 2013-05-27 18:44:41 +05:30
offering CLOUDSTACK-2056: DeploymentPlanner choice via ServiceOffering 2013-05-16 15:02:17 -07:00
org fixed unit tests from merge 2013-01-18 15:58:55 -08:00
projects fixed unit tests from merge 2013-01-18 15:58:55 -08:00
region/ha CLOUDSTACK-1958: List GSLB response should have the GSLB site (zone load 2013-04-24 21:03:26 +05:30
resource CLOUDSTACK-2056: DeploymentPlanner choice via ServiceOffering 2013-05-16 15:02:17 -07:00
serializer api_refactor: refactor project apis 2012-12-03 22:10:32 -08:00
server iCLOUDSTACK-2321 2013-05-17 17:43:43 +05:30
storage remove unwanted files 2013-05-12 14:30:10 +05:30
template updateTemplatePermissions should allow user to be able to see 2013-03-11 17:32:26 -07:00
user CLOUDSTACK-1941: introduced "default" flag to account/user objects. Admin/System accounts that come with the CS install are default, and can never be removed. All accounts created by the CS admin, have default flag set to false, and can be removed at any time. 2013-04-17 12:04:18 -07:00
uservm fixed unit tests from merge 2013-01-18 15:58:55 -08:00
vm iCLOUDSTACK-2321 2013-05-17 17:43:43 +05:30