Commit Graph

977 Commits

Author SHA1 Message Date
Sheng Yang
463527940a Make CreateVpnGatewayCmd implements BaseAsyncCreateCmd
Instead of BaseAsyncCmd.

(cherry picked from commit 4c168bf9db)
2014-07-28 16:02:32 +02:00
Nitin Mehta
5c9ca6c22d CLOUDSTACK-6699: listResouceDetails - enhance it to list by (key,value) pair - allowed to Admin only.
(cherry picked from commit d5425e1a4a)
2014-07-28 16:02:13 +02:00
Nitin Mehta
1b3f0974f4 CLOUDSTACK-6530: Make more networking entities implement Displayable interface.
(cherry picked from commit f2c3114bf8)
2014-07-28 16:02:09 +02:00
Daan Hoogland
86aff86b78 CLOUDSTACK-6747: call a more forgiving test on the supplied peer
cidr-list
(cherry picked from commit 17850c7aff)
2014-06-25 17:18:45 +02:00
Jayapal
861eff98d0 CLOUDSTACK-6923: Fixed issue in lbsticlbsticlbrule with lbrule id
(cherry picked from commit a195e50ae7)
2014-06-24 10:13:46 +02:00
Sheng Yang
f7dd1720cb CLOUDSTACK-6854: Fix inconsistent IPv6 address formats
fc00:0003:1373::0002 should be treated the same as fc00:3:1373::2.
(cherry picked from commit dfe20f34f2)
2014-06-23 20:25:43 +02:00
Jayapal
335f165b5b CLOUDSTACK-6923: updated listLBStickinessPolicies API to list using stickinesspolicy id
(cherry picked from commit b0d726a872)

Conflicts:
	api/src/com/cloud/network/lb/LoadBalancingRulesService.java
2014-06-18 14:12:46 +02:00
Rajesh Battala
6b9ac8be8b CLOUDSTACK-6920 Support listing of LBHealthcheck policy with LBHealthcheck policy ID
(cherry picked from commit 21e452ff4f)

Conflicts:
	api/src/com/cloud/network/lb/LoadBalancingRulesService.java
2014-06-18 13:21:32 +02:00
Jayapal
c82b61a92f CLOUDSTACK-6922: Updated events for firewall ingress and egress
(cherry picked from commit 2214bd2502)

Conflicts:
	api/src/com/cloud/event/EventTypes.java
2014-06-17 13:21:50 +02:00
Jayapal
80d8cef240 CLOUDSTACK-6899: Added vmId in listnics response
(cherry picked from commit e9f60ee292)
2014-06-12 14:18:42 +02:00
Nitin Mehta
a1ab3364f4 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

(cherry picked from commit 8a9092c3cd)

Conflicts:
	api/src/com/cloud/event/EventTypes.java
	api/src/org/apache/cloudstack/api/BaseCmd.java
2014-06-12 12:18:12 +02:00
Min Chen
891ec9bd54 CLOUDSTACK-6890:createVPC invoked by admin does not observe start flag.
(cherry picked from commit 09a357fb90)
2014-06-11 10:08:40 +02:00
Olivier Lemasle
c934e7b052 CLOUDSTACK-6850: Return cpu cores, cpu speed and memory in listUsageRecords
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
(cherry picked from commit a1f278e9d4)
2014-06-10 13:39:43 +02:00
Min Chen
f1a586e9be CLOUDSTACK-6745:DomainAdmin is not able to deploy Vm for users in his
domain/subdomain.
2014-05-23 10:07:18 +02:00
Kelven Yang
943cbbb7aa 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-22 09:54:46 +02:00
Min Chen
6ba541afb7 Disable IAM feature from 4.4 release.
Conflicts:
	test/integration/smoke/test_vm_iam.py
2014-05-21 13:49:11 +02:00
Alena Prokharchyk
f20b2f47dd 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-15 09:23:44 +02:00
Sanjay Tripathi
13ba59c5f0 CLOUDSTACK-6649: CS is not giving the system-wide capacity for GPU reosurce. 2014-05-14 13:52:46 +02:00
Alena Prokharchyk
c94158f0fd CLOUDSTACK-6659: fixed the name for the updateIpAddress API command 2014-05-13 23:23:28 +02:00
Amogh Vasekar
a7bf66b9f0 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-13 22:55:14 +02:00
Min Chen
68a44cf23b CLOUDSTACK-6628: Fix IpAddress import typo. 2014-05-13 11:35:25 +02:00
Min Chen
aa2bbd455f CLOUDSTACK-6628:[Automation] Create PF rulw API failing with error
"database id can only provided by VO objects".
2014-05-13 11:34:55 +02:00
Min Chen
e865cf8d2b CLOUDSTACK-6613:IAM: authorizeSecurityGroupIngress fails when SG Name is
passed.
2014-05-13 11:20:27 +02:00
Nitin Mehta
5ead629ce7 CLOUDSTACK-6633: listVolumes should return template/iso info for root volumes 2014-05-12 09:44:12 +02:00
Alena Prokharchyk
d9b4b87c5c CLOUDSTACK-6601: added "forDisplay" parameter to listLoadBalancerRules API 2014-05-09 10:17:57 +02:00
Alena Prokharchyk
a3825f126f CLOUDSTACK-6596: UUID and display flag update support for LBStickinessPolicy and LBHealthCheckPolicy 2014-05-08 09:48:27 +02:00
Alena Prokharchyk
4c9bf8a70f 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 23:14:04 +02:00
Ove Ewerlid
3c8141a59f CLOUDSTACK-6570 API breakage of the UpdateUser API call 2014-05-06 23:46:25 +02:00
Jayapal
3c33577998 CLOUDSTACK-6578: Fixed issue in delete remote access vpn command 2014-05-06 17:48:11 +02:00
Min Chen
4ebde83519 CLOUDSTACK-6535: IAM:MS:API createVMSnapshot doesn't preserve access
rights.
2014-05-02 18:52:51 +02:00
Min Chen
5132264309 CLOUDSTACK-6443: [Automation] Two Test Cases failed on "test_volumes.py"
- AttributeError: VirtualMachine instance has no attribute 'hostid'.
2014-05-02 18:47:20 +02:00
Nitin Mehta
8eb903ba48 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-29 13:30:38 +02:00
Alena Prokharchyk
35767d1ee9 CLOUDSTACK-6436: listResourceDetails - don't return entries set with display=false, by default 2014-04-25 22:00:17 +02: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