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
Rajani Karuturi
df42ce903d
Fixed CLOUDSTACK-6756: usage id is not being returned for an ip in deleted ip range
2014-05-27 10:37:55 +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
Kelven Yang
7bfb19c584
CLOUDSTACK-6647: appending instance name with custom supplied info that contains - character can break vmsync.
2014-05-13 10:39:18 +02:00
Amogh Vasekar
1fb358d004
CLOUDSTACK-6358: As a part of supporting dynamic guest OS defined by user, removing the hard-coded dependencies.
...
This patch is for XenServer.
1. Local testing on XenServer 6.0.2
2. Successfully got up system VMs
3. Successfully created a CentOS VM
4. Created VM snapshot and reverted to snapshot
5. Manipulated guest_os_hypervisor table for mapping, and checked for correct propagation of platform emulator.
Signed off by :- Nitin Mehta<nitin.mehta@citrix.com>
2014-05-13 10:32:41 +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
Alena Prokharchyk
8985b8badc
CLOUDSTACK-6585: added missing metadata support for LBStickiness/LBHealthcheck policies
2014-05-07 09:20:16 +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
Harikrishna Patnala
df0564f14d
CLOUDSTACK-6463: password is not set for VMs created from password enabled template
2014-05-05 14:02:52 +02:00
Min Chen
1085695b5c
CLOUDSTACK-6569: IAM - Regular user is able to listNetworks of another
...
user in the same domain , by passing account and domainId.
2014-05-03 00:44:25 +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
Rajani Karuturi
69e550f5ea
Fixed CLOUDSTACK-6509 Cannot import multiple LDAP/AD users into a cloudstack account
...
Conflicts:
api/src/com/cloud/user/AccountService.java
plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapCreateAccountCmd.java
plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapImportUsersCmd.java
Signed-off-by: Koushik Das <koushik@apache.org>
2014-04-29 13:37:28 +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
Amogh Vasekar
3419c812ae
CLOUDSTACK-6437:
...
Add ability to distinguish between user defined and system defined guest OS and mappings
Add default mappings for XenServer
Local testing with
1. Add new guest OS by API
2. Add new guest OS mapping by API
2014-04-18 11:33:42 -07:00
Sanjay Tripathi
2e727428a9
CLOUDSTACK-6447: Grid K120Q and K220Q vGPU types are missing in create service offering menu.
2014-04-18 13:20:27 +05:30
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
Sanjay Tripathi
0ae35ddbfd
Fix for commented package error.
2014-04-09 21:50:16 +05:30
Sanjay Tripathi
127196e95d
CLOUDSTACK-6366: add vgpuTypes details in vgpu_types table.
2014-04-09 18:22:06 +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
Sanjay Tripathi
156fb7ebd3
CLOUDSTACK-6357: Not able to select GPU card in case of GPU-passthrough.
2014-04-08 22:08:17 +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
Gabor Apati-Nagy
eb86ed60bd
Value of Global parameter "custom.diskoffering.size.min" is not reflected in UI during new instance creation.
...
Added fields to /api and /server classes for CustomDiskOfferingMinSize
to be available in CapabilitiesResponse. Fixed UI code in Instance
Wizard to have this config value as the minimum selectable option when
we are in custom disk size mode.
2014-04-01 10:56:02 -07:00
Sebastien Goasguen
6d15f6c27e
CLOUDSTACK-6299: Fixed apidoc info with base64 encoded
2014-03-28 09:56:16 -04:00
Edison Su
392dc817af
fix build
2014-03-27 17:38:42 -07:00
Edison Su
4584d5c845
CLOUDSTACK-5831: return quiescevm field in volumeresponse
...
Conflicts:
api/src/org/apache/cloudstack/api/response/VolumeResponse.java
server/src/com/cloud/api/query/QueryManagerImpl.java
2014-03-27 17:38:40 -07:00
Edison Su
24d1f161b8
CLOUDSTACK-5329: fix NPE, in case of zone wide primary storage
...
Conflicts:
api/src/com/cloud/storage/StoragePool.java
server/src/com/cloud/vm/UserVmManagerImpl.java
2014-03-27 17:38:38 -07:00
Prachi Damle
a5b9814f7a
Fixes to ensure Network entity checkAccess invokes the IAM service
2014-03-24 17:09:43 -07:00
Jayapal
18934345af
CLOUDSTACK-6250: updated review comments, added unit test case
2014-03-24 17:53:38 +05:30
Konstantina Chremmou
403bdf107f
Added version info to command and response parameters introduced in 4.4. Renamed newly introduced parameter StoragePoolReponse.overProvisionFactor to comply with coding conventions.
...
Signed-off-by: Alena Prokharchyk <alena.prokharchyk@citrix.com>
2014-03-21 11:45:22 -07:00
Konstantina Chremmou
90646ad070
Renamed static fields to comply with coding conventions.
...
Signed-off-by: Alena Prokharchyk <alena.prokharchyk@citrix.com>
2014-03-21 11:10:21 -07:00
Min Chen
bd69166619
Add newly separated admin cmd class in ManagementServerImpl.getCommands.
2014-03-20 16:08:40 -07:00
Jayapal
dd237a8d53
CLOUDSTACK-6250 Review comments fixes for CLOUDSTACK-2692
2014-03-20 17:21:47 +05:30
Murali Reddy
e0c1bf7107
persist fact that network can span multiple zones, if network offering
...
has strechedL2Subnet capability and return the zones in which network
spans in the networkreponse object
2014-03-20 16:25:15 +05:30
Prachi Damle
b3e22191cb
More changes to support 'readOnly' access
...
Conflicts:
api/src/org/apache/cloudstack/api/ApiConstants.java
2014-03-19 11:31:06 -07:00
Prachi Damle
a919f740d0
Adding support for 'readOnly' access. AccessType.ListEntry introduced.
...
Conflicts:
api/src/org/apache/cloudstack/api/ApiConstants.java
2014-03-19 11:30:22 -07:00
Jayapal
7ff49cb887
CLOUDSTACK-6240 Fixed updating advanced SG rules for vm nic secondary ip
2014-03-19 16:03:56 +05:30
Nitin Mehta
4723fbb83f
CLOUDSTACK-6247: Usage Events - hide them when display flag is off in the context of "Ability to have better control over first class objects in CS" feature
...
Work done for network offering.
2014-03-18 13:54:25 -07:00
Nitin Mehta
30a98381bb
CLOUDSTACK-6247: Usage Events - hide them when display flag is off in the context of "Ability to have better control over first class objects in CS" feature
...
And when the flag is updated on the resource accordingly generate usage events again.
Also when display flag is false in deployvm cmd it should be false for the volumes associated with the vm as well
2014-03-17 18:50:06 -07:00
Min Chen
ae6b9a0829
Remove IAMEntityType to use existing VO interface class to annotate
...
entityType.
2014-03-17 16:59:19 -07:00
Marcus Sorensen
e9e2ee3ac5
CLOUDSTACK-6181: Merge of resize root feature (resize-root branch)
2014-03-14 03:40:08 -06:00
Mike Tutkowski
709d2a096d
CLOUDSTACK-6170
2014-03-14 23:44:50 -06:00
Kelven Yang
ba56210127
Deal with concurrent state update for VM and Host objects.
2014-03-14 15:08:04 -07:00
Jayapal
14a4dd116f
CLOUDSTACK-2692 Assigning LB rule for vm nic secondary ips
...
Conflicts:
setup/db/db/schema-430to440.sql
2014-03-14 22:48:51 +05:30
Murali Reddy
7a929d1a0e
region level VPC support
...
introduce 'RegionLevelVpc' as capability of 'Connectivity' service. Add
support for CreateVPCOffering to take the 'regionlevelvpc' as capability
of service 'connectivity'.
introduces new capability 'StretchedL2Subnet' for 'Connectivity'
service. Also add support to createNetworkOffering api to allow
StretchedL2Subnet capablity for the connectivity service.
adds check to ensure 'Connectivity' service provider supports
'StretchedL2Subnet' and 'RegionLevelVpc' capabilities when specified in
createNetworkOffering and createVpcOffering respectivley
enable ovs plug-in to support both StretchedL2Subnet and RegionLevelVpc
capabilities
make zone id optional parameter in createVpc, zone id can be null only
if vpc offfering supports region level VPC
in region level vpc, let the network/tier to be created in any zone of
the region
keep zoneid as required param for createVpc
skip external guest network guru if 'Connectivy' service is present in
network offering
fix build break in contrail manager
permit VM's to be created in different zone that in which network is
created if the network support streched L2 subnet
add integration tests for region level VPC
rebase to master
Conflicts:
setup/db/db/schema-430to440.sql
2014-03-14 21:54:47 +05:30
Saksham Srivastava
48f8a95b06
CLOUDSTACK-6092: Storage OverProvisioning as a Per Primary Basis Allow storage.overprovisioning.factor to be specified at storape pool level.
...
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2014-03-14 12:16:46 +05:30
Murali Reddy
e045883c52
introduce OvsNetworkTopologyGuru that has convinenace functions to
...
- get the hosts on which VPC spans given vpc id
- get the VM's in the VPC
- get the hosts on which a network spans
- get the VPC's to which a hosts is part of
- get VM's of a VPC on a hosts
introduces capability to build a physical toplogy representation of a
VPC. This json file is encapsulated in
OvsVpcPhysicalTopologyConfigCommand, and is used to send full topology
to hypervisor hosts. On hypervisor this json config can be used to setup
tunnels, configure bridge, add flow rules etc
Ovs GURU, to use different broasdcast scheme VS://vpcid.gerkey for the
networks in VPC that use distributed routing
each VIF and tunnel interface to carry the network UUID in other/options
config
2014-03-14 16:56:37 +05:30
Murali Reddy
3139b35518
mark VPC to be using distributed router if VPC offerign supports
...
distributedrouter capability.
2014-03-14 16:56:35 +05:30
Murali Reddy
7c4443e233
-introduces 'DistributedRouter' as capability to 'Connectivity' service.
...
-create VPC offering to permit 'DistributedRouter' as capability to
connectivity service
2014-03-14 16:56:35 +05:30
Koushik Das
16ddc3414a
CLOUDSTACK-6052: List VM enhancement to support querying with multiple VM IDs
...
Annotated the 'ids' parameter with "since = 4.4"
2014-03-14 11:04:42 +05:30
Kelven Yang
5310e66f30
Do not use row lock in sync-queue scheduling to work around mysql locking issues.
2014-03-13 16:59:56 -07:00
Min Chen
8ff94601f1
Merge branch 'rbac' to master
2014-03-13 16:42:22 -07:00
Min Chen
d3fd66e9f5
Fix VM deploy failure bug introduced by commit
...
39e5b768e8 .
2014-03-13 16:37:26 -07:00
Alena Prokharchyk
6c23e201ad
1) More fixes for the problems found by findBugs
...
2) Corrected some logging in MidoNetPublicNetworkGuru - removed .toString method call on the objects in the log body as toString is called on the object by default when use log4j
2014-03-13 16:05:45 -07:00
Prachi Damle
36c0a4e2c3
Removed the AccessType.UseNetwork - replaced all referrences by AccessType.UseEntry
2014-03-13 15:32:38 -07:00
Min Chen
84a528fad6
Merge branch 'master' into rbac
2014-03-13 14:52:37 -07:00
Alena Prokharchyk
90c485e5d6
Fixed some problems reported by FindBugs
2014-03-13 13:45:30 -07:00
Prachi Damle
d9696b26e1
After merge, fix isRootAdmin() calls to use accountId instead of type
2014-03-13 13:28:40 -07:00
Alena Prokharchyk
67ab3211bd
Removed getUUID() method from Domain interface as this interface already implements @Identity where getUUID is defined
2014-03-13 12:54:13 -07:00
Min Chen
99bdc8d875
Merge branch 'master' into rbac.
2014-03-13 11:05:03 -07:00
Antonio Fornie
39e5b768e8
More generic parameters that are not unknown
...
Adding some more parameter names that should not be considered unknown since they belong to general use paramters
Signed-off-by: Alena Prokharchyk <alena.prokharchyk@citrix.com>
2014-03-13 10:40:14 -07:00
Alena Prokharchyk
1b83698dac
deployVm/startVm APIs: ability to define deploymentPlanner for VmToStart in the api call (available to ROOT admin only)
2014-03-13 10:23:34 -07:00
Koushik Das
5779292e93
CLOUDSTACK-6052: List VM enhancement to support querying with multiple VM IDs
...
New parameter 'ids' added to listVirtualMachine API. The syntax looks like
http://localhost:8096/api?command=listVirtualMachines&listAll=true&ids=eddac053-9b12-4d2e-acb7-233de2e98112,009966fc-4d7b-4f84-8609-254979ba0134
The new parameter will be mutually exclusive with the existing 'id' parameter.
2014-03-13 17:05:35 +05:30
Sanjay Tripathi
bc4c8052fd
findbugs: impossible cast in CreateServiceOfferingCmd file.
2014-03-13 15:04:18 +05:30
amogh.vasekar
3ee1fc28de
CLOUDSTACK-6217:
...
Add APIs for ability to add new guest OS types, and their hypervisor specific mappings.
The table guest_os_hypervisor is currently maintained but not used, and the APIs reuse the same
Signed off by: Nitin Mehta <nitin.mehta@citrix.com>
2014-03-12 17:03:38 -07:00
Sheng Yang
f45de30d1b
CLOUDSTACK-6047: Enable VR aggregation commands for VR start/reboot
2014-03-11 13:04:26 -07:00
Sanjay Tripathi
c7d31fe288
CLOUDSTACK-4760 : Enabling GPU support for XenServer.
...
CLOUDSTACK-4762 : Enabling VGPU support for XenServer.
This feature is to enable the GPU-passthrough and vGPU functionality,
with the help of this feature, admins/users will be able to leverage
the GPU graphics unit power by deploying a virtul machine with GPU or
vGPU support or by changing the service offering of an existing VM
at any later point of time. There GPU/vGPU enabled VMs are able to run
graphical applications.
For now, this feature is only supported with XenServer hypervisor but
can be extended to add the support of other hypervisors.
2014-03-11 15:44:51 +05:30
Nitin Mehta
33a0dec965
CLOUDSTACK-6221:
...
Publish first class objects involved in an operation (for now vm uuid) on the event bus . Example - during attach/detachIso along with iso id, vm id should be available as well.
2014-03-10 16:22:34 -07:00
Alena Prokharchyk
bf9375b8b9
CLOUDSTACK-6214: apply network rules when plug new guest nic to router for the network in Setup state
...
Conflicts:
server/src/com/cloud/network/router/VpcVirtualNetworkApplianceManager.java
server/src/com/cloud/network/router/VpcVirtualNetworkApplianceManagerImpl.java
Conflicts:
api/src/com/cloud/network/VpcVirtualNetworkApplianceService.java
server/src/com/cloud/network/router/VpcVirtualNetworkApplianceManager.java
server/src/com/cloud/network/router/VpcVirtualNetworkApplianceManagerImpl.java
server/test/com/cloud/vpc/MockVpcVirtualNetworkApplianceManager.java
2014-03-10 11:42:24 -07:00
Min Chen
748c090b29
Fix unapproved licens issue.
2014-03-10 11:27:10 -07:00