cloudstack/server/src/com/cloud/api/commands
Kris McQueen b3c7821b44 bug 6752: fix updating resource limits for a domain by looking at the given accountName/domainId parameters rather than looking at the caller's account. If updating limits for an account, e.g. account 'foo' in domain 4, then execute updateResourceLimit&account=foo&domainid=4&..., but if updating the limit for a domain, don't specify the account parameter. When processing the command, if accountName is null, the limit for the domain will be properly updated.
status 6752: resolved fixed
2010-10-25 17:32:28 -07:00
..
.gitignore Refactoring the updateZone command 2010-08-12 10:59:59 -07:00
AddConfigCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
AddHostCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
AddSecondaryStorageCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
AssignPortForwardingServiceCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
AssignToLoadBalancerRuleCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
AssociateIPAddrCmd.java Added more changes to the api 2010-10-21 15:11:49 -07:00
AttachIsoCmd.java bug 6487: AttachISO API would return an embedded object on success. 2010-10-25 18:26:39 +05:30
AttachVolumeCmd.java bug 6481: embedded object returned by attachVolume API would have the "type" property indicating the volume type of the disk volume (ROOT or DATADISK) 2010-10-25 14:14:40 +05:30
AuthorizeNetworkGroupIngressCmd.java Added more changes to the api 2010-10-21 15:11:49 -07:00
CancelMaintenanceCmd.java more changes in the api 2010-10-21 16:53:42 -07:00
CancelPrimaryStorageMaintenanceCmd.java Added more changes to the api 2010-10-21 15:11:49 -07:00
CopyIsoCmd.java Added more changes to the api 2010-10-21 15:11:49 -07:00
CopyTemplateCmd.java Added more changes to the api 2010-10-21 15:11:49 -07:00
CreateDiskOfferingCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
CreateDomainCmd.java Added descriptions for Api commands and corresponding requrest parameters 2010-10-07 14:46:29 -07:00
CreateIPForwardingRuleCmd.java bug 6662: handle a null ip forwarding rule in the API response as 'the rule already exists' since other errors will result in thrown exceptions. Also, fix up detection of network conflicts and duplicate rules by adding a list of used protocols to the port mappings 2010-10-22 11:47:52 -07:00
CreateLoadBalancerRuleCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
CreateNetworkGroupCmd.java reverting the change for bug 6361; this was an accidental push instead of commit 2010-10-19 15:21:01 -07:00
CreatePodCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
CreatePortForwardingServiceCmd.java Added descriptions for Api commands and corresponding requrest parameters 2010-10-07 14:46:29 -07:00
CreatePortForwardingServiceRuleCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
CreateServiceOfferingCmd.java bug 6724: set useVirtualNetwork in the createServiceResponse 2010-10-25 17:08:47 -07:00
CreateSnapshotCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
CreateSnapshotInternalCmd.java final merge of master->2.1.refactor preparing for merge back into master 2010-10-12 14:46:24 -07:00
CreateSnapshotPolicyCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
CreateStoragePoolCmd.java If storage pool is null after adding a pool, throw an exception so the user sees a problem adding the pool. This is better than the NPE that was happening... 2010-10-13 16:08:49 -07:00
CreateTemplateCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
CreateUserCmd.java bug 5592: Added configurable domain for hosts. 2010-10-21 11:51:09 +05:30
CreateVMGroupCmd.java resolving merge conflicts before pushing to the remote repository 2010-10-12 15:37:50 -07:00
CreateVlanIpRangeCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
CreateVolumeCmd.java new UI - instance page - refactor submenu. 2010-10-22 20:23:05 -07:00
CreateZoneCmd.java bug 3386: first part of the checkin, wherein we have an optional param domainId for create and modify zones. If this domain exists in the system, then the zone is tagged with this domain id, so that subsequent calls are checked for sanity against this domain. 2010-10-21 11:43:06 -07:00
DeleteDiskOfferingCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
DeleteDomainCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
DeleteHostCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
DeleteIPForwardingRuleCmd.java Added descriptions for Api commands and corresponding requrest parameters 2010-10-07 14:46:29 -07:00
DeleteIsoCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
DeleteLoadBalancerRuleCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
DeleteNetworkGroupCmd.java reverting the change for bug 6361; this was an accidental push instead of commit 2010-10-19 15:21:01 -07:00
DeletePodCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
DeletePoolCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
DeletePortForwardingServiceCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
DeletePortForwardingServiceRuleCmd.java Added descriptions for Api commands and corresponding requrest parameters 2010-10-07 14:46:29 -07:00
DeletePreallocatedLunCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
DeleteServiceOfferingCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
DeleteSnapshotCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
DeleteSnapshotPoliciesCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
DeleteTemplateCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
DeleteUserCmd.java Added more changes to the api 2010-10-21 15:11:49 -07:00
DeleteVMGroupCmd.java resolving merge conflicts before pushing to the remote repository 2010-10-12 15:37:50 -07:00
DeleteVlanIpRangeCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
DeleteVolumeCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
DeleteZoneCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
DeployVMCmd.java new UI - instance page - refactor submenu. 2010-10-22 20:23:05 -07:00
DeployVm2Cmd.java checkin to fix windows 2010-10-22 09:19:53 -07:00
DestroyConsoleProxyCmd.java Added more changes to the api 2010-10-21 15:11:49 -07:00
DestroyVMCmd.java bug 6041: returning the complete embedded reponse for a destroyvm async call 2010-10-19 11:46:42 -07:00
DetachIsoCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
DetachVolumeCmd.java bug 6480: detachVolume API would start returning an embedded object, like attachVolume API does. 2010-10-25 17:19:22 +05:30
DisableAccountCmd.java Added more changes to the api 2010-10-21 15:11:49 -07:00
DisableUserCmd.java Added more changes to the api 2010-10-21 15:11:49 -07:00
DisassociateIPAddrCmd.java Added descriptions for Api commands and corresponding requrest parameters 2010-10-07 14:46:29 -07:00
EnableAccountCmd.java Added descriptions for Api commands and corresponding requrest parameters 2010-10-07 14:46:29 -07:00
EnableUserCmd.java Added descriptions for Api commands and corresponding requrest parameters 2010-10-07 14:46:29 -07:00
ExtractIsoCmd.java bug 6399: extending extract functionlity for templates and ISO's to allow download. The extraction can have two modes FTP_UPLOAD and HTTP_DOWNLOAD. In the former one the user would provide the ftp url where the entity needs to be uploaded and in the later the user would be provided a HTTP URL where from he/she can download the entity. This url would be exposed for a specific time limit and would not function after the time limit. 2010-10-20 11:40:03 +05:30
ExtractTemplateCmd.java bug 6399: extending extract functionlity for templates and ISO's to allow download. The extraction can have two modes FTP_UPLOAD and HTTP_DOWNLOAD. In the former one the user would provide the ftp url where the entity needs to be uploaded and in the later the user would be provided a HTTP URL where from he/she can download the entity. This url would be exposed for a specific time limit and would not function after the time limit. 2010-10-20 11:40:03 +05:30
ExtractVolumeCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
GetCloudIdentifierCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
ListAccountsCmd.java Added more changes to the api 2010-10-21 15:11:49 -07:00
ListAlertsCmd.java resolving merge conflicts before pushing to the remote repository 2010-10-12 15:37:50 -07:00
ListAsyncJobsCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
ListCapabilitiesCmd.java 1) Finished XmlApiDoc writer. The program gets api classes from commands.properties.in file, and build Command objects with "name"/"description"/"request"/"response" fields. Request and response are represented by the list of arguments, each argument contains "name"/"description"/"isrequired" fields. The commands are being serialized to commands.xml using imported xstream library, and can be desiarialized later - it will help to compare commands from differemt product versions. 2010-10-04 09:50:14 -07:00
ListCapacityCmd.java new UI - instance page - refactor submenu. 2010-10-22 20:23:05 -07:00
ListCfgsByCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
ListClustersCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
ListDiskOfferingsCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
ListDomainChildrenCmd.java bug 6649: when listing domains, accept -1 as 'list all.' Fix listDomainChildren response to return haschild, handle haschild as a boolean rather than a string. 2010-10-19 13:49:00 -07:00
ListDomainsCmd.java Added descriptions for Api commands and corresponding requrest parameters 2010-10-07 14:46:29 -07:00
ListEventsCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
ListGuestOsCategoriesCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
ListGuestOsCmd.java resolving merge conflicts before pushing to the remote repository 2010-10-12 15:37:50 -07:00
ListHostsCmd.java bug 6720: add 'created' to the ListHosts response 2010-10-25 16:37:42 -07:00
ListHypervisorsCmd.java final merge of master->2.1.refactor preparing for merge back into master 2010-10-12 14:46:24 -07:00
ListIsoPermissionsCmd.java cleaning up imports, fixing up some compilation problems related to API refactoring 2010-09-13 15:25:46 -07:00
ListIsosCmd.java Added more changes to the api 2010-10-21 15:11:49 -07:00
ListLoadBalancerRuleInstancesCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
ListLoadBalancerRulesCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
ListNetworkGroupsCmd.java reverting the change for bug 6361; this was an accidental push instead of commit 2010-10-19 15:21:01 -07:00
ListPodsByCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
ListPortForwardingRulesCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
ListPortForwardingServiceRulesCmd.java Added descriptions for Api commands and corresponding requrest parameters 2010-10-07 14:46:29 -07:00
ListPortForwardingServicesByVmCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
ListPortForwardingServicesCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
ListPreallocatedLunsCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
ListPublicIpAddressesCmd.java Added more changes to the api 2010-10-21 15:11:49 -07:00
ListRecurringSnapshotScheduleCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
ListResourceLimitsCmd.java bug 6752: fix updating resource limits for a domain by looking at the given accountName/domainId parameters rather than looking at the caller's account. If updating limits for an account, e.g. account 'foo' in domain 4, then execute updateResourceLimit&account=foo&domainid=4&..., but if updating the limit for a domain, don't specify the account parameter. When processing the command, if accountName is null, the limit for the domain will be properly updated. 2010-10-25 17:32:28 -07:00
ListRoutersCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
ListServiceOfferingsCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
ListSnapshotPoliciesCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
ListSnapshotsCmd.java resolving merge conflicts before pushing to the remote repository 2010-10-12 15:37:50 -07:00
ListStoragePoolsCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
ListSystemVMsCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
ListTemplateOrIsoPermissionsCmd.java Added more changes to the api 2010-10-21 15:11:49 -07:00
ListTemplatePermissionsCmd.java Refactoring listTemplatePermissions and listIsoPermissions to new API framework. 2010-09-08 18:56:27 -07:00
ListTemplatesCmd.java Added more changes to the api 2010-10-21 15:11:49 -07:00
ListUsersCmd.java Added descriptions for Api commands and corresponding requrest parameters 2010-10-07 14:46:29 -07:00
ListVMGroupsCmd.java resolving merge conflicts before pushing to the remote repository 2010-10-12 15:37:50 -07:00
ListVMsCmd.java bug 6674: Fix VM responses 2010-10-22 13:57:03 -07:00
ListVlanIpRangesCmd.java fix problems in api post-refactor 2010-10-19 09:53:51 -07:00
ListVolumesCmd.java new UI - instance page - refactor submenu. 2010-10-22 20:23:05 -07:00
ListZonesByCmd.java Added more changes to the api 2010-10-21 15:11:49 -07:00
LockAccountCmd.java Added descriptions for Api commands and corresponding requrest parameters 2010-10-07 14:46:29 -07:00
LockUserCmd.java Added descriptions for Api commands and corresponding requrest parameters 2010-10-07 14:46:29 -07:00
PrepareForMaintenanceCmd.java more changes in the api 2010-10-21 16:53:42 -07:00
PreparePrimaryStorageForMaintenanceCmd.java Added more changes to the api 2010-10-21 15:11:49 -07:00
QueryAsyncJobResultCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
RebootRouterCmd.java bug 6710: rebootRouter was supposed to return the rebooted router, not success/failure 2010-10-25 15:01:50 -07:00
RebootSystemVmCmd.java Added more changes to the api 2010-10-21 15:11:49 -07:00
RebootVMCmd.java new UI - instance page - refactor submenu. 2010-10-22 20:23:05 -07:00
ReconnectHostCmd.java more changes in the api 2010-10-21 16:53:42 -07:00
RecoverVMCmd.java bug 6037: last part of the checkin for this bug 2010-10-19 11:36:54 -07:00
RegisterCmd.java Added descriptions for Api commands and corresponding requrest parameters 2010-10-07 14:46:29 -07:00
RegisterIsoCmd.java bug 6727: ostypename was being set from guest_os.name which seems to be null most of the time. Instead, use guest_os.display_name. 2010-10-25 17:08:47 -07:00
RegisterPreallocatedLunCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
RegisterTemplateCmd.java A zoneId of -1 means all zones, so if zoneId is passed in as -1 just list all zones for registering the template 2010-10-14 19:11:21 -07:00
RemoveFromLoadBalancerRuleCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
RemovePortForwardingServiceCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
ResetVMPasswordCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
RevokeNetworkGroupIngressCmd.java Added more changes to the api 2010-10-21 15:11:49 -07:00
StartRouterCmd.java Added more changes to the api 2010-10-21 15:11:49 -07:00
StartSystemVMCmd.java Added more changes to the api 2010-10-21 15:11:49 -07:00
StartVMCmd.java bug 6674: Fix VM responses 2010-10-22 13:57:03 -07:00
StopRouterCmd.java Added more changes to the api 2010-10-21 15:11:49 -07:00
StopSystemVmCmd.java Added more changes to the api 2010-10-21 15:11:49 -07:00
StopVMCmd.java bug 6674: Fix VM responses 2010-10-22 13:57:03 -07:00
UpdateAccountCmd.java Added descriptions for Api commands and corresponding requrest parameters 2010-10-07 14:46:29 -07:00
UpdateCfgCmd.java bug 6714: add displaytext to SuccessResponse so commands that return success true/false can also return a brief description of what took place. 2010-10-25 16:37:42 -07:00
UpdateDiskOfferingCmd.java bug 6717: updateDiskOffering is supposed to return success true/false rather than the updated disk offering 2010-10-25 16:37:42 -07:00
UpdateDomainCmd.java Added descriptions for Api commands and corresponding requrest parameters 2010-10-07 14:46:29 -07:00
UpdateHostCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
UpdateIPForwardingRuleCmd.java Added descriptions for Api commands and corresponding requrest parameters 2010-10-07 14:46:29 -07:00
UpdateIsoCmd.java Added descriptions for Api commands and corresponding requrest parameters 2010-10-07 14:46:29 -07:00
UpdateIsoPermissionsCmd.java Change getResponse() to return a ResponseObject so that the caller can choose how to serialize. This in in preparation for serializing the async commands to the database with class information and deserializing them into the ResponseObject itself when queryAsyncJobResult is called. Once the ResponseObject is deserialized, the proper string can be returned to the caller. 2010-09-23 17:34:28 -07:00
UpdateLoadBalancerRuleCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
UpdatePodCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
UpdateResourceLimitCmd.java bug 6752: fix updating resource limits for a domain by looking at the given accountName/domainId parameters rather than looking at the caller's account. If updating limits for an account, e.g. account 'foo' in domain 4, then execute updateResourceLimit&account=foo&domainid=4&..., but if updating the limit for a domain, don't specify the account parameter. When processing the command, if accountName is null, the limit for the domain will be properly updated. 2010-10-25 17:32:28 -07:00
UpdateServiceOfferingCmd.java bug 6725: use serviceOfferingName rather than the API command name when updating the service offering; set memory in the response for UpdateServiceOffering 2010-10-25 17:08:47 -07:00
UpdateStoragePoolCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
UpdateTemplateCmd.java Added descriptions for Api commands and corresponding requrest parameters 2010-10-07 14:46:29 -07:00
UpdateTemplateOrIsoCmd.java bug 6703, 6704: use the correct method signatures for invoking updateTemplate/updateIso and updateTemplatePermissions/updateIsoPermissions APIs. It's possible that the reflection should just use 'isAssignableFrom' when getting methods since the manager methods were using a base class as the parameter rather than UpdateTemplateCmd/UpdateIsoCmd and UpdateTemplatePermissions/UpdateIsoPermissions, but for now the explicit methods are added for simplicity. 2010-10-25 15:01:50 -07:00
UpdateTemplateOrIsoPermissionsCmd.java * Added descriptions for Api command's request and response parameters. 2010-10-11 09:21:42 -07:00
UpdateTemplatePermissionsCmd.java Added descriptions for Api commands and corresponding requrest parameters 2010-10-07 14:46:29 -07:00
UpdateUserCmd.java Added descriptions for Api commands and corresponding requrest parameters 2010-10-07 14:46:29 -07:00
UpdateVMCmd.java resolving merge conflicts before pushing to the remote repository 2010-10-12 15:37:50 -07:00
UpdateVMGroupCmd.java resolving merge conflicts before pushing to the remote repository 2010-10-12 15:37:50 -07:00
UpdateZoneCmd.java whilst testing my enh, found that this call was using the wrong method name. Checking in the fix for the same. 2010-10-21 11:43:06 -07:00
UpgradeRouterCmd.java final merge of master->2.1.refactor preparing for merge back into master 2010-10-12 14:46:24 -07:00
UpgradeVMCmd.java bug 6705, 6708: use the UserVmResponse for changeServiceForVirtualMachine API (UpgradeVMCmd) since the response is a vm. There was no need for a specific UpgradeVmResponse which had scalars instead of objects and the serializer skips null, but will serialize scalars with their default values, in this case 0 for id and host id. 2010-10-25 15:01:49 -07:00
UploadCustomCertificateCmd.java bug 5190: modifying a few minor details in the upload cert part, to conform with the new api refactor design 2010-10-21 15:51:46 -07:00