38184 Commits

Author SHA1 Message Date
abhishek
7f7a342cbe Refactoring the delete volume command 2010-08-26 14:31:25 -07:00
abhishek
604e7016a3 Incremental checkin 2010-08-26 14:18:36 -07:00
Kelven Yang
b69816814c Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-08-26 13:56:23 -07:00
abhishek
2bdaaa48a6 Refactored the destroy vm command 2010-08-26 13:37:57 -07:00
Kelven Yang
b91c910a94 Test & Debug register template on vmware 2010-08-26 13:35:46 -07:00
jessica
01508aa6b3 Issue #: 5945 - replace all content/tab_xxxxxxx.html with jsp/tab_xxxxxxx.jsp 2010-08-26 11:53:10 -07:00
Kelven Yang
bbb307c82d Explode vmware template file in place 2010-08-26 11:22:12 -07:00
abhishek
6070948e16 Merge branch '2.1.refactor' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.1.refactor 2010-08-26 11:11:10 -07:00
abhishek
f73d14e267 Refactored the destroy console proxy command 2010-08-26 11:10:29 -07:00
kishan
43169f3f96 bug 5895: added config param to turn on/off md5 hash 2010-08-26 23:39:32 +05:30
Kris McQueen
f30e0dc383 Adding the response object for alerts, initially created as part of the listAlerts refactoring. 2010-08-26 10:46:04 -07:00
Kris McQueen
187d89fce5 Refactoring listAlerts to the new API framework. This is now a BaseListCmd so it inherits keywork, page, and pagesize parameters. This also simplifies creating a Criteria object from the parameters, and then creating a search criteria from the criteria object. It's now one step...search criteria from the command itself. 2010-08-26 10:46:04 -07:00
abhishek
14fde77792 test again 2010-08-26 10:39:21 -07:00
abhishek
76a79890d6 test 2010-08-26 10:36:20 -07:00
abhishek
5f1459be93 Adding new methods 2010-08-26 10:34:28 -07:00
abhishek
3e3cc19937 adding manager 2010-08-26 10:33:18 -07:00
abhishek
d1b4034633 Mvoing console proxy manager to server 2010-08-26 10:30:52 -07:00
abhishek
88d41090ca Merge branch '2.1.refactor' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.1.refactor 2010-08-26 10:17:36 -07:00
abhishek
3a2930e383 Adding another manager 2010-08-26 10:16:51 -07:00
Kelven Yang
a3a503fecb Use ImageFormat.getFileExtension instead of toString() to retrieve template file extension name 2010-08-26 10:07:13 -07:00
Kelven Yang
0e2df1fe42 Use dummy template package to speed up debug 2010-08-26 09:43:37 -07:00
kishan
fb99f95d7c bug 5730: update dns of systemVms during zone update 2010-08-26 21:02:37 +05:30
kishan
acb23b6158 bug 5904,5474: added listCapabilities API 2010-08-26 14:53:03 +05:30
Kelven Yang
73fb80e424 Swich back to vmdk extention temporarily 2010-08-25 18:46:14 -07:00
jessica
31081a681c Issue #: 5945 - delete obsolete index.html
Conflicts:

	ui/index.html
2010-08-25 18:27:51 -07:00
jessica
99c0c662a8 Issue #: 5945 - replace index.html with index.jsp 2010-08-25 18:27:49 -07:00
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
Kris McQueen
c085283c2e Refactor createUser to new API framework. Consolidate the old createUser (GWT UI used this API) and createUserAPI into one createUser method since it's only called through integration API now. Return a UserAccount instead of a User in order to generate a response with all the information required. Also clean up some of the unused private template code from ManagementServer that was mistakenly left in from a previous refactor. 2010-08-25 18:26:38 -07:00
Kris McQueen
defae59126 Finish refactoring createTemplate to new API framework. The executor and result object from old framework still need to be deleted, but this commit moves all the business logic to the manager with validation in the createPrivateTemplateRecord and creating a snapshot if necessary in createPrivateTemplate. Additionally, added a find method on the template dao to check if the template name is in use for the account (this is part of the validation). 2010-08-25 18:26:38 -07:00
Kris McQueen
97f3068687 Work in progress refactoring createTemplate command to new API. The logic had been partially moved to the manager, still need to finish up moving the logic, then delete the unnecessary code. 2010-08-25 18:26:38 -07:00
will
f8c93cd5fa Bug #:5975
Merge from 2.1.x

- Fixed issue where listAccounts only return one less than the actual number of accounts in the system.  That is because the SQL query asks for X accounts, but the API filters out the SYSTEM account.  The fix is to add the filter of the system account in the actual query itself rather than have the code do it.

Conflicts:

	server/src/com/cloud/api/commands/ListAccountsCmd.java
2010-08-25 18:21:32 -07:00
Kelven Yang
23a38bc2be Debug & Test template copy from secondary storage to primary stroage on vmware 2010-08-25 18:17:20 -07:00
jessica
e5bdec33f9 Issue #: 5979 - change text on VM Wizard Step 3. 2010-08-25 17:11:52 -07:00
jessica
111f88a1dc Issue #: 5953 - show remove link when host status is disconnected 2010-08-25 16:48:16 -07:00
jessica
3c92e52886 Issue #: 5785 - support non-ascii character like euro character 2010-08-25 15:51:01 -07:00
abhishek
cf68dfb430 Refactored detach iso command 2010-08-25 15:33:06 -07:00
edison
3ab4651cf0 Issue #: 5978 5977 5971 5972
Status 5978: resolved fixed
Status 5977: resolved fixed
Status 5971: resolved fixed
Status 5972: resolved fixed
2010-08-25 15:27:34 -07:00
edison
ea3bbcb464 fix attaching disk 2010-08-25 15:27:17 -07:00
edison
dc14cb4b3d fix vlan dev naming issue: don't naming it by ourself 2010-08-25 15:26:59 -07:00
edison
867b49edb6 Don't install console proxy agent on agent 2010-08-25 15:26:33 -07:00
edison
398d38b38c rename qemu-kvm to cloud-qemu-system* 2010-08-25 15:26:04 -07:00
edison
0a35a8120d Oh, why there is so many un-compatible libvirt... 2010-08-25 15:22:19 -07:00
abhishek
37f6e794d9 Used the wrong base cmd 2010-08-25 14:54:38 -07:00
abhishek
74a8dc0aa8 Incremental checkin 2010-08-25 14:20:08 -07:00
abhishek
d8219225ea Import cleanup 2010-08-25 13:54:31 -07:00
abhishek
82fbae2553 Refactoring the detach volume command 2010-08-25 13:53:43 -07:00
edison
4fe1d8f335 add a web-based Ip Allocator:
In external-ip mode, management server can get user VM's ip from
direct.attach.network.externalIpAllocator.url.
This simple tool provides such kind of ip allocator service.

How to:
1. setup the dnsmasq:
	add the following in dnsmasq.conf:
		dhcp-range=starting-ip-allocate-to-vm,end-ip,netmask,static
    		dhcp-option=option:router,gateway
2. run cloud-web-ipallocator,
	The default listing port is 8080, if it's used by others, change the port by:
		cloud-web-ipallocator other-port
3. set the following in direct.attach.network.externalIpAllocator.url:
	http://your-host-ip:listening-port/ipallocator
2010-08-25 12:25:05 -07:00
Kelven Yang
63ebb00434 Add VMDK processor for template processing at secondary storage 2010-08-25 11:59:18 -07:00
abhishek
46f69a604b some more refactoring 2010-08-25 11:43:49 -07:00