Anthony Xu
55e425361d
Merge branch 'lmaster'
2010-08-23 18:13:33 -07:00
Anthony Xu
0366dd093c
use slaveconnection instead of masterconnection for all host plugin calls.
...
tested by creating domr and user vm and migrating them
1. if you add host for kvm , you need specify kvm://ip_address, otherwiset there is no to differ kvm and xenserver hosts, edison cloud you please test this, may need some minor fixes.
2. if you want to session inside your plugin call, you can not use the one which is passed in, due to it is a slavesession, you need to call get_xapi_session() to get a new local session and use it. I have modified some of these, I may ignore some. Please let me know if you see XENAPI_PLUGIN_EXCEPTION.
2010-08-23 18:01:39 -07:00
abhishek
5a8313cc51
Detach volume command refactor incremental checkin
2010-08-23 17:41:22 -07:00
abhishek
7f771cbe24
bug 5883: Final checkin for volume lineage
...
status 5853: RESOLVED FIXED
2010-08-23 16:17:18 -07:00
abhishek
7454f0f24a
Incremental checkin for volume lineage
2010-08-23 16:02:45 -07:00
Alex Huang
e91617bc6f
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2010-08-23 15:10:15 -07:00
Alex Huang
bb06bc3d57
fixed merge conflict
2010-08-23 15:10:08 -07:00
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