Tim Mackey
a8212d9ef4
Cleanup of Xen and XenServer terms. Cloned xen plugin creating a xenserver plugin, then removed xen plugin
...
Signed-off-by: Tim Mackey <tmackey@gmail.com>
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2014-06-07 04:50:23 -04:00
Marcus Sorensen
7ce3034299
CLOUDSTACK-6790: Disable PXE ROM for system vm nics
2014-05-27 16:52:26 -06:00
Nitin Mehta
a8140ff58c
CLOUDSTACK-6787: Event Bus - uuids missing in some cases due to various reasons
2014-05-27 15:07:38 -07:00
Marcus Sorensen
96055058b0
CLOUDSTACK-6785: changed async job param injectedjobid to customjobid and check for unique/uuid
2014-05-27 15:23:12 -06:00
Marcus Sorensen
2a5bf65c78
CLOUDSTACK-6785: Allow async jobs to supply an injectedjobid
2014-05-27 15:23:02 -06:00
Rajani Karuturi
ce6a53e37b
Fixed CLOUDSTACK-6756: usage id is not being returned for an ip in deleted ip range
...
(cherry picked from commit a6ed48fc9c5f68b46f0d2e05adefc7263c4cd0d0)
Conflicts:
setup/db/db/schema-430to440.sql
2014-05-27 10:41:40 +05:30
Min Chen
e4e8931389
CLOUDSTACK-6745:DomainAdmin is not able to deploy Vm for users in his
...
domain/subdomain.
2014-05-22 18:28:14 -07:00
Min Chen
ba848087f8
Disable IAM feature from 4.4 release.
2014-05-22 18:27:08 -07:00
Daan Hoogland
cd62aecb2f
conflict headers removed from comment
2014-05-22 10:00:05 +02:00
Kelven Yang
09ec127470
CLOUDSTACK-6743: 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:17:39 -07:00
Anthony Xu
df6ce24f43
if networkID is not specified, get one network with free ips.
2014-05-21 14:33:52 -07:00
Nitin Mehta
667c8e7905
CLOUDSTACK-6699: listResouceDetails - enhance it to list by (key,value) pair - allowed to Admin only.
2014-05-18 23:21:37 -07:00
Alena Prokharchyk
8d9bdb19b4
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:34:39 -07:00
Alena Prokharchyk
961e2c43bc
CLOUDSTACK-6659: fixed the name for the updateIpAddress API command
2014-05-14 12:34:36 -07:00
Sanjay Tripathi
35cd61c463
CLOUDSTACK-6649: CS is not giving the system-wide capacity for GPU reosurce.
2014-05-14 15:05:28 +05:30
Amogh Vasekar
9b6d430171
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:45:24 -07:00
Kelven Yang
98307bfcea
CLOUDSTACK-6647: appending instance name with custom supplied info that contains - character can break vmsync.
2014-05-12 16:32:05 -07:00
Min Chen
aa03af7df7
CLOUDSTACK-6628: Fix IpAddress import typo.
2014-05-12 12:08:41 -07:00
Nitin Mehta
7ae784ba3c
CLOUDSTACK-6633: listVolumes should return template/iso info for root volumes
2014-05-11 20:36:53 -07:00
Min Chen
daadc45122
CLOUDSTACK-6628:[Automation] Create PF rulw API failing with error
...
"database id can only provided by VO objects".
2014-05-09 18:48:08 -07:00
Nitin Mehta
1e300b0d12
CLOUDSTACK-6530: Make more networking entities implement Displayable interface.
2014-05-09 10:13:33 -07:00
Min Chen
0f79223f28
CLOUDSTACK-6613:IAM: authorizeSecurityGroupIngress fails when SG Name is
...
passed.
2014-05-08 23:19:28 -07:00
Nitin Mehta
c0f72b25c6
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:37:20 -07:00
Alena Prokharchyk
b7b89b1297
CLOUDSTACK-6601: added "forDisplay" parameter to listLoadBalancerRules API
2014-05-07 17:06:55 -07:00
Alena Prokharchyk
66d5ebc657
CLOUDSTACK-6596: UUID and display flag update support for LBStickinessPolicy and LBHealthCheckPolicy
2014-05-07 15:46:18 -07:00
Alena Prokharchyk
25ab05a189
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 15:46:10 -07:00
Nitin Mehta
5388d349a4
CLOUDSTACK-6597: Updatevm - root admin should be allowed to change instance name
2014-05-07 14:34:01 -07:00
Alena Prokharchyk
ee5f5591c7
CLOUDSTACK-6585: added missing metadata support for LBStickiness/LBHealthcheck policies
2014-05-06 17:13:50 -07:00
Ove Ewerlid
fc04e4b4ec
CLOUDSTACK-6570 API breakage of the UpdateUser API call
2014-05-06 23:43:41 +02:00
Jayapal
40836344de
CLOUDSTACK-6578: Fixed issue in delete remote access vpn command
2014-05-06 20:08:30 +05:30
Jayapal
11591582d5
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-05-06 20:08:30 +05:30
Harikrishna Patnala
2284a95e4f
CLOUDSTACK-6463: password is not set for VMs created from password enabled template
2014-05-05 11:48:35 +05:30
Min Chen
3314e11b70
CLOUDSTACK-6569: IAM - Regular user is able to listNetworks of another
...
user in the same domain , by passing account and domainId.
2014-05-02 14:58:11 -07:00
Min Chen
d7c5382c58
CLOUDSTACK-6535: IAM:MS:API createVMSnapshot doesn't preserve access
...
rights.
2014-05-01 15:57:28 -07:00
Min Chen
09c9f8dfbd
CLOUDSTACK-6443: [Automation] Two Test Cases failed on "test_volumes.py"
...
- AttributeError: VirtualMachine instance has no attribute 'hostid'.
2014-05-01 15:57:28 -07:00
Rajani Karuturi
f4779b4d0c
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 14:49:06 +05:30
Nitin Mehta
dd55095fd5
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.
...
(cherry picked from commit 3e7ea4e8d9 )
2014-04-28 18:21:48 -07:00
Prachi Damle
9514c9e045
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-28 11:10:50 -07:00
Amogh Vasekar
78c683f568
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-25 13:10:10 -07:00
Alena Prokharchyk
1e0d6716ca
CLOUDSTACK-6436: listResourceDetails - don't return entries set with display=false, by default
...
Conflicts:
api/src/org/apache/cloudstack/api/command/user/volume/ListResourceDetailsCmd.java
2014-04-24 14:35:46 -07:00
SrikanteswaraRao Talluri
d22adf943d
Merge branch 'marvin'
...
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
Conflicts:
test/integration/component/test_dynamic_compute_offering.py
test/integration/smoke/test_deploy_vm.py
test/integration/smoke/test_disk_offerings.py
test/integration/smoke/test_volumes.py
2014-04-23 11:45:43 +05:30
Nitin Mehta
b9799481a1
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:58:13 -07:00
Sanjay Tripathi
5eaf3be44a
CLOUDSTACK-6447: Grid K120Q and K220Q vGPU types are missing in create service offering menu.
2014-04-18 13:49:26 +05:30
Min Chen
c25332fc46
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 18:33:08 -07:00
Min Chen
5d59fc7f5a
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-17 18:06:07 -07:00
Min Chen
7796128372
Handle listAll flag in IAM buildAclSearchParameters.
2014-04-17 18:05:44 -07:00
Prachi Damle
7819775bb8
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-17 17:54:57 -07:00
Min Chen
da13165743
Change AccountManagerImpl.checkAccess to invoke SecurityChecker
...
interface that takes multiple controlled entities.
2014-04-17 17:53:01 -07:00
Alena Prokharchyk
664e5e3190
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:51:30 -07:00
Marcus Sorensen
11f5bdd78d
CLOUDSTACK-6191 Add support for specifying volume provisioning
...
type (thin, sparse, fat) in disk/compute offerings.
Submitted-by: Yoshikazu Nojima <mail@ynojima.net>
Reviewed-by: Marcus Sorensen, Mike Tutowski
2014-04-10 09:23:04 -06:00
Sanjay Tripathi
6a725c6795
CLOUDSTACK-6373: listHost API response is not listing all the details of vgpuType.
2014-04-10 14:08:32 +05:30
Sanjay Tripathi
c94eb0b946
Fix for commented package error.
2014-04-09 21:55:10 +05:30
Sanjay Tripathi
a195205d11
CLOUDSTACK-6366: add vgpuTypes details in vgpu_types table.
2014-04-09 18:23:50 +05:30
Sanjay Tripathi
2ae9da8d47
CLOUDSTACK-6357: Not able to select GPU card in case of GPU-passthrough.
2014-04-08 22:10:09 +05:30
SrikanteswaraRao Talluri
0e223d6787
Merge branch 'master' into marvin
...
Conflicts:
test/integration/component/test_base_image_updation.py
test/integration/component/test_cpu_domain_limits.py
test/integration/component/test_cpu_limits.py
test/integration/component/test_cpu_project_limits.py
test/integration/component/test_ip_reservation.py
test/integration/component/test_memory_limits.py
test/integration/component/test_mm_domain_limits.py
test/integration/component/test_mm_project_limits.py
test/integration/component/test_persistent_networks.py
test/integration/component/test_portable_ip.py
test/integration/component/test_routers.py
test/integration/smoke/test_deploy_vm.py
test/integration/smoke/test_deploy_vm_with_userdata.py
test/integration/smoke/test_internal_lb.py
test/integration/smoke/test_vm_life_cycle.py
test/integration/smoke/test_volumes.py
tools/marvin/marvin/codes.py
tools/marvin/marvin/configGenerator.py
tools/marvin/marvin/lib/base.py
tools/marvin/marvin/lib/common.py
tools/marvin/marvin/lib/utils.py
2014-04-08 17:53:37 +05:30
Jayapal
e6e4fe4d26
CLOUDSTACK-6353 Fixed listing vm ip details for lb rule
2014-04-08 12:56:02 +05:30
Jayapal
78a29c0d41
CLOUDSTACK-6327 updated uuid to id mapping
2014-04-07 18:03:57 +05:30
Min Chen
94ebc90877
Remove usage of sameOwner checkAccess invocation, and convert to
...
OperateEntry IAM check.
2014-04-04 16:38:29 -07:00
Prachi Damle
a509f94544
Adding SecurityChecker list for the ParamProcessWorker
2014-04-04 16:38:29 -07:00
Prachi Damle
897e0d3abe
SecurityChecker can accept multiple ControlledEntity
2014-04-04 16:38:29 -07:00
Jayapal
b94a982618
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:42:03 +05:30
Alena Prokharchyk
3a889aa217
CLOUDSTACK-3886: Volume attach/detach implementation for ROOT disk
...
Implemented for Xen hypervisor only by now
Unittests are included
2014-04-03 11:39:56 -07:00
Gabor Apati-Nagy
883d7f17f7
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:57:36 -07:00
Edison Su
25a6234a5b
fix build
2014-03-28 16:24:45 -07:00
Edison Su
7c04aa6115
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-28 16:23:19 -07:00
Edison Su
6b7994512d
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-28 16:22:16 -07:00
Sebastien Goasguen
af66d0e4f6
CLOUDSTACK-6299: Fixed apidoc info with base64 encoded
2014-03-28 09:51:45 -04:00
Daan Hoogland
8b62b2cb92
findbugs: exclude known spiffy hacks a.k.a. false positives
2014-03-28 14:28:10 +01:00
Jayapal
fb498a40ba
CLOUDSTACK-6250: updated review comments, added unit test case
2014-03-24 17:54:54 +05:30
Laszlo Hornyak
426e3e8708
added license header (build fix)
...
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-03-22 21:16:45 +01:00
Konstantina Chremmou
2adb9af898
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:50 -07:00
Konstantina Chremmou
d65d9c8e9a
Renamed static fields to comply with coding conventions.
...
Signed-off-by: Alena Prokharchyk <alena.prokharchyk@citrix.com>
2014-03-21 11:23:40 -07:00
Min Chen
ea2ee15214
Add newly separated admin cmd class in ManagementServerImpl.getCommands.
2014-03-20 16:42:31 -07:00
Jayapal
d38cab879b
CLOUDSTACK-6250 Review comments fixes for CLOUDSTACK-2692
2014-03-20 17:22:28 +05:30
Murali Reddy
2b51207510
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 17:01:33 +05:30
Murali Reddy
d2d54a9463
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
Conflicts:
api/src/org/apache/cloudstack/api/ApiConstants.java
engine/schema/src/com/cloud/network/vpc/VpcVO.java
setup/db/db/schema-430to440.sql
2014-03-20 16:32:22 +05:30
Prachi Damle
c3ee01cca1
More changes to support 'readOnly' access
2014-03-19 11:00:23 -07:00
Prachi Damle
e09f97aa63
Adding support for 'readOnly' access. AccessType.ListEntry introduced.
2014-03-19 11:00:20 -07:00
Jayapal
289ac0465c
CLOUDSTACK-6240 Fixed updating advanced SG rules for vm nic secondary ip
2014-03-19 15:46:15 +05:30
Nitin Mehta
5d19a936a2
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 14:00:55 -07:00
Nitin Mehta
7442b56fa8
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-18 14:00:25 -07:00
Marcus Sorensen
d638d04cbf
CLOUDSTACK-6181: Merge of resize root feature (resize-root branch)
2014-03-14 07:17:33 -06:00
Min Chen
ae1d6a771b
Remove IAMEntityType to use existing VO interface class to annotate
...
entityType.
2014-03-17 17:19:55 -07:00
Mike Tutkowski
d55c4dd804
CLOUDSTACK-6170
2014-03-14 23:47:20 -06:00
Kelven Yang
12f7cbcb76
Deal with concurrent state update for VM and Host objects.
2014-03-14 14:07:39 -07:00
Alena Prokharchyk
d9e1c9c502
CLOUDSTACK-6205: VPC VR start - skip private gateway when create Guest nics as the nic for the private gateway is being created separately
...
Conflicts:
server/src/com/cloud/network/NetworkModelImpl.java
server/src/com/cloud/network/router/VpcVirtualNetworkApplianceManagerImpl.java
2014-03-14 11:57:58 -07:00
Jayapal
384eeaf792
CLOUDSTACK-2692 Assigning LB rule for vm nic secondary ips
2014-03-14 22:47:17 +05:30
Hugo Trippaers
4402685e11
Update master to 4.5.0-SNAPSHOT
2014-03-14 14:55:26 +01:00
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
Nitin Mehta
ded7e682dc
CLOUDSTACK-5478: Enable publishing uuid for all the async apis in the CallContext.
...
The advantage would be that event publishing can pick up the uuid and publish them.
2014-03-07 16:50:21 -08:00
Mike Tutkowski
548c81082b
Adding license header
2014-03-07 16:43:03 -07:00
Mike Tutkowski
c427e8db1c
CLOUDSTACK-6170
2014-03-07 15:38:50 -07:00
Alena Prokharchyk
7b0c5cfcbe
Removed unused methods from BaseCmd class. Moved some helper methods to AccountManagerImpl class
2014-03-07 11:33:10 -08:00
Antonio Fornie
c211f0bbbe
Dispatcher corrections, refactoring and tests
...
Corrects problems from previous attempt. Fixes based on help comments from
the community and conflict resolution
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-03-07 19:12:07 +01:00
Alena Prokharchyk
7cb913235a
Removed unused parameter from @Parameter
2014-03-06 16:06:00 -08:00
Min Chen
48e08fe676
Merge branch 'master' into rbac.
2014-03-06 14:02:20 -08:00
Mike Tutkowski
9b66866dc2
CLOUDSTACK-6170
2014-03-06 13:01:11 -07:00
Nitin Mehta
830328b63d
CLOUDSTACK-6199: Hide action events for Vm/Volume commands when the resources have display flag=0.
...
Introduce generic BaseAsync(Vm/Volume)Cmd to make get the flag value for logging action events.
Rename the db field as display rather than display_event in keeping with the convention
2014-03-05 16:40:44 -08:00
Anthony Xu
ab1d3af460
Use seperate path to sync VM metadata for XS
...
VM status sync only does VM status sync
2014-03-05 15:44:50 -08:00
Min Chen
922cdc0dd1
Fix unapproved licens issue.
2014-03-05 14:31:28 -08:00
Mike Tutkowski
b06e66c50a
CLOUDSTACK-6170
2014-03-05 13:55:12 -07:00
Min Chen
793becf524
CLOUDSTACK-5920: Add some interface methods and constants required by
...
IAM.
2014-03-05 09:40:55 -08:00
Min Chen
d0ae4d9a9f
CLOUDSTACK-5920:Add interface to ControlledEntity to return IAM
...
entity type.
2014-03-05 09:40:55 -08:00
Prachi Damle
695d689de5
Adding annotations for more admin APIs
2014-03-04 18:14:05 -08:00
Nitin Mehta
339c4f4c3f
CLOUDSTACK-6199: Action Events - hide them when display flag is off in the context of "Ability to have better control over first class objects in CS" feature.
...
For root admin - s/he should be able to see all the events despite the value of the flag.
2014-03-04 14:59:30 -08:00
Alena Prokharchyk
bbf5a912c6
list* APIs - added parameter helping to filter by "display" flag (available to ROOT admin only)
2014-03-03 14:37:46 -08:00
Prachi Damle
a837ac8873
Adding Operate access check at service layer, since we are not checking access on the command parameter here
2014-03-03 13:35:19 -08:00
Alena Prokharchyk
fd43cf1516
Revert "CLOUDSTACK-5872: Async response from addAccountToProject doesn't contain useful information"
...
This reverts commit ebcaec8632 .
Reverting as it breaks API compatibility
2014-03-03 12:44:08 -08:00
David Grizzanti
ebcaec8632
CLOUDSTACK-5872: Async response from addAccountToProject doesn't contain useful information
...
Signed-off-by: Daan Hoogland <dhoogland@schubergphilis.com>
2014-03-03 11:02:34 +01:00
Min Chen
e5d722654a
Rename IAMEntityType.AclGroup and AclPolicy.
2014-03-02 16:06:29 -08:00
Kelven Yang
cdf605b2cd
NDC.pop() can return empty string, this causes a loop spinning in CallContext.UnregisterAll().
2014-02-28 15:35:59 -08:00
Kelven Yang
b21662f890
make sure XS report VM state even if there is no running VM on the host.
2014-02-28 15:35:59 -08:00
Kelven Yang
537bf7ced1
add job path to help associate an API job to related internal job. Reviewed-By: Self
2014-02-28 15:35:59 -08:00
Kelven Yang
90ea3249a8
disable cluster-scope report from XS resource
2014-02-28 15:35:57 -08:00
Kelven Yang
5d73217723
process the missing power report of a VM that exists in CloudStack but not in hypervisor
2014-02-28 15:35:57 -08:00
Alena Prokharchyk
d9a4e038a0
Enhanced updateVirtualMachine API with optional parameter "name" - to allow update hostName for the virtual machine
2014-02-28 14:35:37 -08:00
Alena Prokharchyk
bb6fddf434
listVirtualMachines API: ability to search by service offering the vm is created from
...
listVolumes API: ability to search by disk offering the volume is created from
2014-02-26 16:56:33 -08:00
Prachi Damle
187f9cd0a2
iam/plugin: Rename Acl to IAM everywhere
2014-02-25 16:43:23 -08:00
Prachi Damle
f41604fc6c
Renaming AclEntityType --> IAMEntityType
2014-02-25 16:43:17 -08:00
Mandar Barve
b0c6d47347
- Updated APICommand annotation to add new flags that indicate if API request or response carry sensitive info - Updated all API classes with the new annotation flag values as per the API's sensitivity - Updated server code to check response annotation before audit logging
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit df270d6387c362b960064ee5123c14782e767a19)
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-02-25 22:59:10 +01:00
Alena Prokharchyk
e2ec094722
Display flag support for VpnConnection/VpnGateway/RemoteAccessVpn
2014-02-21 14:51:22 -08:00
Alena Prokharchyk
0f489732c8
Display flag support for LB/InternalLB/NetworkACL rules
2014-02-21 14:03:10 -08:00
Alena Prokharchyk
92064e347a
Display flag support for autoscale vmGroup and vmProfile
2014-02-21 11:52:50 -08:00
Alena Prokharchyk
27a790bdc1
DisplayFlag update support for PF/Firewall/EgressFirewall rules
2014-02-21 11:06:52 -08:00
Alena Prokharchyk
21d016b3dd
API response: added new field to @Param - RoleType[] authorized() default {}. The field defines who is authorized to see this partciluar reponse field. If not specified, the parameter is returned to everybody
2014-02-20 17:15:43 -08:00
Alena Prokharchyk
2f7bfc0c73
Display flag support for publicIpAddress and VPC. Once set to false, the object is not listed to the regular user. Available to be set by Root admin only
2014-02-20 17:15:42 -08:00
Niels de Vos
fe83a85436
Add support for Primary Storage on Gluster using the libvirt backend
...
The support for Gluster as Primary Storage is mostly based on the
implementation for NFS. Like NFS, libvirt can address a Gluster environment
through the 'netfs' pool-type.
2014-02-20 14:52:01 +01:00
Nitin Mehta
c171e2c3e4
CLOUDSTACK-4744: Enhance root admin API updateVolume with chaininfo parameter as a part of "Better control over first party objects" feature.
2014-02-19 18:01:18 -08:00
Prachi Damle
42a7d41c55
Adding annotations to router commands
2014-02-19 12:22:35 -08:00
Prachi Damle
bbaa742863
Adding annotations to admin commands
2014-02-19 12:22:33 -08:00
Prachi Damle
f0a9b3b510
@ACL from some commands
2014-02-19 12:22:30 -08:00
Min Chen
586ee74000
Clean up SecurityChecker.AccessType and modify code to use them
...
consistently.
2014-02-14 11:23:05 -08:00
Min Chen
8072e50845
Fixed a bug for listTemplates with TemplateFilter=shared.
2014-02-13 16:47:41 -08:00
Marcus Sorensen
b77b55f040
CLOUDSTACK-6089: Use resource tag's key to determine match in
...
equals() method for ResourceTagResponse
2014-02-12 17:00:10 -07:00
Marcus Sorensen
d33798f0d9
CLOUDSTACK-6089: Implement equals() method for ResourceTagResponse
...
so that the java Set can properly determine if a ResourceTagResponse
is unique. This ensures we don't get duplicate resource tags showing
up any time a UserVmResponse is crafted (which can be quite often
due to the way the responses are crafted).
2014-02-12 16:10:48 -07:00
Alena Prokharchyk
e0de79b170
Resource metadata: by default, all metadata is set with display=true (meaning that the detail is avaialble for display to the regular user). If admin wants to set a specific detail to be false, he has to specify it explicitly in addResourceDetail command
2014-02-10 12:05:59 -08:00
Jayapal
37c4015d4d
CLOUDSTACK-6040: Updated the ip addr validation in create port forwarding
2014-02-10 14:28:33 +05:30
Min Chen
3b58a45e04
Merge branch 'master' into rbac.
2014-02-07 13:43:36 -08:00
Alena Prokharchyk
782c530685
Revert "CLOUDSTACK-6003 fixing plus refactoring dispatcher" as it breaks API dispatching for commands having Map<String,String> as a parameter type
...
This reverts commit 447430c3df .
Conflicts:
api/src/org/apache/cloudstack/api/BaseCmd.java
server/src/com/cloud/api/ApiDispatcher.java
server/src/com/cloud/network/as/AutoScaleManagerImpl.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2014-02-06 14:46:58 -08:00
Alena Prokharchyk
e51d472b0c
External UUID control: as only Root admin can change external UUID, so modified @Parameter to enforce the check
2014-02-05 15:56:40 -08:00
Alena Prokharchyk
4305d817ba
External UUID control support for PublicIpAddress/RemoteAccessVpn/PortForwardingRule/S2SVpnGateway/S2SVpnConnection
2014-02-05 15:56:40 -08:00
Alena Prokharchyk
9641e1dbee
External UUID control support for NetworkACLList/LoadBalancer/ApplicationLoadBalancer
2014-02-05 10:36:21 -08:00
Hugo Trippaers
8a9d9798d9
Fix camelcasing inconsistency causing an assertion error.
...
java.lang.AssertionError: Searching for a field that's not there: serviceName
at com.cloud.utils.db.SearchBase.set(SearchBase.java:219)
at com.cloud.utils.db.SearchBase$Interceptor.intercept(SearchBase.java:475)
at com.cloud.network.dao.MonitoringServiceVO$$EnhancerByCGLIB$$84195222.getServiceName(<generated>)
at com.cloud.network.dao.MonitoringServiceDaoImpl.<init>(MonitoringServiceDaoImpl.java:41)
2014-02-05 17:46:33 +01:00
Devdeep Singh
a24263fe81
CLOUDSTACK-6030: Encrypt the primary and secondary smb storage password when it is stored in the db.
2014-02-05 15:44:09 +05:30
Prachi Damle
0908f64ec7
add @ACL and EntityType to VMSnapshot APIs
2014-02-04 18:05:29 -08:00
Prachi Damle
f6df4845fe
Adding EntityType to vpn commands
2014-02-04 17:52:51 -08:00
Alena Prokharchyk
aaa20947a9
ExternalUUID control support for Firewall and Egress Firewall rules
2014-02-04 17:06:04 -08:00
Alena Prokharchyk
7cb4b571c8
ExternalUUID control: enforce checking uuid validity by defining checkUUID method in the corresponding absract class, and performing the check during API command dispatching
2014-02-04 15:47:13 -08:00
Alena Prokharchyk
e5335cd6e4
CLOUDSTACK-2789: UpdateVPC shouldn't require name parameter
2014-02-04 15:47:13 -08:00
Alena Prokharchyk
8065ee445f
External UUID control support for VPC and NetworkACLItemp
2014-02-04 15:47:12 -08:00
Alena Prokharchyk
7cd0ad336b
External UUID control support for AutoscaleVmProfile and AutoscaleVmGroup
2014-02-04 15:47:12 -08:00
Alena Prokharchyk
6af6ce7e9e
1) Added External UUID control support for network.
...
2) Moved UUIDManager interface to cloud-util package
2014-02-04 15:47:12 -08:00
Prachi Damle
f84375442e
Merge branch 'master' into rbac
...
Conflicts:
api/src/org/apache/cloudstack/api/command/user/autoscale/ListAutoScaleVmProfilesCmd.java
api/src/org/apache/cloudstack/api/command/user/volume/ResizeVolumeCmd.java
plugins/network-elements/juniper-contrail/test/org/apache/cloudstack/network/contrail/management/MockAccountManager.java
server/src/com/cloud/api/ApiServer.java
server/src/com/cloud/api/query/QueryManagerImpl.java
server/src/com/cloud/template/TemplateAdapterBase.java
setup/db/db/schema-430to440.sql
tools/apidoc/gen_toc.py
2014-02-04 12:07:32 -08:00
Antonio Fornie
447430c3df
CLOUDSTACK-6003 fixing plus refactoring dispatcher
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit a9bcc1ea3b7dfd3fcc5c795b0095c77851ebe618)
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-02-04 13:37:08 +01:00
Santhosh Edukulla
bf72441d13
CLOUDSTACK-6006: Remove integration folder and lib
2014-02-04 12:01:58 +05:30
Alena Prokharchyk
158280181d
generateAlert API: set max value of "description" parameter to match correspondig field's length in VO object
2014-01-31 09:21:55 -08:00
Marcus Sorensen
d409d709e3
CLOUDSTACK-6000: When expunging fails, move volume state back to
...
Destroy, so that the cleanup thread will try again on next run.
2014-01-30 23:33:27 -07:00
sbalineni
ed3e1b95b0
VPC Support for contrail networking
...
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2014-01-30 18:13:48 -08:00
Alena Prokharchyk
02bdb28d76
Resource metadata support for autoscale vm group object
2014-01-30 13:04:56 -08:00
Alena Prokharchyk
cb073e0634
listAutoscaleVmProfiles: added zoneId to the list of optional api parameters
2014-01-30 12:36:56 -08:00
Alena Prokharchyk
65c5de1cb6
Removed recently introduced api.servlet.endpoint global config as CS already has config serving the same purpose - 'endpointe.url'
2014-01-29 14:57:01 -08:00
Alena Prokharchyk
fdb25d6f5b
Resource metadata support for autoscaleVmProfile CS object
2014-01-29 14:57:00 -08:00
Alena Prokharchyk
3b781d1a22
ResizeVolume API - volumeId should be a required parameter
2014-01-29 14:57:00 -08:00
Alena Prokharchyk
68937cd207
CLOUDSTACK-5983: changed responseName param in assignCertToLoadBalancer and removeCertFromLoadBalancer API commands
2014-01-29 11:50:27 -08:00
Min Chen
748dc1541c
Support attaching policy to account.
2014-01-28 10:00:17 -08:00
Daan Hoogland
1c7361756c
Findbugs: scariest issues in ApiResponseHelper fixed (cherry picked from
...
commit 9a1b882d0e )
2014-01-28 14:24:21 +01:00
Marcus Sorensen
0502d2f375
CLOUDSTACK-5697 This patchset fixes a bug with the recently merged
...
vxlan code. Users can set a physical network to isolation type 'vxlan',
put public traffic on that physical network, and it will still attempt
to use 'vlan' isolation on the KVM hosts. This is going to be an issue
for other isolation types as well, but I'm not familiar with them, so
I'm just fixing vxlan for now.
2014-01-27 12:11:18 -07:00
Min Chen
d40e52776a
Add ResourceType annotation for ListTemplatesCmd.
2014-01-27 10:46:15 -08:00
Prachi Damle
8f8cd21dec
EntityType value for SSHKeyPair and ResourceTag
2014-01-24 22:34:18 -08:00
Prachi Damle
bc45d33f19
@ACL and EntityType for Network commands
2014-01-24 22:27:13 -08:00
Prachi Damle
4808c0fdcb
@ACL and EntityType for VPC commands
2014-01-24 22:14:50 -08:00
Sheng Yang
285f23f11b
CLOUDSTACK-5779: Generalize calling to execute or create file for KVM
2014-01-24 18:28:25 -08:00
Prachi Damle
e4c188a5cb
Default accessType is Use - Read and Use
2014-01-24 18:16:59 -08:00
Prachi Damle
4a30102ca8
ListSecurityGroupCmd should have the EntityType added to the command
2014-01-24 17:58:35 -08:00
Prachi Damle
1d98ef9821
@ACL and EntityType for FirewallRule commands
2014-01-24 17:06:11 -08:00
Prachi Damle
695de1eaed
@ACl and @EntityType annotations for: AffinityGroup, AutoScale, Events
2014-01-24 17:06:09 -08:00