2544 Commits

Author SHA1 Message Date
Jessica Wang
6100dc62b5 bug 6940: IP Address page - show/hide tabs upon isstaticnat, issourcenat, forvirtualnetwork value. 2010-11-17 16:23:36 -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
Jessica Wang
39327f2f38 bug 6940: IP Address page - details tab - add "Static NAT" field. 2010-11-17 15:43:51 -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
9640f12cce bug 6971: revert some changes 2010-11-17 15:33:10 -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
Jessica Wang
8c8188afec bug 7151: cluster page - add "Add Host", "Add Primary Storage" option. 2010-11-17 15:18:09 -08:00
Jessica Wang
d491490cde bug 7038: Pod page - Add Direct IP Range dialog - remove gateway field. Get gateway value from pod. 2010-11-17 14:18:52 -08:00
alena
2184dd1af2 bug 7195: introduced search by forVirtualNetwork parameter in listVmsCmd. Added "forVirtualNetwork" param to responses for all VM's apis.
status 7195: resolved fixed
2010-11-17 14:11:16 -08:00
Jessica Wang
b6f15213e5 bug 7208: not pass vlan parameter to UpdateZone API if vlan is null 2010-11-17 13:09:22 -08:00
abhishek
38292fcd02 bug 6929: we prevent upgrading of a router with a SO different from the type it was created with (eg. prevent a virtual offfering being upgraded to direct)
status 6929: resolved fixed
2010-11-17 12:59:54 -08:00
Jessica Wang
fed5bbcfbe bug 7208: not pass vlan parameter to CreateZone API if vlan is null. 2010-11-17 12:24:31 -08:00
Jessica Wang
08247906f2 bug 7208: Guest vlan range should be optional for zone with Advance network support 2010-11-17 12:08:15 -08:00
abhishek
1d1a2fa691 bug 6448: returning an error back from the api on trying to add a pf rule which already exists 2010-11-17 11:50:05 -08:00
Jessica Wang
37612196b8 Bug 7207: Add Zone Pod Wizard - Step2: shouldn't show "vlan range" fields when create zone with Basic network type 2010-11-17 11:06:34 -08:00
Chiradeep Vittal
43d5219258 fix components.xml handling in agent 2010-11-17 11:03:00 -08:00
alena
59b07f8047 bug 7162: made listZones by id work
status 7162: resolved fixed
2010-11-17 10:46:38 -08:00
alena
f2c1291f6d Don't allow to update zone with new guestVlan range if the zone's network type is Basic 2010-11-17 10:46:38 -08:00
Jessica Wang
745d3e816d bug 7206: pod page - use zone's network type ("Basic", "Advanced") to decide what to show/hide. 2010-11-17 10:38:32 -08:00
Jessica Wang
8f5a7a8c00 bug 7206: zone page - add network type ("Basic", "Advanced") 2010-11-17 10:24:52 -08:00
Alex Huang
2628b0c994 more componentlocator changes 2010-11-17 04:49:38 -08:00
Alex Huang
e22968b5fc more componentlocator changes 2010-11-17 04:39:47 -08:00
Kelven Yang
40e8cb83a6 update eclipse project settings for removal of gsson1.3 2010-11-16 23:00:40 -08:00
alena
c229e18a1e Don't try to create guest vlan range for Default zone as it has Basic network type 2010-11-16 18:20:26 -08:00
abhishek
20262803fe added entry for networktype to dbconfig for zone creation 2010-11-16 18:01:39 -08:00
Jessica Wang
3dd4727060 new UI - related UI change for new parameter "networktype" of AddZone API. 2010-11-16 17:35:34 -08:00
alena
88fc03f1b1 Set networktype default value to be "Basic" in create-schema.sql 2010-11-16 17:11:53 -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
Jessica Wang
b577015795 new UI - zone page, pod page - clicking Add VLAN, Add Secondary storage will show corresponding tab. 2010-11-16 16:39:52 -08:00
Jessica Wang
c88ead415f bug 7038: Pod page - has option to Add Direct IP Range if its zone is basic-mode. 2010-11-16 16:24:30 -08:00
edison
927981794c fix rpm build 2010-11-16 16:10:05 -08:00
abhishek
7575a03663 bug 6861: we were setting the account cleanup flag incorrectly, even for a vol which was never attached to a vm. Fixing the same
status 6861: resolved fixed
2010-11-16 16:11:55 -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
Jessica Wang
c03131d9dd new UI - host page - systemVM tab - add SystemVM type ("console proxy vm", "secondary storage vm") 2010-11-16 15:08:13 -08:00
Jessica Wang
3342d9361c new UI - host page - details tab - show spinning wheel before tab is fully loaded. 2010-11-16 14:52:13 -08:00
Jessica Wang
37fd3eef22 bug 7033: primary storage page - show different action options based on state of primary storage. 2010-11-16 14:36:36 -08:00
Ahmad E
bac864779a fixing what I broke as well as what was broken 2010-11-16 14:17:40 -08:00
abhishek
10cfe07970 bug 6793: returning the right msg to the ui when we try to log in to a locked account 2010-11-16 14:15:08 -08:00
Ahmad E
13c3835d23 build was failing due to command name mismatch. 2010-11-16 14:08:22 -08:00
Jessica Wang
b603a75061 bug 3921: ISO page - remove "Copy ISO" option from "xs-tools.iso" 2010-11-16 14:03:56 -08:00
Jessica Wang
a03a58d379 Test Provisioning Tool - related UI change after API refactor (after "true"=>true, "false"=>false, "3"=>3) 2010-11-16 13:49:44 -08:00
abhishek
e5e128545d removing the tags support in the update commands for disk and service offerings 2010-11-16 13:25:25 -08:00
abhishek
0876136dc4 bug 7185: the tags logic in the update disk,service offerings was wrong. once a tag is created, it should not be modified. we should only append to the existing list of tags, adding more tags. fixing the same
status 7185: resolved fixed
2010-11-16 12:51:36 -08:00
Jessica Wang
f9333a282d bug 5730: update zone - if dns1 or dns2 has been changed, pop up dialog box after updating zone: "DNS update will not take effect until all virtual routers are stopped and then started" 2010-11-16 12:14:12 -08:00
alena
c5d78a726e Modified exception handing in API. Following exceptions are supported now (location - BaseCmd.java):
* MALFORMED_PARAMETER_ERROR - when type of the request parameter is invalid (String instead of Long for id for example)
* PARAM_ERROR - when invalid parameter value is specified in api request. For example, id of non existing vm for StartVmCmd
* ACCOUNT_RESOURCE_LIMIT_ERROR - when user tries to exceed his resource limits by executing the api command.
* INSUFFICIENT_CAPACITY_ERROR - when resource fails to create/start due to insufficient capacity.
* RESOURCE_UNAVAILABLE_ERROR - when user tries to create a vm when storage is not available.
* RESOURCE_IN_USE_ERROR - when user tries to delete/modify resource while it's in use. For example, when we try to delete a network group when it contains ingress rules.
* NETWORK_RULE_CONFLICT_ERROR - when LB/PF rule to add conflicts with existing rule
* ACCOUNT_ERROR - when user is not authorized to execute operation on the resource.
* INTERNAL_ERROR
2010-11-16 11:56:34 -08:00
Jessica Wang
2dae6ea836 bug 5730: Make Vlan range optional when updating zone. 2010-11-16 11:55:22 -08:00
abhishek
92e3dc91c4 found a bug in the code where we were not decoding the params sent in eg. "a b" was being stored in the db as 'a%20b'. Fixing the same to have the right val persisted to the db 2010-11-16 11:46:55 -08:00