Commit Graph

524 Commits

Author SHA1 Message Date
alena 4b3b2b3f39 Throw an error when fail to configure one of the nics for multiNic user Vm 2011-03-01 18:06:05 -08:00
alena f65850732c bug 8763: Fixed account cleanup process - don't destroy networks when vm expunge failed
status 8763: resolved fixed
2011-03-01 14:21:23 -08:00
alena 39ad24d3e1 Set specify_vlan=1 for default Direct network offering. 2011-03-01 10:25:34 -08:00
alena be7d003e8d bug 8781: set dhcp/dns/userData providers to be DhcpServer in Basic zone; all other providers have to be null
status 8781: resolved fixed
2011-02-28 19:53:17 -08:00
alena 0df9c8fe56 bug 8659: deleteNetwork is async now
status 8659: resolved fixed
2011-02-28 13:46:09 -08:00
alena ed27ad3230 bug 8737: set entityOwnerId for all api commands including non-Async ones
status 8737: resolved fixed
2011-02-28 13:46:09 -08:00
alena eb62f16769 Allow network restart only for the networks in Setup and Implemented states. 2011-02-28 12:22:35 -08:00
alena 0ea10492d4 bug 8772: implementNetwork - reapply all the network rules for corresponding network elements every time network is re-implemented
status 8772: resolved fixed
2011-02-28 11:23:23 -08:00
alena a1ffd14425 bug 8753: never release public Ip address without ensuring that all corresponding resources (PF/StaticNat/Lb rules) are cleaned up.
Fixed couple of other problems along:

* when expunge PF/Static nat rules as a part of vmExpunge/IpRelease process, first mark all rules as Revoke, and then send commands to the backend. Group commands by Ip address.
Before we used to do Revoke/Send per rule basis.
* When release source nat rule, make sure that corresponding vpn (if exists) is being expunged.
2011-02-28 09:44:23 -08:00
Edison Su c5e5a0dc33 fix migration 2011-02-25 21:48:17 -05:00
Edison Su 5ffdb0f7d1 minor fix 2011-02-25 20:58:17 -05:00
Edison Su 386ffa9995 fix migration issue 2011-02-25 20:58:16 -05:00
Edison Su 52a1b2decb security group is per bridge 2011-02-25 20:58:16 -05:00
Edison Su 3a1d005400 creating zone wide vlan is disabled if zone is security group enabled 2011-02-25 16:06:53 -05:00
Edison Su 5f3415d377 list systemonly direct network if zone is security group enabled 2011-02-25 16:06:09 -05:00
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 d3d558f2fb Fixed NPE in vm expunge process - when cleanup static nat rules after corresponding vm is expunged, make search for guest Nic including removed. 2011-02-24 18:19:19 -08: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
kishan b4b516fa3a bug 8603: Included netwrok_id in network usage records
status 8603: resolved fixed
2011-02-24 15:34:58 +05:30
alena 15f59e6f58 bug 8637: throw ResourceAllocationException when resource limit is exceeded.
status 8637: resolved fixed
2011-02-18 12:26:58 -08:00
alena cd90bc7166 bug 8412: allow to delete network when it has dhcp/domRs
status 8412: resolved fixed

1) Don't count domR/Dhcp nic in active nics.
2) Removed domR cleanup thread; Network shutdown thread would shutdown domR/dhcp when network has no active vms
2011-02-18 10:31:59 -08:00
alena 504ab73ae5 Sync on network instead of ipAddressId when do create PF/StaticNat/LB rules 2011-02-17 16:13:28 -08:00
alena 96ef94eb37 ShutdownNetwork - added reservationContext parameter (contains account/callerUserId) 2011-02-17 16:13:28 -08:00
alena 8978839d96 bug 8617: Disable firewall/lb/vpn service for Direct network offering, so when user tries to create PF/LB rule for direct IP address, it fails.
status 8617: resolved fixed
2011-02-17 14:31:05 -08:00
alena 6913ed21c5 bug 8572: added more restrictions for network's domain name (see below)
status 8572: resolved fixed

