328 Commits

Author SHA1 Message Date
Alex Huang
1e44925564 api refactoring 2010-11-21 12:00:21 -08:00
Anthony Xu
f6836b2cb9 find the system ISO at creating system VM , not at initialization 2010-11-19 19:22:22 -08:00
Alex Huang
5b4a6f27db Changed networkconfigurations to network as per Sheng's suggestion 2010-11-19 15:44:42 -08:00
abhishek
726cf09274 whilst fixing the iso bug, i realized that the public isos werent being returned for the regular user when he tries to attach the iso to the running vm. adding a listpublicisos() method for a regular user, which will take care of the same 2010-11-19 14:20:07 -08:00
abhishek
516e944d2c bug 5892: adding the xs-tools.iso to the list resp by implementing a search based on the xs-tools.iso
status 5892: resolved fixed
2010-11-19 13:57:12 -08:00
edison
0c35f2f743 bug 7237: disk size is passed in diskProfile, no need size parameter in createcommand
status 7237: rresolved fixed
2010-11-19 11:55:27 -08:00
Chiradeep Vittal
394554770e Enforce user limit on number of vpn users 2010-11-18 18:38:29 -08:00
Anthony Xu
32e08a9cc7 bug 7226: if private NIC doesn't have IP , throw execption, then adding host fails 2010-11-18 17:03:04 -08:00
Anthony Xu
4d053964b6 remove zfs related staff, which is not used 2010-11-18 14:43:20 -08:00
Kelven Yang
1fa2df99cc Merge a fix in 2.1.x branch back to master 2010-11-18 14:42:53 -08:00
Chiradeep Vittal
c53e165eaa bug 6971: bring back l2tp port 1701 2010-11-18 14:06:01 -08:00
Chiradeep Vittal
a7547846bf bug 6971: Dont confuse PF rules added for VPN to be LB rules 2010-11-18 14:05:28 -08:00
Chiradeep Vittal
ea0680ef9c Gson 1.5 doesnt handle cgi objects very well -- ensure that VO inside agent command is a POJO 2010-11-18 14:05:03 -08:00
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