20880 Commits

Author SHA1 Message Date
Brian Federle
6af882c6b9 Icon for 'add guest network' toolbar button 2013-10-10 15:46:31 -07:00
Brian Federle
746c8c5046 CLOUDSTACK-4823: Add icon for assignVmToAnotherAccount 2013-10-10 12:55:26 -07:00
Brian Federle
991f933492 CLOUDSTACK-3823: Show ICMP fields for protocolnumber 2013-10-10 12:27:30 -07:00
Jessica Wang
506520a9d6 CLOUDSTACK-1888: UI > Domains > allow domain-admin to update resource limits on its sub-domains (but disallow on its own domain). 2013-10-10 12:17:05 -07:00
Brian Federle
1f85124d70 CLOUDSTACK-4348: Fix quick view detail height 2013-10-10 11:42:59 -07:00
Alena Prokharchyk
c4084a7c34 Fixes for resource details code: 1) Fixed the NPE happening when the resource detail couldn't be located by the key passed through API 2) Added ResourceDetails interface, made all resource details VO objects to implement it. 2013-10-10 11:13:47 -07:00
Prasanna Santhanam
52c2bc0baf pep8: fix regression from 10938612cc9f518e254f8756581548eeb52913b4
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-10-10 17:47:52 +05:30
Harikrishna Patnala
bb7493775c CLOUDSTACK-4707: "sourcetemplateid" field is not getting set for derived templates Template created from a volume or snapshot did not have the sourcetemplateid field set in vm_template table. 2013-10-10 12:20:40 +05:30
Darren Shepherd
2799ee3d4f Revert change to ManagedContextTimerTask to unblock DB upgrade 2013-10-09 20:51:05 -07:00
Alena Prokharchyk
a5a6f58eb8 Resource details:
1) Fixed the way we build the response for resource details
2) Fixed the response name - should be generic "resourcedetail". The type is being carried in resourceType response parameter
3) Throw unsupported excpetion if unsupported resourceType is passed in. Before, user vm was returned
2013-10-09 18:22:49 -07:00
Jessica Wang
dc8f053d6a CLOUDSTACK-3105: UI > Instances menu > Instance detailView > View Hosts > fix a bug that wrong parameter name is passed to listHosts API. 2013-10-09 15:07:37 -07:00
Jessica Wang
0b69e890e0 CLOUDSTACK-3154: UI > Infrastructure > zone detail > remove VMware datacenter action > fix a bug that incorrect property name was used to retrieve embedded object in API response. 2013-10-09 14:16:17 -07:00
Laszlo Hornyak
d1dd85a4c4 ReflectUtil: test for getAllFieldsForClass
- code comment turned to javadoc
- added braces to if and for statements to make it look more like the rest
- tests added

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-10-09 20:39:41 +02:00
Laszlo Hornyak
66fe3abe3b ReflectUtil: findMethod removed
findMethod was not used, it is removed

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-10-09 20:39:41 +02:00
Darren Shepherd
0d7aa931b4 Remove wrong ConfigDepot class from simulatorContext 2013-10-09 10:52:28 -07:00
Brian Federle
7646063735 CLOUDSTACK-3803: Fix duplicate label causing validation error 2013-10-08 15:48:19 -07:00
David Nalley
5586a221fc Removing docs from master 2013-10-08 15:25:05 -04:00
Jessica Wang
3f1aba894f CLOUDSTACK-3888: UI > service offerings > compute offerings > add new field "Planner Mode". 2013-10-08 11:48:42 -07:00
Daan Hoogland
10938612cc [CLOUDSTACK-4832] no cert verification on https 2013-10-08 17:35:46 +02:00
sanjeevneelarapu
f6c6f03fad CLOUDSTACK-702: 1. Moved common code to setupClass method 2. Added a test to deply vm in new CIDR and verify dns service on alias IP
Conflicts:

	test/integration/component/maint/test_multiple_ip_ranges.py

