16360 Commits

Author SHA1 Message Date
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
abhishek
702658556b Refactoring the delete zone cmd 2010-08-25 11:16:07 -07:00
Kelven Yang
0682d70ce6 add correct check sum to default vmware template records
Let StoragePoolMonitor be aware of vmware hypervisor
2010-08-25 11:07:27 -07:00
abhishek
c2f517fa81 Refactoring the delete vlan ip range cmd 2010-08-25 10:59:14 -07:00
Kelven Yang
e3af2edc1d add vmware DB initial sql scripts for templates and guest OSes 2010-08-25 09:48:31 -07:00
Kelven Yang
0a401f7b91 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-08-25 09:40:57 -07:00
nit
6ae72df46a bug 5905: Adding deviceId tag to the ListVolumes command when the volume is attached. status 5905: closed fixed 2010-08-25 11:44:54 +05:30
Kelven Yang
45cb68e7e2 add templates.vmware.sql
modify build to deploy vmware database records
2010-08-24 22:58:05 -07:00
Kelven Yang
49900a8985 1) Add VMDK format
2) Make console proxy servlet explictly return content-type header for console proxy page (this is a bug fix change)
2010-08-24 18:58:38 -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
Chiradeep Vittal
6d6b74fdfa Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-08-24 11:24:05 -07:00
Anthony Xu
5fb852f0ca fix build, add XenServerResource.java 2010-08-24 10:21:41 -07:00
Alex Huang
fb389e8cd6 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-08-24 00:01:09 -07:00
Alex Huang
20b26082db bug 5764: changing from networkoffering to network profile 2010-08-24 00:00:43 -07:00
Chiradeep Vittal
aa49f9f98b Initial checkin of systemvm builder for debian-based systemvm 2010-08-23 18:40:06 -07:00
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
67e1eee981 Adding to migration script 2010-08-23 16:27:40 -07:00
abhishek
7f771cbe24 bug 5883: Final checkin for volume lineage
status 5853: RESOLVED FIXED
2010-08-23 16:17:18 -07:00
abhishek
87f8c3449f Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-08-23 16:04:16 -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