1262 Commits

Author SHA1 Message Date
Kelven Yang
d33d1a632d Switch from VMDK to OVA on vmware image format 2010-09-29 18:40:50 -07:00
Kelven Yang
3f832c0c08 Test with OVF importing 2010-09-29 18:40:49 -07:00
Kelven Yang
a3b8412b2d test code to verify vmware FaultTolerance feature 2010-09-29 18:40:49 -07:00
edison
3aef9f408e step1 2010-09-29 18:40:47 -07:00
edison
211b4c5da2 hybrid 2010-09-29 18:40:47 -07:00
anthony
43bd6d1d2d remove guestOS list 2010-09-29 17:23:38 -07:00
anthony
bca96b1079 pass guest OS name instead of guest ID when start system VM 2010-09-29 17:18:27 -07:00
anthony
be5fa82229 remove snapshotpolicyRef 2010-09-29 16:24:57 -07:00
anthony
5b75f8e03b bug 6365: find policy from volumeId instead of snapshotID
status 6365: resolved fixed
2010-09-29 15:25:46 -07:00
abhishek
cd42fcc1bf some code refactoring 2010-09-29 11:17:42 -07:00
anthony
319d4f1aa0 snapshot redesign
1. use full snapshot and delta snapshot, there are maxsnashot/2 of delta snapshot between two full snapshot
2. only support one policy for one volume
3. remove all coleases in secondary storage.
2010-09-28 18:37:46 -07:00
abhishek
72cb2ce4ca test checkin 2010-09-28 18:11:36 -07:00
Kris McQueen
848ce60097 Merging master into 2.1.refactor, resolve the merge conflicts as best I can. New commands related to extracting template/iso/volume and related to instance groups were refactored to the new API framework. 2010-09-28 15:47:14 -07:00
abhishek
e5186bde2b bug 5190: a part of the enhancement is complete; now we can upload a custom cert using a file from our local machine, into the system. It is stored in the certificate table as a "text" column 2010-09-28 13:52:14 -07:00
abhishek
300905df84 adding some more files 2010-09-28 11:07:04 -07:00
abhishek
918ddff25e some code cleanup, and adding some more meat to the enh 2010-09-28 11:03:12 -07:00
alena
9b10074c2a Added missing license info to the bunch of files 2010-09-27 19:08:03 -07:00
Chiradeep Vittal
f1b0e4b811 tweaks for debian system vm 2010-09-27 18:04:49 -07:00
abhishek
89cce1a023 bug 5190: adding some more methods for the functionality 2010-09-27 16:54:28 -07:00
Alex Huang
dcea43ba0f create is now complete 2010-09-27 15:14:38 -07:00
Alex Huang
c443867f28 more changes 2010-09-27 15:14:38 -07:00
abhishek
6f9e327d0b bug 5191: final check in for the enhancement to make the console proxy domain configurable
status 5191: resolved fixed
2010-09-27 11:27:48 -07:00
abhishek
72243c8382 bug 5191: incremental checkin 2010-09-27 11:10:55 -07:00
nit
b857a9b4c8 bug 4177: registerTemplate/registerIso commands would start accepting account/domainId params.
status 4177: resolved fixed
2010-09-27 17:24:23 +05:30
kishan
ec4755a60e bug 6123: Include last id in the vlan range
status 6123: resolved fixed
2010-09-27 16:57:31 +05:30
kishan
6e4fa7fcd1 bug 6176: Included domR name in networkUsage command
status 6176: resolved fixed
2010-09-27 16:26:56 +05:30
abhishek
7dc62cc293 bug 6247: incremental checkin 2010-09-24 14:33:13 -07:00
Kris McQueen
62257d4021 Fix serializing async job responses by writing a custom adapter for ResponseObjects. Improve exception handling when calling async commands (the job still needs to complete, but with FAILED status). 2010-09-24 13:52:35 -07:00
Alex Huang
42986f43ba removed service offering from storageallocator 2010-09-24 10:27:02 -07:00
Kris McQueen
2a4ddac41a Change getResponse() to return a ResponseObject so that the caller can choose how to serialize. This in in preparation for serializing the async commands to the database with class information and deserializing them into the ResponseObject itself when queryAsyncJobResult is called. Once the ResponseObject is deserialized, the proper string can be returned to the caller.
The previous behavior had the JSON response from the command embedded into the queryAsyncJobResult response as a string rather than a JSON object which prevented the client from being able to read the response.  With this new behavior an actual JSON object should be returned which can then be parsed on the client side.
2010-09-23 17:34:28 -07:00
alena
0f2f356874 bug 6277: listVirtualMachines with group=-1 would return all vms that don't belong to any group. As a part of the fix, changed Dao layer to be able to make different types of Joins - Inner, Right, Left, etc.
status 6277: resolved fixed
2010-09-23 10:43:17 -07:00
anthony
abaa66f6e3 bug 6181: ingore provisioning factor for iscsi primary storage
status 6181: resolved fixed
2010-09-22 20:39:57 -07:00
abhishek
242a55f120 bug 6271: Fixed the issue of us not iterating over all vlans, in the direct attached case. now, we consider all vlan ranges before we error out saying no ip address available
status 6271: resolved fixed
2010-09-22 10:58:12 -07:00
root
979fcf8b78 finalized guru design 2010-09-22 10:44:00 -07:00
Alex Huang
22652e7ace got the vm created 2010-09-22 10:43:59 -07:00
Alex Huang
286e78c849 moved account id, service offering id, and domain id into isntance 2010-09-22 10:43:59 -07:00
anthony
fb628a1929 add rate limit for system VM, after you change rate limit, you need to restart managementserver to make it effect 2010-09-21 12:25:53 -07:00
nit
0669c2c1d4 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-09-21 13:37:47 +05:30
nit
7ff551bd5c bug 4286: Extract functionality - code cleanup 2010-09-21 13:36:57 +05:30
Kris McQueen
ebd06ae6f3 List clusters was using the name of the command rather than the name of the cluster to search for clusters, which was resulting in no clusters returned. Fixed. CreateStoragePool was returning an array of one pool every time, simplified it to just return the pool and changed the UI to expect one pool rather than an array. Fixed the backend code for creating a storage pool to (a) generate a UUID based on host name, path, and a timestamp and (b) to list only active storage pools when checking for duplicates. This allows a storage pool to be create with the same path as a pool that had previously been deleted. 2010-09-20 19:08:52 -07:00
abhishek
5881dfafa6 bug 5119: fixing the npe, the document obj we parse might be null, as a result of which there can be a npe. adding a check against the same
status 5119: resolved fixed
2010-09-20 15:11:00 -07:00
abhishek
a9c96b4da0 bug 3120: incremental checkin 2010-09-20 14:54:06 -07:00
abhishek
437f717633 bug 3120: incremental checkin 2010-09-20 14:54:06 -07:00
kishan
b606d14396 Bug 5904: Included version in API header 2010-09-20 15:00:57 +05:30
nit
33e683e2c7 bug 4286: Making ExtractVolumeCommand async and some code cleanup 2010-09-19 18:34:12 +05:30
Kris McQueen
e2e0e76063 More work on serializing responses. Now responses have to have the name set on them, and the name will eventually be serialized to the JSON/XML response the way it used to work for commands themselves [the result of cmd.getName() was written to the response string]. For list respones, we wrap the individual objects in a ListResponse object that has the name of the response, and the individual objects have the object name so that accounts will be something like <listaccountsresponse><account><...></account><account><...></account></listaccountsresponse>. 2010-09-17 17:13:04 -07:00
abhishek
a016aa27cd bug 6203: incremental fix 2010-09-17 16:59:40 -07:00
Kris McQueen
a5f50d236f Rearranging how response objects work since we need the response name when doing serialization. Now there's a base class that implements the getResponseName method, all responses extend this base class 2010-09-17 15:18:37 -07:00
Kris McQueen
4a73639d67 Fix up setting the response object correctly after dispatching the api method call. Begin working on the serialization of the responses which don't include the command name just yet, that's coming. 2010-09-17 14:56:55 -07:00
Alex Huang
bebe79ebc9 more work from alex 2010-09-17 13:37:53 -07:00