Signed-off-by: sanjeevneelarapu <sanjeev.neelarapu@citrix.com>
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 1efd544ee27fd0c7c9eac4649568647c0dcbc85b)
2013-10-08 16:26:18 +05:30
Nitin Mehta
6e80bb001c CLOUDSTACK-4824:
Add support for adding zone details
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-10-07 15:48:43 -07:00
Jessica Wang
4f932d048e CLOUDSTACK4515: UI > Settings tab of zone/cluster/account/primaryStorage detailView > add Description field. 2013-10-07 13:35:26 -07:00
Laszlo Hornyak
977a75f1be UsageManagerInternal fix
aed5e9dc2a6882139bc38073923be5a3bacfd9d2 seems to inroduce some typo to run

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-10-07 13:13:40 -07:00
Chris Suich
4c2e40ac37 Added storage_provider_name to storage_pool_view
Signed-off-by: Edison Su <sudison@gmail.com>
2013-10-07 11:51:32 -07:00
Jessica Wang
d1a536a4e3 CLOUDSTACK-4672: UI > Network > details tab > add new field "broadcasturi" to show Primary VLAN, Secondary Isolated VLAN. 2013-10-07 11:32:56 -07:00
Jessica Wang
da814c658b CLOUDSTACK-4796: UI > Instances > detailView > add new action "Assign Instance to Another Account". 2013-10-07 10:22:24 -07:00
Alena Prokharchyk
66185076df Addded back Agent Load Balancing functionality (was temporarely disabled in master by vmSync merge) 2013-10-07 09:46:52 -07:00
Darren Shepherd
23ddf29532 Fix vmware code inclusion into systemvm.iso and other random nonoss->noredist 2013-10-07 09:20:41 -07:00
Gaurav Aradhye
98daad9300 CLOUDSTACK:4537 - Fixed shared network and vpc test cases
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-10-07 21:42:45 +05:30
Girish Shilamkar
fbf057a323 CLOUDSTACK-4262: Fix TestVPCNetworkGc.test_01_wait_network_gc
As per the test plan, after waiting for network gc
LB rules should be cleared. Added that check instead of router
being in stopped state.

Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit abdb84bb05abc9f2bd102bca1c1b34865f34d771)
2013-10-07 21:41:06 +05:30
Darren Shepherd
cf4a612cdb Add license header 2013-10-05 12:18:34 -07:00
Min Chen
f1895ea39a CLOUDSTACK-4816: Make S3 upload multipart or singlepart configurable. 2013-10-04 18:21:25 -07:00
Nitin Mehta
a6852a340d CLOUDSTACK-3101:
fix listDiskOffering to not display offerings to the normal users with forDisplay=false. But display them to ROOT Admin irrespective of the flag.
Added display flag in the updateVolume/offeirng commands
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-10-04 18:19:07 -07:00
Darren Shepherd
b3c178480b Check for null just in case
This code was recently switched from using HashMap to ConcurrentHashMap.
ConcurrentHashMap does not accept null keys and will through a NPE.  Adding
a null check just in case somebody passes null.
2013-10-04 17:05:15 -07:00
Nitin Mehta
f8976a41ce CLOUDSTACK-3101:
fix listVolumes to not display volumes to the normal users with forDisplay=false. But display volumes to ROOT Admin irrespective of the flag.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-10-04 16:16:28 -07:00
Kelven Yang
16b022b1b1 CLOUDSTACK-4802: Change VM start flow to better support VM snapshot on certian version of vSphere, (vSphere 5.0 Update 2). If we detect that VM has pending VM snapshot, we will fully honor VM disk info from vCenter, since in some version of vSphere (vSphere 5.0 U2) does not allow disk-editting when VM has pending snapshot. 2013-10-04 16:13:56 -07:00
Hugo Trippaers
ff336c3e9c Fix typo 2013-10-05 01:12:16 +02:00
Mike Tutkowski
bced4c7e8b Add support for hypervisor snapshots to CloudStack-managed storage (for XenServer and VMware) 2013-10-04 15:41:20 -06:00
Darren Shepherd
66b853789c Fix typo in pom name 2013-10-04 14:37:23 -07:00
Edison Su
a129fe4e66 add missing files 2013-10-04 14:17:49 -07:00
Chris Suich
180cfa19e8 Refactor Storage Related Resource Code
These changes are a joint effort between Edison and I to refactor some
of the code around snapshotting VM volumes and creating
templates/volumes from VM volume snapshots. In general, we were working
towards allowing PrimaryDataStoreDrivers to create snapshots on primary
storage and not requiring the snapshots to be transferred to secondary
storage.

High level changes:
-Added uuid to NfsTO, SwiftTO & S3TO to cut down on the requirement of
PrimaryDataStoreTO and ImageStoreTO which don't really serve much of a
purpose
-Initial work towards enable reverting VM volume from snapshots
-Added hypervisor commands for introducing and forgetting new hypervisor
objects (snapshots, templates & volumes)

Signed-off-by: Edison Su <sudison@gmail.com>
2013-10-04 13:06:42 -07:00
Laszlo Hornyak
c9f41d4046 unit test for KVMFencer
A few cases covered with unit tests.

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-10-04 11:38:33 -07:00
Laszlo Hornyak
826c69fd29 ConstantTimeBackoff test and cleanup
- javadoc changed - the old one was copy-pasted from AgentShell
- start and stop method removed - they did the same as the overridden methods
- _counter removed as it was only written, but never read
- remove from _asleep map was moved to a finally block, to make sure it is removed even in case of the thread gets interrupted
- Tests created for the above scenarios.

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-10-04 11:24:43 -07:00
Laszlo Hornyak
bd8536739c remove txn attribute from DB
txn attribute was never actually used

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-10-04 10:15:39 -07:00
Hugo Trippaers
2b47611c5d Fix for -SNAPSHOT problem in debian rules. Use -snapshot in the changelog to force the packaging to use the -SNAPSHOT extension for maven targets 2013-10-04 18:12:57 +02:00
Sowmya Krishnan
2621602787 CLOUDSTACK-4776: New Tests for Netscaler as external LB provider in VPC
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 76c85d0ce854aa7d868ba9e018382237c88fe42c)
2013-10-04 17:41:24 +05:30
Wei Zhou
3a999e70af CLOUDSTACK-4813: add function to get ExitValue when run bash commands
(cherry picked from commit b4397acfccd651bc67bb842097def5ded995c125)
2013-10-04 11:06:16 +02:00
Prasanna Santhanam
5ed493c6e6 pep8: fix recent pep8 violations
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-10-04 14:13:37 +05:30
Nitin Mehta
73f6843840 CLOUDSTACK-4803:
Return "path" parameter as a result of all Volume calls. But to the admin only
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-10-03 18:00:42 -07:00
Nitin Mehta
2229e3e242 CLOUDSTACK-4803:
fix listVirtualMachines to not display vms to the normal users with forDisplay=false. But displayvms to ROOT Admin irrespective of the flag.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-10-03 15:10:55 -07:00