Commit Graph

47 Commits

Author SHA1 Message Date
Edison Su ea46ee135e refactor security group in advanced network mode: use direct tagged network instead of public network 2011-02-25 16:05:50 -05:00
Edison Su 0124930cb9 bug 8655: add security group for direct tagged network 2011-02-25 15:59:40 -05:00
alena 56ff859f0a 1) Added guestIpType to the network offering; create/listNetworkOffering apis got changed accordingly.
2) Set traffic Type to be Guest for Direct/Virtual non-system default network offerings. Use this guestIpType during the network creation/implementation
2011-02-24 16:22:29 -08:00
alena 83209e53bc bug 8479: remove direct account specific network as a part of account cleanup. Before public direct ip addresses weren't released as a part of nic cleanup - deallocate() method was missing in DirectNetworkGuru
status 8479: resolved fixed
2011-02-08 10:47:05 -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
alena d5bded3d6d PublicNetworkGuru: fixed NPE in ipUnassign 2011-02-01 17:40:00 -08:00
Frank 85e11d2ff9 Add ExternalGuestNetworkGuru.java back to permium 2011-02-01 14:55:46 -08:00
alena a21ce17c09 1) More logging during vm cleanup when the vm fails to start
2) Cleanup nic info in the DB during nicRelease
2011-02-01 12:16:18 -08: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
Frank e9652e67ad migrate premium to oss 2011-01-28 16:07:46 -08:00
Kelven Yang 4696b16d10 Normalize name convention for vmware hypervisor 2011-01-28 11:16:30 -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 fc33ef2be2 Removed several unused fields after the refactoring 2011-01-24 16:18:40 -08:00
alena 632d3c67f1 bug 6689: release source nat ip address as a part of domR/dhcp destroy
status 6689: resolved fixed

Changes to destroyNetwork process. Here are the steps:
* shutdown network - shutdowns all network elements (domRs/Dhcps)
* delete network - destroy all network elements, cleanup network's resources (vlans, ip ranges), mark network with Destroyed state and set Removed field
2011-01-18 19:31:04 -08:00
Kelven Yang 23cf2e048a HA fix on VM-sync for VM in starting state, Mac Address fix 2011-01-18 19:28:51 -08:00
alena f20c725827 bug 8062: fixed releasing vnet when corresponding network is shutdown. Used to happen because reservation_id for the network didn't match reservation_id for the vnet, and cleanup thread couldn't find vnet to cleanup
status 8062: resolved fixed

Also set broadcastUri to null when shutdown the corresponding network.
2011-01-18 13:25:04 -08:00
alena 877741030c bug 7957: set network domain for domain router based on Network networkDomain parameter. Default networkDomain is "cloud.internal"
status 7957: resolved fixed
2011-01-13 11:57:29 -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
abhishek d639854426 fixes for the security groups 2011-01-07 16:22:28 -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
Alex Huang 61dd3b3bf9 bug 7865: Changed ip allocation for guest network to happen during allocation and not reserve time so ip address won't keep changing 2011-01-04 15:01:34 -08:00
Edison Su 7384d1b97a bug 7717: fix the bug that call the wrong fucntion to set netmask
status 7717: resolved fixed
2010-12-31 08:02:57 -05:00
Alex Huang 544fa7ff1b remote access vpn, user ip address changes 2010-12-29 09:32:54 -08:00
edison ac4295d91f bug 7605: fix release link local when domr stopped
status 7605: resolved fixed
2010-12-22 19:26:14 -08:00
alena 51d1aa2f95 Fixed publicNetworkGuru to set Broadcast URI for Public tagged network. 2010-12-21 10:24:56 -08:00
Alex Huang 91573b6252 more changes 2010-12-21 03:56:01 -08:00
alena 6a35f1bf31 Set broadcast domain type to Native for directPodBased network 2010-12-20 17:46:20 -08:00
abhishek d63e61c915 adding some code to ensure system vms come up for the direct untagged case (zynga setup). Also, checking in some changes on behalf of Alena 2010-12-20 16:33:57 -08:00
abhishek a54c5e8949 fixing the issue wherein public network guru failed to get ip address for direct network in case of security groups 2010-12-17 16:16:51 -08:00
alena ca92c28e0e Fixed setupNetwork command to use vlan tag instead of vlan dbId.
Changed LoadBalancerConfigCommand to use Array data structrue instead of List as list is not handled well by gson.
2010-12-17 12:07:06 -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
Alex Huang 39cc371e78 network gc 2010-12-16 14:03:21 -08:00
alena 65f53e3910 1) Create default networks for zones specified in server-setup.xml file
2) Direct pod based netwoks is taken care by DirectNetworkGuru now
2010-12-13 14:03:19 -08:00
Alex Huang 790bf40be6 Forgot what i change but must be important 2010-12-10 17:20:31 -08:00
Alex Huang 68932929fb Changes to how public ip addresses are allocated 2010-12-10 08:38:20 -08:00
alena 2f0f78ff73 Set trafficType to Public insteand of Guest for Direct network 2010-12-09 21:06:48 -08:00
Kelven Yang 68e6706fbe Fix a number of issues related with vmware on new networking 2010-12-09 19:33:30 -08:00
alena 157156dd35 1)Introduced new Network Guru - used for direct tagged network.
2)Made vm start with multiple networks
2010-12-09 11:12:29 -08:00
alena 8fb948650f Fixed createPortForwardingRule command.
Modified createVlanIpRange command: added optional networkId parameter; only startIp parameter is required now.
2010-12-09 11:12:29 -08:00
Alex Huang f497e8eab3 Make VMWare work 2010-12-08 17:08:30 -08:00
alena 954756d69b Introduced new NetworkElement - DhcpElement. 2010-12-07 13:47:59 -08:00
alena a67e91253f Don't allow to create network offering of DirectPodBased type 2010-12-06 17:42:23 -08:00
alena fb4c448762 Don't create default pod/zone
Create untagged network as a part of createZone command
2010-12-06 16:48:25 -08:00
Alex Huang d8fe8c3012 everything seems to be starting and running again 2010-12-06 14:17:53 -08:00
Alex Huang f147bf5f94 start vm not working again 2010-12-06 14:17:53 -08:00