Alex Huang
794ca16a65
Added code to start domR
2010-10-19 11:52:01 -07:00
Alex Huang
84d2a0c842
reverted back most of my changes to merge in Kris stuff. Thanks much to Anthony who caused my XenServer to reboot all the time which caused me unable to unit test stuff and unlike Kris, I do not check in code untested so now I have to do all this stuff.
2010-10-15 07:10:16 -07:00
Alex Huang
bebf9dbc3f
Adding stuff
2010-10-15 06:26:24 -07:00
Alex Huang
b3da4cea1b
Forcing me to commit because of stupid git
2010-10-15 06:22:59 -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
Alex Huang
ce091de3d2
more changes for refactor
2010-10-12 07:17:47 -07:00
Alex Huang
9d1270b35f
console proxy started completely and running
2010-10-06 17:22:35 -07:00
Alex Huang
94a26d2038
Still needs to add mac address allocation but basically console proxy is started and running
2010-10-06 10:18:09 -07:00
Kris McQueen
9c593352d0
Fixing events for async jobs so that there's a scheduled event recorded with appropriate type/description whenever the API framework schedules the async command to run. A few miscellaneous fixes as well uncovered during regression testing (router response was not parsed correctly by UI, etc.)
2010-10-05 20:26:18 -07:00
edison
d370ae6a32
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2010-10-04 14:48:40 -07:00
edison
3d9f25e903
bug 1974: add upgraderoutercmd to upgrade router vm's service offering
...
status 1974: resolved fixed
It's a synced API, which just update router vm's service offering,
parameter: router id, service offering id,
return: ture on successfull, otherwise false
2010-10-04 14:45:28 -07:00
Alex Huang
652d86956c
more files checked in
2010-10-04 12:04:59 -07:00
Kris McQueen
24bd6a39e6
Fix the type of the id attribute in BaseAsyncCmd (it should be Long), deleteNetworkRuleConfig is async command again (this was a regression), misc event and account verification fixes
2010-10-04 10:36:44 -07:00
nit
25b78d962f
bug 5356: Adding Started event for ROUTER.DESTROY when we destroy a domR as a part of account delete.
...
status 5356: resolved fixed
2010-10-04 17:51:41 +05:30
Kris McQueen
41a16a478a
Fixes required for regressions found running automated tests. (1) method signatures that weren't properly refactored to new API framework (2) API request parameter types should always be specified lest they default to String which may or may not be desired (3) better exception handling with regard to Queued commands and generic exceptions (4) fix eventing to pass the proper accountId where neccessary
2010-10-01 14:11:18 -07:00
edison
26807bc701
bug 6362: Need to call guestos.getDisplayName to the guest os name now.
...
status 6362: resolved fixed
2010-09-30 12:26:37 -07:00
edison
9e0f57bc0e
change code for new UI
2010-09-29 18:40:52 -07:00
edison
8943cc6745
create volume
...
Conflicts:
api/src/com/cloud/vm/VmCharacteristics.java
core/src/com/cloud/dc/ClusterVO.java
core/src/com/cloud/server/ManagementServer.java
server/src/com/cloud/network/NetworkManager.java
server/src/com/cloud/storage/allocator/AbstractStoragePoolAllocator.java
2010-09-29 18:40:51 -07:00
edison
3aef9f408e
step1
2010-09-29 18:40:47 -07:00
anthony
bca96b1079
pass guest OS name instead of guest ID when start system VM
2010-09-29 17:18:27 -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
Alex Huang
c443867f28
more changes
2010-09-27 15:14:38 -07:00
kishan
6c683e733a
bug 5851,6312: fixed start event ids for router start/stop events
...
status 5851,6312: resolved fixed
2010-09-27 18:32:09 +05:30
kishan
6e4fa7fcd1
bug 6176: Included domR name in networkUsage command
...
status 6176: resolved fixed
2010-09-27 16:26:56 +05:30
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
root
979fcf8b78
finalized guru design
2010-09-22 10:44:00 -07:00
Alex Huang
c0d8422d69
more changes
2010-09-22 10:43:59 -07:00
Alex Huang
22652e7ace
got the vm created
2010-09-22 10:43:59 -07:00
Alex Huang
8acba8fbd1
more checkins
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
Kris McQueen
c32d6e7524
Template id is not a required parameter when listing templates. The proper serialized name for the async job id is jobid, not id. Sadly, ctxAccoutId != ctxAccountId, ugh, no wonder the UserContext wasn't getting set up correctly. Clean up some miscellaneous unnecessary casts.
2010-09-21 17:00:50 -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
abhishek
437f717633
bug 3120: incremental checkin
2010-09-20 14:54:06 -07:00
Alex Huang
8b417ff04c
Changed Public network
2010-09-17 13:37:53 -07:00
Alex Huang
bebe79ebc9
more work from alex
2010-09-17 13:37:53 -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
alena
091b28a6b3
Modified addSecondaryStorage/addHost/updateHost/associateIpAddress/attachIso/copyIso/copyTemplate/deletePortForwardingService/startRouter/stopRouter/rebootRouter commands to new API framework.
2010-09-16 18:54:15 -07:00
Alex Huang
131e487c32
allocation complete. Moving on to actual create and deploy
2010-09-16 12:01:56 -07:00
Alex Huang
84179cd561
add missing files
2010-09-15 18:00:54 -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
root
76e5cf3321
renamed dao methods to correctly reflect what they do
2010-09-09 18:01:50 -07:00
Alex Huang
994afb0e29
switched from networkprofile to network configuration
2010-09-09 17:49:19 -07:00
root
077690cf15
switched from networkprofile to network configuration
2010-09-09 17:48:24 -07:00
alena
3659b7b207
Code cleanup - deleted code that was commented out and unused imports.
2010-09-09 16:07:29 -07:00
Alex Huang
5d185ad82f
removed network profile creation
2010-09-09 14:45:16 -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
alena
75483e4e05
Modified AuthorizeNetworkGroupIngress/DeleteNetworkGroupIngress to new api framework
2010-09-09 11:41:33 -07:00
alena
44f86d3726
Refactored AssignPortForwardingServiceCmd and DeletePortForwardingServiceCmd
2010-09-08 20:06:15 -07:00
alena
b0aa28032c
Refactored DeleteIPForwardingRule/UpdateIPForwardingRule commands to new api framework.
2010-09-08 19:03:42 -07:00
alena
5170c215f8
Refactored DeleteLoadBalancerRule/UpdateLoadBalancerRule api commands.
2010-09-08 15:04:26 -07:00
alena
41000e61d3
Refactored copyIso/copyTemplate/attachIso/startRouter/stopRouter/rebootRouter commands
2010-09-07 18:53:04 -07:00
Kris McQueen
931706ad87
Refactor listPortForwardingRules to new API framework. Clean up imports.
2010-09-01 15:00:22 -07:00
Kris McQueen
fbcb02cd9e
Refactoring listNetworkGroups to new API framework. The search is done entirely within NetworkGroupManager, and this is one instances of a response with nested data (the ingress rules are nested within the groups). Some work will need to be done to serialize this response properly.
2010-09-01 14:05:39 -07:00
alena
53892037c4
Refactored associateIPAddress and updateHost commands.
2010-08-30 15:22:42 -07:00
abhishek
dc750e2691
Moving the disassoc logic to network manager
2010-08-30 10:50:27 -07:00
Kelven Yang
7eb61b705a
Allow NetworkManagerImpl and SecondaryStorageImpl to tolerate missing of system vm template at startup
2010-08-27 16:32:03 -07:00
abhishek
0ea56e1504
refactored the delete port forwarding service rule cmd
2010-08-27 10:22:11 -07:00
jessica
895fb85162
check in for Alex.
2010-08-24 15:48:40 -07:00
Alex Huang
415bc8ae20
bug 5764: checkin before I switch to work on 2.1.x
2010-08-24 14:40:29 -07:00
Alex Huang
20b26082db
bug 5764: changing from networkoffering to network profile
2010-08-24 00:00:43 -07:00
Alex Huang
e0165dd2ef
my changes
2010-08-23 13:59:23 -07:00
abhishek
c200375b0f
Refactoring RemoveFromLoadBalancerRuleCmd
2010-08-19 11:59:56 -07:00
abhishek
3198abd8c1
Refactoring network ingress group command
2010-08-18 17:52:55 -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
kishan
d202ce4c7a
Issue #: 5775
...
Release vnet and private IP allocation when domR fails to start
2010-08-18 19:43:16 +05:30
kishan
ef41ebc9ec
Check for null vnet when allocation fails
2010-08-18 13:54:53 +05:30
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
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
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