Commit Graph

977 Commits

Author SHA1 Message Date
Prachi Damle
13bd8beb91 CLOUDSTACK-6941: Can't choose storage for the volume, when attaching uploaded data volume to VM
Changes:
- Only way to choose a certain storage pool is by using disk_offering_tags
- Added a parameter to take in a disk offering Id.
- Admin will have to create a custom sized disk offering and tag it as necessary for the user
- This custom offering Id should be passed during uploadVolume to associate the volume with this disk offering
2014-06-18 16:10:53 -07:00
Rajesh Battala
21e452ff4f CLOUDSTACK-6920 Support listing of LBHealthcheck policy with LBHealthcheck policy ID 2014-06-18 15:42:23 +05:30
Jayapal
b0d726a872 CLOUDSTACK-6923: updated listLBStickinessPolicies API to list using stickinesspolicy id 2014-06-17 16:14:54 +05:30
Jayapal
2214bd2502 CLOUDSTACK-6922: Updated events for firewall ingress and egress 2014-06-17 12:08:18 +05:30
Jayapal
e9f60ee292 CLOUDSTACK-6899: Added vmId in listnics response 2014-06-12 17:16:02 +05:30
Sheng Yang
4c168bf9db Make CreateVpnGatewayCmd implements BaseAsyncCreateCmd
Instead of BaseAsyncCmd.
2014-06-11 18:35:47 -07:00
Nitin Mehta
8a9092c3cd CLOUDSTACK-6895: 1. Populate firstclass entities as uuids in the context instead of dbids for performance.
2. Add ctxDetails in the ParamGenericValidationWorker to avoid warning for api validation
3. Add some missing events.
4. Correcting mapping for ResourceObjectType.NetworkACL and ResourceObjectType.NetworkACLItem
2014-06-11 15:22:13 -07:00
Min Chen
09a357fb90 CLOUDSTACK-6890:createVPC invoked by admin does not observe start flag. 2014-06-10 17:23:20 -07:00
Olivier Lemasle
a1f278e9d4 CLOUDSTACK-6850: Return cpu cores, cpu speed and memory in listUsageRecords
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2014-06-10 03:12:29 -04:00
Nitin Mehta
18c6ae0796 CLOUDSTACK-6597: Updatevm - root admin should be allowed to change instance name 2014-05-27 14:55:22 -07:00
Min Chen
0d243ec7f2 CLOUDSTACK-6745:DomainAdmin is not able to deploy Vm for users in his
domain/subdomain.
2014-05-21 21:58:17 -07:00
Kelven Yang
e3bb8b98bd CLOUDSTACK-5485: Use edge-triggering in MessageDetector to handle bogus wakeup gracefully. Level triggering plus bogus wakeup can cause a tight loop to spin 2014-05-21 16:14:14 -07:00
Min Chen
f748a552e9 Disable IAM feature from 4.4 release. 2014-05-19 16:27:50 -07:00
Nitin Mehta
d5425e1a4a CLOUDSTACK-6699: listResouceDetails - enhance it to list by (key,value) pair - allowed to Admin only. 2014-05-18 23:20:12 -07:00
Alena Prokharchyk
3b5f95c547 CLOUDSTACK-6675: updatePFRule - retrieve network sync object based on the PF rule id that is passed in to the call; not the public ip address 2014-05-14 12:33:15 -07:00
Sanjay Tripathi
e7e1ae254a CLOUDSTACK-6649: CS is not giving the system-wide capacity for GPU reosurce. 2014-05-14 15:02:59 +05:30
Alena Prokharchyk
2334d9a1f3 CLOUDSTACK-6659: fixed the name for the updateIpAddress API command 2014-05-13 14:08:16 -07:00
Amogh Vasekar
594f66d125 This patch disallows deleting / modifying system defined guest OS mappings
Local env
1. Create user defined mapping
2. Delete / modify user defined mapping. Should pass
3. Delete / modify system defined mapping. Should fail

