1365 Commits

Author SHA1 Message Date
Alex Huang
a73e3dc9ac new networking can be set by use.new.networking 2010-11-17 17:51:17 -08:00
Kelven Yang
5490577469 1) Remove forwarding between eth1 and eth2 as it does not solve the problem of asymmetic routing
2) correct Eclipse project settings
3) If VM is hosted by vmware hypervisor, give the previous host preference to start on to fit VMware's VM-centric model
2010-11-17 15:55:04 -08:00
alena
9fefa33a36 bug 5701: listNetworkGroups api - apply page size parameter to the NetworkGroup instead of IngressRule.
status 5701: resolved fixed
2010-11-17 15:34:45 -08:00
Chiradeep Vittal
31e17b907d bug 6971: ensure no conflicts with portforwarding rules for vpn udp ports
also, do not open up port 1701 -- only used on ppp interface not public interface
also clean up password generator, make it easier to use and more secure
moved some constants to NetUtils
heuristic to determine if an ip is one-to-one nat'ted
2010-11-17 15:32:50 -08:00
Chiradeep Vittal
c871ef4acf fix constructor to use passed in value 2010-11-17 15:31:53 -08:00
Kelven Yang
40e8cb83a6 update eclipse project settings for removal of gsson1.3 2010-11-16 23:00:40 -08:00
Alex Huang
8b7206073a more gson 1.5 work 2010-11-16 17:03:25 -08:00
alena
dae39942f1 bug 7192: Added networktype parameter for the zone
status 7192: resolved fixed

1) Zone has networktype parameter now, 2 values are supported: Basic and Advanced. "networktype" field is created in data_center table. The parameter is being set at creation time; we don't allow to modify it with updateZone command.
2) Only vlan of Untagged Direct type can be created in Basic network zone; any other vlan except for Untagged Direct can be created in Advanced zone
3) Allow NULL guest vlan range for the zone. Only vlan of Direct type can be created in zone with NULL guest vlan.
4) "Default" zone is Basic by default.
5) Changed "vnet" parameter to "vlan" in updateZone command to be consistent with createZone
2010-11-16 16:54:44 -08:00
edison
e5d222003c bug 7202: fix
status 7202: resolved fixed
2010-11-16 15:31:47 -08:00
Alex Huang
957547a65f gson 1.5 is now in 2010-11-16 15:22:45 -08:00
Alex Huang
ed31497188 ComponentLocator changes 2010-11-16 04:28:15 -08:00
Alex Huang
17afeade00 better componentslocator 2010-11-16 04:28:14 -08:00
abhishek
d5ab597fcf bug 6474,6475: porting over the expunge fixes for port forwarding rules to 2.2
status 6474,6475: resolved fixed
2010-11-15 17:33:05 -08:00
abhishek
d520f0af5b adding a column in user_ip_address table called one_to_one_nat; which is a boolean to tell us if the ip is a nat ip. This is false by default, and is set to true when we nat the ip. Also, this value is returned in the list public ip addrsses api call.
finally, the value is set to false when we delete the ip forwarding rule.
2010-11-15 12:39:24 -08:00
Kelven Yang
0653d6d7f6 Improve console access security with random generated hash key 2010-11-12 16:59:58 -08:00
edison
8ca6f1669e start2command fro secondarys storage vm and make it work for KVM 2010-11-11 17:04:10 -08:00
edison
40481cfe6e add start2command for secondarystorage vm 2010-11-11 17:04:10 -08:00
alena
0ad492cc74 bug 7118: fixed deletePod command - 1)remove Pod's resources (private ip adresses) before removing the pod itself. 2) Verify that private ip address pool is not empty before removing it.
status 7118: resolved fixed
2010-11-11 16:55:59 -08:00
abhishek
968dc0616f bug 7021: data disk wasn't being created for custom sizes. Also, we were having max size checks in GB, whereas disk offerings are in MB. Made the change there as well.The storage allocators were commented out in master, uncommented them.
Status 7021: resolved fixed
2010-11-11 15:45:21 -08:00
abhishek
239942bbe1 refactored all the commands to cater to keshav's needs, and added the new apis. the initial set of testing is complete, will now focus on corner cases 2010-11-11 13:07:26 -08:00
abhishek
a3896f27d9 removing the map files, as we are not supporting port ranges for 1:1 NAT right now 2010-11-11 13:07:26 -08:00
abhishek
26b75fc05d this is a good point to check the code in; have completed a part of the enhancement's code; with create and delete ip forwarding rule commands and the skeleton for port to rule map with associated table 2010-11-11 13:07:26 -08:00
abhishek
e5ca5dddf9 renaming the ip forwarding commands to port forwarding commands, and beginning to work on Keshav's request to modify the current 1-1 NAT to be compatible with the Amazon apis 2010-11-11 13:07:26 -08:00
nit
dbba9a5f21 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-11-11 15:55:39 +05:30
nit
c42449fe70 bug 6828: listIsos - Resolved listIsos returning multiple entries of the same ISO.
status 6828: resolved fixed
2010-11-11 15:54:27 +05:30
anthony
7f3f3226e0 merge from 2.1.x 2010-11-10 15:21:38 -08:00
anthony
e533ed41d7 merge from 2.1.x 782b81218ba4b6fe13678c5f36c6323465a4255f
don't unplug PIF
2010-11-10 15:17:43 -08:00
anthony
8df96da0a5 don't delete template if template check fail, give user a chance to check the template manually
use can delete the template though UI
2010-11-08 21:03:59 -08:00
anthony
9ee6d69c9f the default delta snapshot number between two full snapshots is 16, it is configurable 2010-11-08 18:08:07 -08:00
alena
6946f5ace1 bug 7123: populate private/linkLocal ip addresses when addPod - added stmt.executeBatch() call to addIpRange methods.
status 7123: resolved fixed
2010-11-08 17:14:03 -08:00
will
5cc496a78d Not sure why listing of templates was using Integer instead of Long for pagesize but now correcting to keep things consistent. 2010-11-08 14:57:59 -08:00
Alex Huang
edf9ddd464 added reservation id to vnet 2010-11-08 12:29:38 -08:00
Alex Huang
8d5f0f9f6c fixed some bugs 2010-11-08 12:29:37 -08:00
Alex Huang
aca8ef79cd a bunch of other changes for network refactoring 2010-11-08 12:29:37 -08:00
abhishek
cc93e7508c refactoring old code and fixing some regression bugs (UI had an issue listing domains). Also fixed the listing of domain specific zones at vm creation for a domain admin (listing everything upto root in that domain + listing all the children based on a path search) 2010-11-08 12:17:42 -08:00
abhishek
67beda5244 adding the logic to list and search zones and domains based on the user (normal,admin,domain admin) 2010-11-08 12:17:42 -08:00
alena
1c24deda34 1) Refactored current Apis not to use reflection for method invocation. In new version following has to be done:
* Implement callCreate() and execute() methods in apis extending BaseAsyncCreateCmd (example - CreateVolumeCmd)
* Implement execute() method in apis extending BaseCmd and BaseAsyncCmd (example - deleteVolumeCmd and deleteUserCmd)