1) As full domain name may not exceed a total length of 253 characters, and host name can be 63 chars long, so don't allow network domain length to exceed 190 chars.
2) Each label can have up to 63 chars
3) The characters allowed in a label are a subset of the ASCII character set, and includes the characters a through z, A through Z, digits 0 through 9, and the hyphen.Labels may not start or end with a hyphen.
2011-02-16 15:53:47 -08:00
alena 1d031e64b8 bug 8334: throw an error when try to create a network with the settings belonging to existing network
status 8334: resolved fixed
2011-02-16 15:53:47 -08:00
alena 42ddf74bc5 bug 8284: don't allow to create static nat rules for 2 different ip addresses and the same vm.
status 8284: resolved fixed
2011-02-15 13:52:00 -08:00
alena c11a9c18e2 bug 8381: disassociateIpAddress is async now 2011-02-15 12:24:18 -08:00
alena 9c2db92b63 Fixed the bug when port forwarding rules were not reset correctly on domR restart/start (multiple public ip addresses case) 2011-02-15 10:49:46 -08:00
alena d9dfd37bd4 Reapply static nat rules when domR starts/reboots 2011-02-15 10:45:28 -08:00
alena d80caf24fd bug 8564: Changed implementation for static nat rules. Now we use separate interfaces instead of PortForwardingRules interfaces.
status 8564: resolved fixed
2011-02-15 10:45:28 -08:00
alena 8cd7426dd0 bug 8455: for static nat port range don't allow start port to be bigger than end port
status 8455: resolved fixed
2011-02-11 17:43:56 -08:00
alena 0938509bc0 bug 7341: introduced search by id/vmId to listIpForwardingRules command
status 7341: resolved fixed
2011-02-11 17:14:34 -08:00
Alex Huang 7dd54f079b started vms with these latest 2011-02-11 17:03:04 -08:00
alena cb73c1e1fa Fixed NPE in deleteAccount code - when shutdown the network, always set reservation context with account/userCaller information 2011-02-11 12:06:04 -08:00
alena 3328ec5d2d Fixed the bug when dhcp server wasn't started for Direct netwok on JuniperSrx setup 2011-02-10 19:12:10 -08:00
alena 4054d7e2b5 Store ip address as String instead of Long in user_ip_address and port_forwarding_rules tables 2011-02-09 19:35:03 -08:00
Kelven Yang 091b5850b3 Explicitly specify CPU speed for all system VMs, speed of 0 no longer works for VMware 2011-02-09 15:08:06 -08:00
Edison Su 08285af33f fix capacity caclulation issue after migration 2011-02-09 13:33:42 -05:00
kishan 77719be46a bug 8465: track network usage per router in user_statistics table
status 8465: resolved fixed
2011-02-09 18:38:41 +05:30
Alex Huang b92fc074aa added forced paramter to stop apis 2011-02-08 15:38:26 -08:00
Alex Huang 0abd36c96f Change the wording in log 2011-02-08 13:39:50 -08:00
abhishek 73eb597ba6 bug 8335: adding the security group objects to the list virtual machines response 2011-02-08 11:48:39 -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
kishan 2a6bef2750 seperating service API call form internal calls for revoke port forwarding rule 2011-02-08 12:34:04 +05:30
alena 49392355b8 Don't allow to enable remote access vpn when domR is in Starting state 2011-02-07 17:46:24 -08:00
alena 0082b8435a Fixed account security checks for domain admins in following commands:
* listPortForwardingRules
* listIpForwardingRules
* listRemoteAccessVpns
* listVpnUsers
2011-02-07 16:24:34 -08:00
Alex Huang b322fb072f bug 8186: Changed the investigator to use the new networking 2011-02-07 16:04:23 -08:00
abhishek 3343aa890f bug 8427: resolving the class cast exception
status 8427: resolved fixed
2011-02-07 13:30:12 -08:00