Signed off by :- Nitin Mehta<nitin.mehta@citrix.com>
2014-05-12 22:43:49 -07:00
Min Chen
be73571c74 CLOUDSTACK-6628: Fix IpAddress import typo. 2014-05-11 23:12:35 -07:00
Nitin Mehta
c12b28fc37 CLOUDSTACK-6633: listVolumes should return template/iso info for root volumes 2014-05-11 20:32:04 -07:00
Min Chen
a7dd5aae55 CLOUDSTACK-6628:[Automation] Create PF rulw API failing with error
"database id can only provided by VO objects".
2014-05-09 18:24:54 -07:00
Nitin Mehta
f2c3114bf8 CLOUDSTACK-6530: Make more networking entities implement Displayable interface. 2014-05-09 10:12:56 -07:00
Min Chen
e8e0449ed4 CLOUDSTACK-6613:IAM: authorizeSecurityGroupIngress fails when SG Name is
passed.
2014-05-08 23:09:12 -07:00
Nitin Mehta
da0545ff86 CLOUDSTACK-6530: Make Network and Volume implement Displayable interface. Iterate over all first class entities in the context to decide the display property for event display. 2014-05-08 15:36:25 -07:00
Alena Prokharchyk
cadefb1aeb CLOUDSTACK-6601: added "forDisplay" parameter to listLoadBalancerRules API 2014-05-07 17:12:58 -07:00
Alena Prokharchyk
515fa261ba CLOUDSTACK-6596: UUID and display flag update support for LBStickinessPolicy and LBHealthCheckPolicy 2014-05-07 15:38:17 -07:00
Alena Prokharchyk
b9284db857 CLOUDSTACK-6595: call expunge method marked with @ActionEvent from expunge thread context. So the action even EXPUNGE.VM is generated when vm is expunged by the thread. 2014-05-07 13:44:26 -07:00
Ove Ewerlid
9db53e5012 CLOUDSTACK-6570 API breakage of the UpdateUser API call 2014-05-06 23:45:51 +02:00
Jayapal
758f7f2f16 CLOUDSTACK-6578: Fixed issue in delete remote access vpn command 2014-05-06 19:35:34 +05:30
Min Chen
f0edfc7ac5 CLOUDSTACK-6535: IAM:MS:API createVMSnapshot doesn't preserve access
rights.
2014-05-01 12:13:59 -07:00
Min Chen
ef2616bfda CLOUDSTACK-6443: [Automation] Two Test Cases failed on "test_volumes.py"
- AttributeError: VirtualMachine instance has no attribute 'hostid'.
2014-05-01 10:05:16 -07:00
Nitin Mehta
3e7ea4e8d9 CLOUDSTACK-6530: Populate the first class entities in the context to be available for publishing more information for the event bus, checking the displayable property etc. 2014-04-28 18:16:13 -07:00
Alena Prokharchyk
98d9b8fc3f CLOUDSTACK-6436: listResourceDetails - don't return entries set with display=false, by default 2014-04-24 14:32:10 -07:00
Nitin Mehta
26d2f430e4 CLOUDSTACK-6199: Revert the AsyncVm and AsyncVolume Cmd. There is a better way to check the display property of first class entities. 2014-04-18 13:47:46 -07:00
Alena Prokharchyk
59fa7a9c1b CLOUDSTACK-6436: list* api commands with forDisplay parameter - don't return resources with display=false by default. ForDisplay=false has to be explicitly specified in the command 2014-04-17 13:50:24 -07:00
Min Chen
563efad9ae CLOUDSTACK-6429:distinguish the case where caller can see everything and
the case where caller cannot see anything. Also change behavior to
default isRecursive to false if not specified.
2014-04-17 10:50:52 -07:00
Prachi Damle
5d0f507ea6 CLOUDSTACK-6348 IAM - Regular User is not able to change password.
Changes:
- Adding entityType to *User APIs since they operate on the Account entity.
2014-04-16 11:27:00 -07:00
Prachi Damle
48c9b46328 CLOUDSTACK-6349: IAM - No error message presented to the user , when invalid password is provided.
- AccountManager now works using accountId instead of accountType in following methods too:
- isResourceDomainAdmin()
- isAdmin()
2014-04-16 11:26:57 -07:00
Sanjay Tripathi
5e9b25bad0 CLOUDSTACK-6373: listHost API response is not listing all the details of vgpuType. 2014-04-10 13:55:25 +05:30
Jayapal
a9accd331a CLOUDSTACK-6364 Added ip address validation
Also updated to assign vm primary ip to lb rule when vmid is passed virtualmachineid
and vm id ip details in vmidipmap
2014-04-09 17:42:16 +05:30
Jayapal
bea7305bb0 CLOUDSTACK-6353 Fixed listing vm ip details for lb rule 2014-04-08 12:54:07 +05:30
Jayapal
83c13ce1b9 CLOUDSTACK-6327 updated uuid to id mapping 2014-04-07 16:30:11 +05:30
Min Chen
ffd877595d Fix RoleBasedQuerySelector to handle new listAll semantics. If
listAll=true, show all resources that caller (or impersonater) has
ListEntry access type; otherwise, show all resources that caller (or
impersonater) has UseEntry access type.
2014-04-04 18:44:59 -07:00
Min Chen
1e4a253f79 Handle listAll flag in IAM buildAclSearchParameters. 2014-04-04 11:49:30 -07:00
Jayapal
936de7e1c5 CLOUDSTACK-6327: Updated the removeFromLoadBalancerRule and listLoadBalancerRuleInstances API
Updated these APIs to use VM primary/secondary details on LB rule.

listLoadBalancerRuleInstances API lists the vm ips which are assigned to lb rule when passed
listlbvmips
removeFromLoadBalancerRule is updated to remove the spcific vm ip entry assinged to LB rule.
Added new param vmidipmap to this API
2014-04-04 18:32:43 +05:30
Prachi Damle
8ddf0a42b7 CLOUDSTACK-6330 [Automation] createRemoteAccessVpn call fails with access permission error
- Correcting the EntityType for PublicIpAddress entity
- Adding the EntityType in the @APICommand for *IPAddrCmds
2014-04-03 23:07:10 -07:00
Min Chen
4367d1406b Change AccountManagerImpl.checkAccess to invoke SecurityChecker
interface that takes multiple controlled entities.
2014-04-01 17:31:56 -07:00
Min Chen
c89eb73304 Remove usage of sameOwner checkAccess invocation, and convert to
OperateEntry IAM check.
2014-04-01 17:31:56 -07:00
Prachi Damle
b917184fda Adding SecurityChecker list for the ParamProcessWorker 2014-04-01 12:06:16 -07:00
Prachi Damle
9962cf1706 SecurityChecker can accept multiple ControlledEntity 2014-04-01 12:06:13 -07:00