abhishek
27b038efcb
Correcting hypervisor type enum
2010-08-23 14:07:35 -07:00
Alex Huang
e0165dd2ef
my changes
2010-08-23 13:59:23 -07:00
root
d2ffa6b68d
bug 5781: also reduce the scope of the global lock when updating storage capacity.
2010-08-23 13:41:22 -07:00
Kris McQueen
adce18b2c0
[merge from 2.1.x] Bug 5781: Only grab capacity global lock when accessing capacity tables. Once the queries are done, release the lock so that others can query for the data or update the data as needed.
2010-08-23 13:41:03 -07:00
Kelven Yang
f98e272d48
Remove an incorrect usage of @inject, it caused management server from being loaded
2010-08-23 12:25:47 -07:00
Kelven Yang
08ae56d360
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
...
Conflicts:
api/src/com/cloud/hypervisor/Hypervisor.java
build/build-cloud.xml
2010-08-23 12:12:45 -07:00
kishan
89cd3131bf
add zone id for create template event
2010-08-23 17:19:31 +05:30
Kelven Yang
7bcff5acf3
Vmware incremental check-in
2010-08-20 18:50:33 -07:00
Jessica Wang
65b9f29941
Issue #: 5975
...
(1) API-side: make listDomains, ListDomainChildren return all items
(2) UI-side: make domains page show all domains by specifying pageSize=-1
2010-08-20 17:39:40 -07:00
abhishek
ec9fdd5b16
Refactored disassociateipaddress cmd
2010-08-20 16:01:37 -07:00
abhishek
5503013e1f
Refactoring the lockAccount cmd
2010-08-20 14:48:35 -07:00
abhishek
58598bb0cb
Refactoring the lockUser cmd
2010-08-20 14:20:27 -07:00
abhishek
934173db2e
Refactoring some more system vm commands
2010-08-20 12:19:37 -07:00
abhishek
dc45e9b08b
Refactoring the rebootvm cmd
2010-08-20 11:48:24 -07:00
abhishek
be75946b1f
Refactored the reconnectHost command
2010-08-20 11:14:48 -07:00
abhishek
49482e947b
Refactoring another bunch of commands for vms
2010-08-20 10:38:44 -07:00
abhishek
b27a5af5fc
Refactored
2010-08-20 10:15:58 -07:00
abhishek
62df1ce6a9
Refactored
2010-08-20 10:15:35 -07:00
abhishek
f625900b8b
Refactoring the register command
2010-08-20 09:59:06 -07:00
abhishek
728b4641f6
Further refactoring of the templates and iso code.
2010-08-19 18:07:07 -07:00
abhishek
d5b041a790
Refactoring register commands for template and iso
2010-08-19 17:59:56 -07:00
abhishek
d468a0bd7f
Incremental checkin
2010-08-19 16:40:41 -07:00
abhishek
21f7c0dec8
Refactored RegisterTemplateCmd
2010-08-19 16:33:26 -07:00
abhishek
fcdeb5a97d
Incremental checkin
2010-08-19 14:40:08 -07:00
abhishek
9da6d89837
Refactoring deleteServiceOffering cmd
2010-08-19 12:15:26 -07:00
abhishek
c200375b0f
Refactoring RemoveFromLoadBalancerRuleCmd
2010-08-19 11:59:56 -07:00
Alex Huang
417a3c8c18
bug 5764: More changes
2010-08-19 11:27:30 -07:00
abhishek
ef2b80f9c6
Refactoring the removePortForwardingService cmd
2010-08-19 10:55:58 -07:00
abhishek
25d5126f68
Refactoring the resetVmPassword command
2010-08-19 10:12:38 -07:00
Kelven Yang
ff02e07a33
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2010-08-18 21:44:37 -07:00
alena
78846ec4eb
1) Fixed AddHost, AddSecondaryStorage, UpdateIso, UpdateTemplate to return correct command name.
...
2) Added missing accessors getFormat and isPasswordEnabled to UpdateTemplateOrIso abstract class.
2010-08-18 21:03:31 -07:00
Kris McQueen
4c86af9901
cleaning up imports
2010-08-18 19:12:27 -07:00
Kris McQueen
74e0201c77
cleaning up some imports
2010-08-18 19:11:01 -07:00
Kris McQueen
78445d8348
Refactoring createStoragePool to new API framework. The logic was always in StoragePoolManager, mostly removed the management server proxy method which called into StoragePoolManager. There is still an outstanding TODO for this API in terms of the response. Once the storage pool has been added, there is a query for the allocated bytes on the pool in order to return proper storage stats. Hooking into this query to get the right data needs to be done.
2010-08-18 19:11:01 -07:00
Kris McQueen
b0668df1b9
refactoring createSnapshotPolicy to new API framework...since this is a basic database create just move parameter validation to SnapshotManager and save the snapshot policy in the database
2010-08-18 19:08:23 -07:00
Kris McQueen
da03aee028
Add snapshot manager to the list of managers that can be invoked through the API. This prepares the way for refactoring createSnapshot, but since the method is an async create that also needs to create a policy first and generally does not follow any other patters, I'll do this one last.
2010-08-18 19:08:23 -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
Kris McQueen
88395cfcd8
CreatePortForwardingService has been refactored to the new API framework. CreatePortForwardingServiceRule has also been refactored to the new API framework. This is the first async create command, so there are some changes for the framework with async creates. First, the annotation has a 'createMethod' element, the framework will invoke the createMethod synchronously, update the id of the created object, return the jobId and objectId, then queue the method. Once the method is invoked the actual business logic will kick in, for example 'createVolume' will create a database record for the volume, return the appropriate id, and then asynchronously create the volume in the correct storage pool. The requirement is now that both a create method and an implementation method will be required in the given manager for async create commands.
2010-08-18 19:06:12 -07:00
abhishek
3198abd8c1
Refactoring network ingress group command
2010-08-18 17:52:55 -07:00
abhishek
d6f1f641b4
bug 5934: Checking if scmbug works : TEST
...
status 5934: resolved fixed
2010-08-18 17:42:12 -07:00
Anthony Xu
41f7c745bd
bug 5934: if it is standalone, give cluser name as Standalone-ip/name
...
status 5934: resolved fixed
Conflicts:
server/src/com/cloud/hypervisor/xen/discoverer/XcpServerDiscoverer.java
2010-08-18 17:33:25 -07:00
Kelven Yang
792fdf91b8
1) Add host_master table for tracking VMWare vShpere servers
...
2) Add SynchronizationEvent for in-process event synchronization
3) Move VMware files out of FOSS code base
2010-08-18 17:30:11 -07:00
abhishek
2c670609b1
Merge branch '2.1.refactor' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.1.refactor
2010-08-18 16:15:09 -07:00
abhishek
66f51effd9
Refactoring startsystemvm cmd
2010-08-18 16:14:31 -07:00
alena
89179dd12e
Api refactor
2010-08-18 16:00:31 -07:00
alena
46c331b54b
Merge branch '2.1.refactor' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.1.refactor
...
Conflicts:
server/src/com/cloud/storage/StorageManagerImpl.java
2010-08-18 15:52:23 -07:00
alena
f1b95641cb
Refactor api deletePool, addHost, addSecondaryStorage
2010-08-18 15:41:16 -07:00
abhishek
6ca1ceb769
Refactoring the startvm cmd
2010-08-18 15:38:02 -07:00
abhishek
c58749b917
Refactoring StopSystemVmCmd
2010-08-18 14:55:19 -07:00
abhishek
716271fca1
Merge branch '2.1.refactor' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.1.refactor
2010-08-18 14:05:45 -07:00
abhishek
aa6e9ab2bb
Refactoring the startvm command
2010-08-18 14:01:15 -07:00
Alex Huang
b250b985ec
changes
2010-08-18 12:19:22 -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
abhishek
8f54cac031
Resolve conflicts
...
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
2010-08-18 10:41:34 -07:00
abhishek
e553bcde96
Refactoring the updateResourceLimits code, moving all logic to agent manager, updating the enum with a new manager type for reflection
2010-08-18 10:32:21 -07:00
kishan
d202ce4c7a
Issue #: 5775
...
Release vnet and private IP allocation when domR fails to start
2010-08-18 19:43:16 +05:30
kishan
fb8e3ffec5
Merge branch 'master' of ssh://kishan@git.cloud.com/var/lib/git/cloudstack-oss
2010-08-18 14:09:13 +05:30
kishan
ef41ebc9ec
Check for null vnet when allocation fails
2010-08-18 13:54:53 +05:30
nitin
5331e13bac
5844 - adding more tags to updateTemplate API
2010-08-18 12:44:27 +05:30
Kris McQueen
261c96f99c
refactor createPod command to new API framework
2010-08-17 19:08:06 -07:00
Kris McQueen
21ab91dc2c
refactoring CreateNetworkGroup API command to new API framework
2010-08-17 19:07:00 -07:00
Kris McQueen
82d6edcdf3
Refactoring CreateIPForwardingRule and CreateLoadBalancerRule to new API framework
2010-08-17 19:07:00 -07:00
Kris McQueen
a6c34d422c
Work in progress for modifying createPortForwardingRule command.
...
- some of the logic has been moved to manager
- some annotations have been added for the command itself
2010-08-17 19:07:00 -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
abhishek
1174486e27
Refactoring into server project
2010-08-17 16:43:57 -07:00
abhishek
57edd7d2f8
Refactoring the StorageManager interface into server code
2010-08-17 16:43:01 -07:00
abhishek
8b8f126a2c
Called the wrong method, fixing the same
2010-08-17 16:11:44 -07:00
abhishek
7e502768ed
Incremental checkin
2010-08-17 16:07:48 -07:00
abhishek
492fa760ff
Removing unused imports
2010-08-17 15:19:09 -07:00
abhishek
fffd1f2099
Refactoring permissions commands
2010-08-17 15:18:00 -07:00
Kelven Yang
53097c67f5
1) Fix build problem caused by alex's Refactoring
...
2) Let console proxy servlet support API key to allow session-less access
2010-08-17 15:15:06 -07:00
abhishek
67b8a9e608
Incremental checkin
2010-08-17 14:52:29 -07:00
abhishek
4114c1b74a
Adding the updatetemplateoriso command refactoring,
2010-08-17 14:14:16 -07:00
abhishek
c092b78c47
Changing the manager
2010-08-17 12:22:26 -07:00
abhishek
001fc0f7ae
Refactoring update user command
2010-08-17 12:12:07 -07:00
abhishek
6f680375f3
Refactoring some more vm commands, as well as refactoring the account and user validation into a method. Please use the same for future validation calls
2010-08-17 11:28:23 -07:00
abhishek
a4ab5fa38d
Creating a new response obj file
2010-08-17 10:56:06 -07:00
abhishek
7a937685b0
Adding the response object for UpgradeVmResponse
2010-08-17 10:54:01 -07:00
Alex Huang
a89aad4d15
removed override
2010-08-17 10:16:16 -07:00
abhishek
3870d8f1dc
Some more refactoring
2010-08-17 10:07:57 -07:00
abhishek
b0cfdf1f37
Fixing some more issues in management server (do not know why this was not backported)
2010-08-17 10:04:09 -07:00
abhishek
1a0415601f
Incremental checkin
2010-08-17 10:00:09 -07:00
Kris McQueen
663f982628
Add ResponseObject interface.
2010-08-16 18:14:21 -07:00
Kris McQueen
5ed3ec9192
Add response object interface.
...
Add response objects for CreateDiskOffering and CreateDomain.
Move validation of parameters for CreateDiskOffering and CreateDomain to business logic, add getResponse logic for these commands.
2010-08-16 18:12:31 -07:00
Alex Huang
c5f822ca7a
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2010-08-16 11:30:22 -07:00
Alex Huang
c21bc7072c
more changes
2010-08-16 11:30:04 -07:00
Alex Huang
867b43dcf9
more changes for the rewrite.
2010-08-16 11:28:11 -07:00
root
183eb4e4a3
Api refactoring for following commands: updateAccount, updateTemplate/Iso, UpdateDomain, EnableUser/Account, DeletePod
2010-08-15 21:01:24 -07:00
edison
900b9e2f2f
Merge branch 'addhost'
2010-08-13 23:26:16 -07:00
edison
53df26daaa
"Add host" for kvm:
...
The sequence:
1. add host in UI
2. scp setup_agent.sh to agent host, and execute it. This script receives hostip,zoneid, podid and guid, then runs "cloud-setup-agent" and "cloud-setup-console-proxy". Here, we assume that network/hostname and cloud-agent are already configed and installed.
3. Write a dummy kvm resource into the database, then wait for agent connects to server, by polling the database for every 1 minutes. If it finds the agent is in UP state in database, then return, or wait for at least 10 minutes.
2010-08-13 23:19:36 -07:00
alena
b4adabe4a9
Refactored EnableAccount api command
2010-08-13 17:51:00 -07:00
abhishek
5326d0ec89
bug 5922: Checking if bug db updates works
...
status 5922: resolved fixed
2010-08-13 14:07:55 -07:00
abhishek
7d14dd7576
Issue :# 5922
...
Status 5922: Resolved Fixed
Fix for 5922
2010-08-13 13:55:33 -07:00
alena
3268303d51
Merge branch '2.1.refactor' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.1.refactor
2010-08-12 16:34:51 -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
abhishek
d8cc85c42f
Fixing the listAlerts api call to return the correct format for the sent on field
2010-08-12 15:52:34 -07:00
abhishek
b5a6d81ffe
Forgot to check this part in, for the UpgradeVmCmd
2010-08-12 14:28:24 -07:00
abhishek
5a0735edd6
Refactoring upgradeVmCmd (note that the response obj still needs to be constructed)
2010-08-12 14:22:30 -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
abhishek
23444d5f07
Refactoring the updateZone command
2010-08-12 10:59:59 -07:00
Kris McQueen
96f76062f9
Moving createDiskOffering to configurationManager, make AssignToLoadBalancer async
2010-08-11 19:32:09 -07:00
edison
dc005b9b9c
add setup_agent.sh, the first script running during add host
...
Make cloud-setup-agent/console-proxy in unattended mode
2010-08-11 19:31:07 -07:00
Kris McQueen
286d57f436
Remove old execute method from AssignToLoadBalancer.
2010-08-11 17:53:22 -07:00
Kris McQueen
0c644a5ccb
Add EventUtils to consolidate the creation of events and make it usable from all managers (there were some private methods in ManagementServerImpl). Add some validation logic to AssignToLoadBalancer implementation in NetworkManagerImpl.
2010-08-11 16:53:03 -07:00
Manuel Amador (Rudd-O)
14ae76781e
Committing Kris' big merge
2010-08-11 16:02:57 -07:00
Kris McQueen
c49cdb21d8
Remove comment from testing Git and Eclipse
2010-08-11 13:55:05 -07:00
Kris McQueen
2a2d618da9
Add a comment for testing Git and Eclipse
2010-08-11 13:54:07 -07:00
Manuel Amador (Rudd-O)
ac730ec496
Branch 2.1.refactor committed
2010-08-11 09:13:42 -07:00
Manuel Amador (Rudd-O)
05c020e1f6
Source code committed
2010-08-11 09:13:29 -07:00