cloudstack/api/src/com/cloud
prachi 923f562aa8 Bug 6873: disable/enable mode for clusters (and pods and zones and hosts)
- Added a new flag 'allocation_state' to zone,pod,cluster and host
- The possible values for this flag are 'Enabled' or 'Disabled'
- When a new zone,pod,cluster or host is added, allocation_state is 'Disabled' by default.
- For existing zone,pod,cluster or host, the state is 'Enabled'.
- All Add/Update/List  commands for each of zone,pod,cluster or host can now take a new parameter 'allocationstate'
- If 'allocation_state' is 'Disabled', Allocators skip that zone or pod or cluster or pod.
- For a root admin, ListZones lists all zones including the 'Disabled' zones. But for any other user, the 'Disabled' zones are not included in the response.
- For any usecase that creates/deploys/adds/registers a resource and takes in zone as parameter, now we check if the Zone is 'Disabled'. If yes then the operation cannot be performed by a user other than root-admin. Add volume, snapshot, templates are examples of this usecase.
- To enable the root admin to test a particular pod/cluster/host, deployVM command takes in 'host_id' parameter that can be passed in only by root admin.
If this parameter is passed in by the admin, allocators do not search for hosts and use that host only. StoragePools are searched in the cluster of that host.
If VM cannot be deployed to that host, allocators and deployVM fails without retrying
2011-03-23 22:15:35 -07:00
..
acl more unused fields removed 2011-01-28 15:37:00 -08:00
agent/api add vncPassword on hypervisor back 2011-03-23 16:18:22 -07:00
alert api refactoring 2010-11-21 12:00:21 -08:00
api Bug 6873: disable/enable mode for clusters (and pods and zones and hosts) 2011-03-23 22:15:35 -07:00
async bug 6969: return jobId/jobStatus for IpAddress and SecurityGroup as ids for these objects were introduced in 2.2.x 2011-02-22 09:09:55 -08:00
capacity Bug 7845 - Productize DeploymentPlanner 2011-02-28 13:47:51 -08:00
configuration bug 8945: introduced "default.page.limit" config param (default value is 500). Used for pagination in API list* commands. 2011-03-15 15:06:52 -07:00
consoleproxy api refactoring 2010-11-21 12:00:21 -08:00
dao api refactoring 2010-11-21 12:00:21 -08:00
dc Bug 6873: disable/enable mode for clusters (and pods and zones and hosts) 2011-03-23 22:15:35 -07:00
deploy Bug 6873: disable/enable mode for clusters (and pods and zones and hosts) 2011-03-23 22:15:35 -07:00
domain bug 8452: introducing a state for domain; blocking creation of accounts/users whilst domain is in an inactive state 2011-02-17 15:17:45 -08:00
event bug 8862: added updateNetwork api command. Can update name/displayText only 2011-03-22 11:26:56 -07:00
exception fix NPE when failed to start VM 2011-03-01 16:38:18 -05:00
host Bug 6873: disable/enable mode for clusters (and pods and zones and hosts) 2011-03-23 22:15:35 -07:00
hypervisor Add bare metal stuff to addHost command 2011-02-22 19:07:07 -08:00
network bug 8862: added updateNetwork api command. Can update name/displayText only 2011-03-22 11:26:56 -07:00
offering Merge branch 'bareMetal' 2011-03-08 14:18:11 -08:00
org Bug 6873: disable/enable mode for clusters (and pods and zones and hosts) 2011-03-23 22:15:35 -07:00
resource Bug 6873: disable/enable mode for clusters (and pods and zones and hosts) 2011-03-23 22:15:35 -07:00
serializer Fixed Api xml doc generator 2011-01-11 15:26:04 -08:00
server API changes for Bug 3316 - Manual live migration of Virtual Machines 2011-03-11 17:49:53 -08:00
storage bug 6892: update resourceCount for snapshot after the DB record is created; if snapshot fails to create on the backend - reduce resource count 2011-03-10 18:03:06 -08:00
template Separate createVm methods for 1) vm in Basic zone 2) Vm with SecurityGroup in Advanced zone 3) Vm without SecurityGroup in AdvancedZone 2011-03-03 16:13:00 -08:00
user Bug 6873: disable/enable mode for clusters (and pods and zones and hosts) 2011-03-23 22:15:35 -07:00
uservm removed unused domain_router_id from uservm 2011-01-24 16:56:00 -08:00
vm Bug 6873: disable/enable mode for clusters (and pods and zones and hosts) 2011-03-23 22:15:35 -07:00