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
Kris McQueen
d7b6ccd056
Comment out code in executors during the transition to the new API framework. The code is being left around for reference during testing/debugging of the new framework and will be removed in the future.
2010-09-17 11:13:29 -07:00
nit
7c6ad35ed7
reinstating the accidental deletion of some lines
2010-09-17 17:26:24 +05:30
nit
48cd102ab9
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2010-09-17 17:04:35 +05:30
nit
636dc041c7
bug 4286: Making extractIsoCmd and extractTemplateCmd async
2010-09-17 17:04:07 +05:30
anthony
221c8fb059
add more log
2010-09-16 19:32:25 -07:00
Kris McQueen
3f6a438d92
Refactoring the AsyncJobManager to queue jobs appropriately if there is a need to synchronize execution on an object, e.g. a router. API developers can now call command.synchronizeCommand(String, Long) to force the command to be synchronized on a particular object type [the string arg] with a particular id [the long arg]. When synchronizeCommand() is invoked, an exception maybe thrown by the framework (AsyncCommandQueued exception) to force the business logic to abort. The command will then be queued and invoked at the appropriate time. The synchronizeCommand() is re-entrant and will be a no-op if the command has already been queued and is now ready for execution.
2010-09-16 19:05:06 -07:00
anthony
921fba1ea1
bug 6190: set qos of vif
...
status 6190: resolved fixed
2010-09-16 12:32:46 -07:00
Alex Huang
131e487c32
allocation complete. Moving on to actual create and deploy
2010-09-16 12:01:56 -07:00
anthony
7ca2adeb67
first host doesn't need to switch master
2010-09-15 21:24:52 -07:00
abhishek
7abfb9f2e4
some minor improvements to the stats module
2010-09-15 18:12:40 -07:00
Alex Huang
e283bc7f05
no idea how these files were not committed
2010-09-15 18:00:55 -07:00
Alex Huang
327924a9ad
More changes for refactoring
2010-09-15 18:00:54 -07:00
abhishek
652620363d
bug 3120: reverting changes as still soliciting feedback on design
2010-09-15 11:52:31 -07:00
abhishek
a05dc480a7
bug 3120: incremental checkin
2010-09-15 11:18:04 -07:00
nit
ab1a6b8656
bug 4286: Adding the extractVolune function
2010-09-15 18:33:42 +05:30
nit
f5ac46255c
bug 4286: Schema changes to include the upload table, Introducing extractIso command and extractVolume command
2010-09-15 17:51:42 +05:30
alena
012f097885
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
...
Conflicts:
core/src/com/cloud/server/ManagementServer.java
server/src/com/cloud/server/ManagementServerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
2010-09-14 19:57:26 -07:00
anthony
05499fa5f6
execute only emergency command with slaveconn. othersiwe api call hands
2010-09-14 19:22:24 -07:00
alena
b26ac321de
bug 6177: Make VM group a first class object
...
1) Added new apis: createInstanceGroup, updateInstanceGroup, deleteInstanceGroup, listInstanceGroups
2) Group can be created using:
* createInsanceGroup api
* deployVirtualMachine/updateVirtualMachine commands (we create a group with name equal to "group" parameter value if the group doesn't exist already)
3) Group can be removed by:
* deleteInstanceGroup api
* when corresponding account is removed
4) Vm can be assigned to one group only. To move vm from one group to another, use updateVirtualMachine command with "group" parameter
5) Changed listVirtualMachines command to use "groupId" parameter instead of "group".
status 6177: resolved fixed
2010-09-14 19:08:01 -07:00
Kris McQueen
a53cb4aab0
Refactoring deleteDomain to new API framework. Cleaning up some compilation errors that resulted from previous refactoring, namely there was a requirement to keep the old manager method around for createDiskOffering and createZone in order for the ConfigurationServer to work.
2010-09-14 15:36:12 -07:00
abhishek
ab166071f8
bug 6163: refactoring some more code
2010-09-14 10:05:05 -07:00
abhishek
743187a951
bug 6163: implementing the search function for zone wide searches for vlans
2010-09-14 10:05:05 -07:00
abhishek
10ad2aa468
bug 6163: further addition of functionality wrt zone wide vlan search
2010-09-14 10:05:05 -07:00
abhishek
ce7278164d
bug 6163: adding new dao functionality
2010-09-14 10:05:05 -07:00
Kris McQueen
de5e978b7b
Removing listSecurityGroups and listNetworkGroups from the SecurityGroupDao and NetworkGroupDao since they weren't being called by anyone.
2010-09-13 15:59:52 -07:00
Kris McQueen
dfdab6d641
moving event utils from core to server to avoid circular dependencies.
2010-09-13 15:01:43 -07:00
Kris McQueen
2741eedb26
moving console proxy alert event args to server package to avoid circular dependencies
2010-09-13 14:58:58 -07:00
Kris McQueen
bb575d9d4e
moving console proxy manager/listener to server package to avoid circular dependencies
2010-09-13 14:57:51 -07:00
Kris McQueen
449d1f3acf
working through some compilation errors that have arisen due to all the API refactoring...
2010-09-13 14:46:23 -07:00
abhishek
a03cf45e5d
further improvements to the sp code, especially for the local storage case
2010-09-13 12:00:54 -07:00
edison
d933f19d35
bug 5800: add cluster for KVM
...
TODO: need to make sure the host cpu is from the same vender in a cluster
2010-09-10 16:00:36 -07:00
anthony
55ebf465f6
Merge branch 'master' of ssh://anthony@git.cloud.com/var/lib/git/cloudstack-oss
2010-09-10 15:14:19 -07:00
abhishek
4682b25cb5
bug 5147: implemented the logic to ensure that the volume creation is blocked when all sp's are in maintenance (or any of the status != UP)
2010-09-10 14:41:04 -07:00
abhishek
93261c4eb8
bug 5147: Improvements after testing the storage maintenance across multiple sp's, with sys vms scattered across multiple sps
2010-09-10 13:44:39 -07:00
anthony
f9bb54d7e2
use -1 instead of null
2010-09-10 13:03:08 -07:00
abhishek
20973d48af
bug 5147: implementing the recommendations i got for the ps maintenance. For now, we are not implementing the cancel maintenance part. Instead, we are going to ask the admin if he is "sure" of enabling maintenance on a sp, before proceeding
2010-09-09 18:05:43 -07:00
root
76e5cf3321
renamed dao methods to correctly reflect what they do
2010-09-09 18:01:50 -07:00
anthony
d4828debba
fix about prepareMigrationCommand
2010-09-09 15:43:33 -07:00
anthony
bcaaef5f60
bug 6110: return precise message if VLAN is already created on another device. public and direct should use different VLAN.
2010-09-09 13:42:24 -07:00
Alex Huang
7249f168d5
more file changes
2010-09-09 13:27:20 -07:00
Alex Huang
6134f7dfd2
more file changes
2010-09-09 11:52:12 -07:00
Kris McQueen
5204349fef
Refactor listSystemVms to new API framework. Add missing licensing info to several API response files. Combine ConsoleProxy and SecondaryStorageVm interfaces into SystemVm interface to have common functions callable from one interface rather than having to cast overly much just to get the same data from the objects. This also includes a partial refactoring of ListStoragePoolsAndHosts command.
2010-09-08 18:56:27 -07:00