146 Commits

Author SHA1 Message Date
alena
4ae5734ab0 createPod/editPod: don't allow gateway to overlap start-end ip range 2011-02-16 10:51:53 -08:00
alena
e573e66074 bug 8502: allow to edit pod name in all the cases; even when pod has resources allocated
status 8502: resolved fixed
2011-02-16 10:51:53 -08:00
Alex Huang
7dd54f079b started vms with these latest 2011-02-11 17:03:04 -08:00
abhishek
5d1d9ec387 bug 8263: allowing a private zone to be made public 2011-02-11 11:35:07 -08:00
abhishek
cb5b1e60f3 bug 8439: changes in service/disk offerings
status 8439: resolved fixed
2011-02-07 17:11:28 -08:00
alena
84fef40ce2 Refactored "allocate vlan to account" code 2011-02-04 09:54:16 -08:00
alena
96c05a24e4 bug 8235: don't generate NET_IPASSIGN event when ip assoc command fails
status 8235: resolved fixed
2011-02-01 19:55:27 -08:00
Edison Su
675a610995 cleanup default hypervisortype 2011-02-01 16:03:10 -05:00
alena
f6f8a35c75 bug 8251: introduced "id" field for public IP address. In the DB id is a primary key in user_ip_address table; ip_address and source_network_id is a composite key
status 8251: resolved fixed
2011-02-01 12:16:18 -08:00
Alex Huang
f9a9698d96 more unused fields removed 2011-01-28 15:37:00 -08:00
alena
77e89b72ca bug 8187: retreive DNS information from DataCenter instead of resetting it for the network. After the DNS is reset, all networks in the zone have to be restarted. Console proxy and secondary vm should be restarted too.
status 8187: resolved fixed
2011-01-26 19:08:56 -08:00
Alex Huang
c59e576a51 removed unused dns 2011-01-24 17:50:32 -08:00
alena
0e4196448a bug 7811: Start domR/Dhcp if it's not running when do userVmReboot
status 7811: resolved fixed

Other fixes:
* vmExpunge: cleanup LB/PF rules after vm was marked as Expunging in the DB to avoid the situation when user recovers a vm in the middle of expunge job.
2011-01-24 17:04:23 -08:00
alena
6304a92c23 bug 7881: fixed publicIpAllocation to an account.
status 7881: resolved fixed

Also fixed the issue with account delete when nonSourceNat ip addresses were not being released
2011-01-24 10:03:18 -08:00
alena
26b6d17ec6 bug 8139: Allow to have Virtual and Direct networks with the same vlanId
status 8139: resolved fixed
2011-01-21 15:14:08 -08:00
alena
4d0d47f6fc listVlanIpRanges api: for Account specific Virtual ip range return account information taken from account_vlan_map table instead of taking it from corresponding network 2011-01-21 10:57:14 -08:00
alena
671cce23ad bug 7704: network_rate is a part of network offering now. It's optional parameter; if not specified - global config param is used.
status 7704: resolved fixed
2011-01-21 09:54:27 -08:00
kishan
94ec7bf27a bug 7842: events refactoring. Still wrok in progress 2011-01-20 21:49:50 +05:30
alena
620e7e0305 Implemented list by trafficType in listNetworks command 2011-01-11 16:06:58 -08:00
alena
5dfe399c1a bug 7803: introduces new parameter "is_default" for the network. DeployVm requires 1 default network to be specified, other networks (if any) have to be secondary
status 7803: resolved fixed

Fix overview:

1) Parameter "isDefault" should be defined as a part of createNetwork
* Virtual network is always default
* Parameter can be specified only for DirectNetwork
* Once parameter is set, there is no way to change it as we don't provide updateNetwork command.
2) Added isDefault parameter to listNetworks command so you can sort by that.
3) DeployVmCmd:
* at least one default network should be set
* if more than 1 default network is set - throw an error
4) Return isDefault information as a part of Nic object for the vm response in deploy/stop/start/listVm
2011-01-11 14:22:26 -08:00
alena
d0687f663f bug 7863: fixed router cleanup thread
status 7863: resolved fixed

Router cleanp thread is fixed, here is functionality description:

* Runs every "router.cleanup.interval" period of time (1 day by default)
* Stops only domRs running in Advance zone
* Thread Flow:
- gets all Running domRs/dhcps, get their networks, select network that
has to be checked (see criteria below):
- checks that there is only one nic in the op_networks table for the
network, and this nic belongs to domR/dhcp
- Stops domR/dhcp
* Criteria to choose the network:
- Network has to be non-system.
- Network should be one of the following: Guest Virtual (TrafficType=Guest; GuestType=Virtual); Direct Tagged (TrafficType=Public; GuestType=Direct)

Couple of other fixes:

