Commit Graph

20897 Commits

Author SHA1 Message Date
Kelven Yang 6e70816169 Merge VirtualMachineManagerImpl for sync changes 2013-10-18 14:08:58 -07:00
Kelven Yang cf94cfb3f2 Merge VirtualMachineManger 2013-10-16 17:00:57 -07:00
Kelven Yang 534345e8aa Switch hypervisor resources to use power state 2013-10-15 17:29:13 -07:00
Kelven Yang d72af4bd0f Rebase PowerState from old vmsync branch 2013-10-14 17:24:55 -07:00
Darren Shepherd 29d9228140 Remove obsolete m2-settings file 2013-10-14 08:22:19 -07:00
Hugo Trippaers 795366019b Don't capture stderr, this will return an error when the runscript command expects null when there is no default route. 2013-10-14 09:58:37 +02:00
Hugo Trippaers 71dc43ebb0 Remove duplicate scripts and move the remaining items to the systemvm project 2013-10-14 08:02:35 +02:00
Laszlo Hornyak 87c1b357f2 BaseCmd not used methods
These private methods were only calling each other:
- writeNameValuePair
- writeObjectArray
- writeSubObject
- escapeXml
- escapeJSON

public method requireXmlEscape was only called from these methods, it was never overridden

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-10-12 23:26:20 +02:00
Laszlo Hornyak 5f497b9a75 Removed unused methods from ApiResponseSerializer
getGetMethod and getGetMethodName were not used

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-10-12 19:42:50 +02:00
Laszlo Hornyak 6df77ec0ce BaseCmd.buildResponse methods removed
Both buildResponse methods were abandoned

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-10-12 19:42:50 +02:00
Marcus Sorensen b344bb4cf3 KVM: Change new volume/template downloads to use UUID in database
rather than creating a fresh random UUID, so admins can match
volumes frontend to backend
2013-10-11 17:16:48 -06:00
Laszlo Hornyak 47dd1c1e95 PasswordGenerator tests
- StringBuffer replaced with a StringBuilder
- tests added

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-10-11 20:09:37 +02:00
Laszlo Hornyak b76e501d26 removed PasswordGenerator.main
unused method, probably for debugging/testing purposes

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-10-11 20:09:37 +02:00
Jessica Wang 5cc411a9ee LOUDSTACK-4060: UI > Instance Wizard > select security group step > when there is only one security group and the only one is 'default', check it automtically. 2013-10-11 10:27:20 -07:00
Laszlo Hornyak 982db550eb test fix: no assertion on the number of fileds returned
Removed the assertion on the number of fields from ReflectUtil because it did not work with bytecode manipulation like what sonar works with.

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-10-11 18:49:10 +02:00
Nitin Mehta fa0c685bcb CLOUDSTACK-4854:
Add support for adding network details
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-10-10 19:18:39 -07:00
Alena Prokharchyk 90cc0d8f01 VolumeResponse: added storageId to the response (returned to admin only) as this parameter is being passed in migrateVolume/updateVolume API requests, so have to return it in the response as well 2013-10-10 16:51:47 -07:00
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 10938612cc
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
aed5e9dc2a 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