We no longer need createMethod(), method(), manager() fields in @Implementation annotation, cleanup has to be done.

2) Moved Account/User related methods to AccountManagerImpl. Methods are exposed via AccountService interface.
3) Enhanced exception handing for Api calls.
4) Created ConfigurationService interface, all Api config methods are exposed via it.
2010-11-08 11:27:36 -08:00
anthony
224da7e775 several snapshot fixes 2010-11-05 20:55:19 -07:00
alena
b1defdb71d bug 6895: fixed search by id in listDomains command
status 6895: resolved fixed
2010-11-05 17:45:15 -07:00
will
05ab3bf673 bug 7063: AsyncJobResult should now return the correct success and error tags upon the completion of a async job. It should now follow either the format ... jobresult.success or jobresult.errorcode and jobresult.errortext
- Fixed a lot of other Async related packaging issues.  It's not all done but will continue to refactor this later.
2010-11-05 17:30:03 -07:00
Alex Huang
5f90a8adb0 Checking in to do git pull...stupid git 2010-11-05 16:10:22 -07:00
Alex Huang
1fe446002b stop vm is now formalized 2010-11-05 16:10:22 -07:00
will
b9fc4137f7 Bug 6988: Fixed issue with queryAsyncJobResult returning jobResults in all String format. This is to mirror the same way that the async commands are being serialized.
- Changed client.war to now include all the thirdparty files
- Fixed addVpnUser command to return a vpnuser instead of the response
- Added vmware jar files to the development build.
2010-11-04 20:56:28 -07:00
Kelven Yang
7094e066c8 CopyVolume hacking for vmware 2010-11-04 17:41:23 -07:00
Chiradeep Vittal
8e2e04a86e bug 6981: merge in stuff for bug 6807 from 2.1.x 2010-11-04 11:54:14 -07:00
alena
371e9e3a4c bug 6963: fixed parsing for asyncJob result object
status 6963: resolved fixed
2010-11-04 10:59:07 -07:00
nit
7dc7a4838a bug 4286: Fixing the extract functionality for Upload after new API framework. Also added a check to avoid system created templates and ISO's from getting extracted as per Mike.
status 4286: resolved fixed
2010-11-04 19:09:38 +05:30
Alex Huang
9bb05d3ef8 harmony amongst joins 2010-11-03 21:18:31 -07:00
Alex Huang
a0cb58aad2 Harmony amongst gurus 2010-11-03 21:18:31 -07:00
Alex Huang
e27bb550fe Harmony among gurus 2010-11-03 21:18:31 -07:00