* Added isShared parameter to listNetworks command
* Moved guestType from NetworkOffering to Network
2011-01-07 16:57:47 -08:00
alena
789912de6a Removed guestIpType parameter from listNetwork offerings command 2011-01-07 10:54:45 -08:00
will
8284abedf5 bug 7902: Fixed problem with updating secstorage.ssl.cert.domain as it was incorrect set to be validated as a boolean and also was set to be validated as an ip range.
- Fixed error message returned when validating boolean to not return double-quotes as that breaks JSON.
2011-01-07 10:39:49 -08:00
alena
4ec3bc5865 bug 7244: delete corresponding untagged pod vlan ranges when pod is deleted
status 7244: resolved fixed
2011-01-06 16:16:09 -08:00
alena
916b516d13 bug 7878: Fixed Basic zone functionality - uservm/systemvm/domR start
status 7878: resolved fixed
2011-01-06 15:44:13 -08:00
alena
02dc187a0c bug 7727: Don't create Public network with broadcast_domain_type=vlan for Basic zone
status 7727: resolved fixed
2011-01-06 15:44:13 -08:00
alena
edfbc5a782 bug 7267: create/updateZone - guestNetworkCidr parameter is accepted only for zone of type Adanced.
status 7267: resolved fixed

As a part of the fix added cidr format validation to updateZone command.
2011-01-04 16:59:39 -08:00
abhishek
58f2f37fc9 adding more range checks in the createZone functionality 2011-01-04 15:22:34 -08:00
abhishek
e28ed752fc bug 7835: fixing the vnet range issues for add zone and edit zone
status 7835: resolved fixed
2011-01-04 15:14:55 -08:00
Alex Huang
4eba6d10d7 Moved State into VirtualMachine like other States of objects 2011-01-04 15:01:34 -08:00
kishan
fb6310e993 bug 6947: removed network type from service offering APIs
status 6947: resolved fixed
2011-01-04 13:22:41 +05:30
Alex Huang
1df2f6b01b More copy and paste crap that I had to fix. Are there more? 2010-12-30 20:30:45 -08:00
abhishek
3e1f782edd bug 7606: adding delete vlans and ip addresses during zone deletion
status 7606: resolved fixed
2010-12-30 15:48:35 -08:00
Alex Huang
544fa7ff1b remote access vpn, user ip address changes 2010-12-29 09:32:54 -08:00
alena
88afdb3313 Made NetworkId parameter required for Vlan, modified DB schema and corresponding Managers' methods. For Virtual and Direct untagged vlan networkId is got from default system Public/Public-DirectPodBased networks accordingly 2010-12-28 15:15:24 -08:00
abhishek
5d3173eabf bug 7721: generically fixing the url decoder issue for all commands, wherein we block any input which contains % eg. name, displayText. We throw the apt error back to the UI for the user to act upon
status 7721: resolved fixed
2010-12-28 14:23:21 -08:00
abhishek
1e17559d53 bug 7689: whilst editing pod, we were not calculating the netmask if the netmask is not passed down from the UI. Re-calculating the netmask, based on pod attribs in db
status 7689: resolved fixed
2010-12-28 10:31:07 -08:00
alena
bb088a2e4c bug 7489: Added events for network create/delete
status 7489: resolved fixed
2010-12-27 15:18:14 -08:00
abhishek
0da33ad39a bug 7673,7645: fixing the vm expunge issue. also modifying the delete pod flow to only check for hosts that are NOT removed from the pod. also, checking for alerts on the pod whilst deleting pod is not right. we should be able to delete a pod regardless of alerts issued on the pod. the resolution of alerts is a separate issue
status 7673, 7645: resolved fixed
2010-12-27 11:29:36 -08:00
kishan
e51dc79000 bug 7504: Events refactoring
status 7504: resolved fixed
2010-12-24 19:38:28 +05:30
abhishek
35a8318134 bug 7606: fixing the delete zone functionality
status 7606: resolved fixed
2010-12-23 14:11:25 -08:00
alena
3775ba043e Added Services (dhcp, gateway, portForwarding, etc.) to NetworkOffering. 2010-12-23 09:40:15 -08:00
abhishek
d5a8136f14 bug 7585: adding logic to ensure empty strings are a valid input during zone edit
status 7585: resolved fixed
2010-12-21 14:03:46 -08:00
alena
21bb9df292 Fixed accountCleanup to release all public ip addresses and delete the corresponding networks. 2010-12-20 20:20:09 -08:00
alena
ddc69cdd47 Assign sourceNat ip address to domR only, skip DHCP. 2010-12-20 10:47:06 -08:00
alena
3cd989cbef 1) Changed format for IpAssoc command. Instead of sending the ip addresses to assign one by one, we send a list of ip addresses to the agent.
2) Fixed createVM with multiple networks
2010-12-20 09:37:46 -08:00
abhishek
75b02e806d bug 7484: Fixing the issue of management server crashes on setting values for timer intervals to be 0 or less
status 7484: resolved fixed
2010-12-17 12:39:39 -08:00
alena
0049c74a5e 1) Different format for LoadBalancerCommand.
2) When apply lb rule for domR, resend all lb rules belonging to the lb network
2010-12-17 09:37:13 -08:00
alena
d673686f5f Added Availability field for NetworkOffering. Added updateNetworkOffering API command 2010-12-13 18:28:33 -08:00
alena
7d7817ecba Delete corresponding networks during zone deletion. 2010-12-10 20:42:38 -08:00