Kris McQueen
80090990a6
Fix configuration in light of new API framework. Move code from ConfigurationManager into ConfigurationServer for creating disk/service offerings, pods, and zones. This prevents the ComponentLocator from pulling in a lot of extra DAOs and Managers now that ConfigurationManager has a lot more dependencies due to API changes. Without making this change, there would be a dependency on ClusteredAgentManager in both config-server and mgmt-server, which would try to start two listeners on port 8250, which is bad. Now that the configuration happens in ConfigurationServer, things should be kept simple.
2010-10-14 19:11:22 -07:00
Kris McQueen
8e086d7a21
resolving merge conflicts between 2.1.refactor and master
2010-10-12 16:28:16 -07:00
Kris McQueen
2740ba6c40
final merge of master->2.1.refactor preparing for merge back into master
2010-10-12 14:46:24 -07:00
Kelven Yang
0d64b460f8
add vmware network configuration variables
2010-10-07 18:23:26 -07:00
Kris McQueen
55201432f6
createServiceOffering had cpuSpeed passed twice when creating the offering rather than cpuNumber then cpuSpeed...fixed
2010-10-07 15:10:03 -07:00
Kris McQueen
6db9f377a3
use the name of the configuration variable rather than the name of the command
2010-10-06 18:28:12 -07:00
edison
aaaa5dc3ad
bug 6379: add ListHypervisors cmd to list all the supported hypervisors.
...
status 6379: resolved fixed
The supported hypervisors are controlled by hypervisor.list in configuration table
2010-10-04 16:55:25 -07:00
edison
b441deec94
Need to set all the system vms as read state
2010-09-30 20:39:34 -07:00
edison
7615f569ff
after rebase, fix bugs
2010-09-29 18:41:55 -07:00
edison
fb9f43d807
clean up hypervisor.type, actually hypevisor.type may only make sense on the UI in multi-hypervisor.
...
In our java code, we should not write code based on hypervisor.type.
2010-09-29 18:41:54 -07:00
edison
9e0f57bc0e
change code for new UI
2010-09-29 18:40:52 -07:00
edison
211b4c5da2
hybrid
2010-09-29 18:40:47 -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
72243c8382
bug 5191: incremental checkin
2010-09-27 11:10:55 -07:00
kishan
ec4755a60e
bug 6123: Include last id in the vlan range
...
status 6123: resolved fixed
2010-09-27 16:57:31 +05:30
Alena Prokharchyk
9228088ce3
bug 6103: Made "capacity.skipcounting.hours" to apply only for Stopped vms. Introduced "capacity.skipcounting.destroyed.hours" config value that is used for vms in Destroyed state
...
status 6103: resolved fixed
2010-09-24 11:30:44 -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
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
abhishek
5d0d69ce48
bug 6264: changing the defaults for max volume size to gb
...
status 6264: resolved fixed
2010-09-21 16:02:40 -07:00
Alex Huang
327924a9ad
More changes for refactoring
2010-09-15 18:00:54 -07:00
alena
b49f63c28e
Refactoring addConfig/deleteDiskOffering/deletePod/getCloudIdentifier/enableAccount/enableUser/enableAccount/updateUser/updateDiskOffering/updateConfig commands to new API framework
2010-09-15 16:41:38 -07:00
abhishek
40db8f60e0
bug 6188: fixing the bug
...
status 6188: resolved fixed
2010-09-15 15:19:18 -07:00
abhishek
5720ac0e44
bug 6188: incremental checkin
2010-09-15 14:45:32 -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
root
76e5cf3321
renamed dao methods to correctly reflect what they do
2010-09-09 18:01:50 -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
abhishek
1c87879e21
bug 4898: removing the upgrade.url param
...
status 4898: resolved fixed
2010-08-30 14:49:22 -07:00
abhishek
992458e9d0
bug 5843: Merging in the fix
...
status 5843: resolved fixed
2010-08-30 13:45:22 -07:00
kishan
0e326e853c
bug 5900: Added events for disk offering
2010-08-27 18:02:23 +05:30
kishan
43169f3f96
bug 5895: added config param to turn on/off md5 hash
2010-08-26 23:39:32 +05:30
kishan
fb99f95d7c
bug 5730: update dns of systemVms during zone update
2010-08-26 21:02:37 +05:30
Kris McQueen
479ff26051
Refactoring createZone to new API framework. The logic was entirely delegated to configuration manager, so pushed the logic there and removed the proxy method from Management server.
2010-08-25 18:26:38 -07:00
Kris McQueen
34a3c3ece2
Refactored createVlanIpRange to new API framework. Moved logic to configuration manager, including the association of the ip addresses on a vlan with the account for which the vlan is being created. On deployVirtualMachine, this association might happen as well, and now mgmt server calls config manager.
2010-08-25 18:26:38 -07:00
abhishek
46f69a604b
some more refactoring
2010-08-25 11:43:49 -07:00
abhishek
702658556b
Refactoring the delete zone cmd
2010-08-25 11:16:07 -07:00
abhishek
c2f517fa81
Refactoring the delete vlan ip range cmd
2010-08-25 10:59:14 -07:00
Alex Huang
e0165dd2ef
my changes
2010-08-23 13:59:23 -07:00
abhishek
9da6d89837
Refactoring deleteServiceOffering cmd
2010-08-19 12:15:26 -07:00
Kris McQueen
96f999a375
Refactoring createServiceOffering to the new API framework, just a simple database create that has been moved from a management server proxy method that calls configuration manager directly into the configuration manager.
2010-08-18 19:06:12 -07:00
alena
e2950eb5a1
Merge branch '2.1.refactor' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.1.refactor
...
Conflicts:
server/src/com/cloud/api/BaseCmd.java
server/src/com/cloud/network/security/NetworkGroupManagerImpl.java
2010-08-18 11:36:05 -07:00
alena
3d85fdf687
API refactor
2010-08-18 11:24:29 -07:00
Kris McQueen
261c96f99c
refactor createPod command to new API framework
2010-08-17 19:08:06 -07:00
abhishek
154c6985a4
Refactoring updatePod command
2010-08-17 17:55:38 -07:00
abhishek
1252a2b8a7
Refactoring update service offering cmd
2010-08-17 17:21:04 -07:00
root
183eb4e4a3
Api refactoring for following commands: updateAccount, updateTemplate/Iso, UpdateDomain, EnableUser/Account, DeletePod
2010-08-15 21:01:24 -07:00
alena
167433e562
Api refactor:
...
* Moved ManagementServer interface from "core" to "server" package
* Changed AddConfig, UpdateCfg, UpdateAccount commands
2010-08-12 16:32:23 -07:00
alena
8825147f0d
Merge branch '2.1.refactor' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.1.refactor
...
Conflicts:
server/src/com/cloud/configuration/ConfigurationManager.java
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
2010-08-12 11:41:02 -07:00
alena
a9d48a1b8a
Refactored updateDiskOffering and deleteDiskOffering commands
2010-08-12 11:27:37 -07:00