abhishek
ef8781b7b5
bug 3120: introducing this optional parameter in the command
2010-09-15 10:28:41 -07:00
abhishek
cacb4dba1d
bug 3120: incremental checkin for this bug, with the introduction of an optional ONE_TO_ONE_NAT parameter
2010-09-15 10:28:41 -07:00
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
dc6e07ad75
Refactoring deletePreallocatedLun and registerPreallocatedLun to new API framework.
2010-09-14 17:53:12 -07:00
Kris McQueen
1b8965c202
fixing package name for pre-allocated lun api commands
2010-09-14 17:04:35 -07:00
Kris McQueen
cf6829a038
Moving pre-allocated lun API commands to OSS since it's not a premium feature
2010-09-14 17:02:16 -07:00
Kris McQueen
1d912fb608
adding licensing info
2010-09-14 16:09:05 -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
efa8d2af07
bug 6188: fix for the issue
...
status 6188: resolved fixed
2010-09-14 15:33:48 -07:00
Kris McQueen
dbb2897626
Unexposed parameters can now be assigned to commands. This are for internal use of the command, and will be serialized/deserialized during execution/response phases, but will not be accepted as part of the API request. Also create a DB utility file for the API to use which delegates requests to the DAOs. Mostly this utility class will look up objects by ID, and it allows the removal of similar methods from ManagementServer, thereby reducing some of the clutter in ManagementServer.
2010-09-14 14:54:04 -07:00
abhishek
a178a9a675
import cleanup
2010-09-14 11:38:41 -07:00
abhishek
dea01d0752
adding the status value whilst creating a storage pool using database config
2010-09-14 11:37:32 -07:00
abhishek
91813371b4
further comments added
2010-09-14 10:53:27 -07:00
abhishek
edc85dd12d
bug 6163: waiting on Alex to give me the go ahead for this bug, commenting out some of the code till then
2010-09-14 10:52:04 -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
nit
8f955c2889
Fixing the ConcurrentModificationException
2010-09-14 20:18:51 +05:30
Kris McQueen
f4caf145c3
Refactoring dispatching API commands from the scheduled async job. Instead of calling an executor, the dispatcher invokes the method on the manager directly. After the command is executed the response is serialized to the async job table so it can be queried later. Also serialize a response for async create commands that includes the id of the object being created.
2010-09-13 18:28:19 -07:00
Kris McQueen
a8112f65de
When using session based authentication, we now store the parameters in the session as part of the login processing, instead of returning those parameters so that the caller has to update the session. Authentication now throws an exception on failure and the caught exception is where the session is invalidated.
2010-09-13 17:04:11 -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
df10af0688
cleaning up imports, fixing up some compilation problems related to API refactoring
2010-09-13 15:25:46 -07:00
Kris McQueen
3ba48f9676
fixing up code rearrangement since I forgot to add the files to my commit, oops...
2010-09-13 15:05:17 -07:00
Kris McQueen
77feb415d6
fixing up the move of EventUtils to server package
2010-09-13 15:04:04 -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
Kris McQueen
460ef94299
Refactoring listStoragePoolsAndHosts command to new API framework.
2010-09-13 14:03:07 -07:00
abhishek
a03cf45e5d
further improvements to the sp code, especially for the local storage case
2010-09-13 12:00:54 -07:00
abhishek
1af28db9cd
bug 6159: now we can add at most 2 records per public port (one for tcp, one for udp) eg: 1:2:tcp and 1:3:udp; any other combination for this port will result in an error being propagated back to the UI
...
status 6159: resolved fixed
2010-09-13 10:19:02 -07:00
abhishek
542230fc26
null check for the npe
2010-09-13 09:35:28 -07:00
abhishek
f82e73b861
bug 6159: incremental checkin
2010-09-13 09:31:36 -07:00
Kris McQueen
1e46e2e588
refactoring createVolume to new API framework
2010-09-10 23:25:22 -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
abhishek
ec01e0b423
bug 5147: this checkin ensures that we cover some more corner cases, in particular, to not allow an execution when we have pools in inconsistent states (maintenance, prepareformaintenance or errorinmaintenance)
2010-09-10 14:52:05 -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
Kris McQueen
b73cd10fbe
Refactoring listAccounts to new API framework.
2010-09-09 18:58:37 -07:00
Kris McQueen
037f1ff327
Refactoring createSnapshot to new API framework.
2010-09-09 18:58:37 -07:00
Kris McQueen
39038721a8
Refactoring deployVirtualMachine to new API framework. Since this is a rather complicated command with many steps, for now the way the logic is broken up between ManagementServer and UserVmManager and NetworkManager is preserved. Later there is a possibility of consolidating some of the logic.
2010-09-09 18:58:37 -07:00
Kris McQueen
c44d3391bb
Removing dead code that had previously been refactored.
2010-09-09 18:58:37 -07:00
abhishek
8d38e230a5
bug 5147: we ensure that if the sp under maintenance is the only one in the cluster, we just stop the vms with no migration (base case)
2010-09-09 18:34:44 -07:00
abhishek
0a4532a003
bug 5147: some more improvements
2010-09-09 18:05:43 -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
Alex Huang
dc4c4549d0
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2010-09-09 17:49:27 -07:00
Alex Huang
994afb0e29
switched from networkprofile to network configuration
2010-09-09 17:49:19 -07:00