49 Commits

Author SHA1 Message Date
Kelven Yang
aab02e2743 Add Spring annotation to major components 2012-11-07 14:53:39 -08:00
David Nalley
e87558256c Patch from Chip Childers
https://reviews.apache.org/r/5704/
License header updates for the server folder
2012-07-02 09:51:21 -04:00
frank
2f634c0913 Switch to Apache license 2012-04-03 04:50:05 -07:00
Sheng Yang
9317eb6bc3 Revert dynamic cidr change 2012-02-08 15:54:22 -08:00
Alena Prokharchyk
8bcf30da85 bug 12869: more changes to NAAS feature 2012-01-20 14:16:30 -08:00
Alena Prokharchyk
212c22b256 Added isElastic flag to ip address 2012-01-19 13:58:35 -08:00
Alena Prokharchyk
6325d21c50 Get new elasticIp when releaseIpAddress is called for elasticIP of the vm 2012-01-19 13:58:35 -08:00
frank
ec7c22f5c7 Bug 12777 - Add storage network configuration into CloudStack
new API: ListTafficTypeImplementors
2012-01-06 11:07:14 -08:00
Sheng Yang
7aed9ea76d Add checking for specified cidr when create network and update network 2011-12-06 16:28:57 -08:00
Alex Huang
0353133369 Added ways to acquired ip to network guru 2011-11-09 09:37:22 -08:00
alena
3a845d2d75 Keep Service/Provider map per network as well as per networkOffering (to handle the case when there are multiple providers defined for the same service in the network offering, and only one is picked when the network is created) 2011-11-07 16:16:03 -08:00
alena
104ed0a2a2 Direct network guru takes care of only sourceNatDisabled networks in Advance zone 2011-11-07 10:54:19 -08:00
alena
2ef551874a Fixed Direct Account specific network creation 2011-11-07 10:53:28 -08:00
alena
17a7b7cda4 listNetworkOfferings: added an ability to filter based on the Services supported 2011-11-07 10:53:28 -08:00
alena
3e20c60d6d Fixed vm deployment in Basic zone 2011-11-02 17:02:44 -07:00
alena
d315e57b0e Renamed "type" to "guestType" 2011-10-27 16:51:42 -07:00
alena
fe0b685e95 Security group is a service now 2011-10-27 16:49:20 -07:00
alena
f6717e0a23 1) Method name change
2) Rely on SourceNatService when decide if DirectNetworkGuru and GuestNetworkGuru should handle the network
2011-10-24 17:30:14 -07:00
alena
75c8e33226 Removed guestIpType from network/networkOffering 2011-10-24 17:05:00 -07:00
alena
219978a9be Create network using physical network id 2011-10-20 18:25:13 -07:00
alena
c00058adc2 Added type (Shared/Isolated) to the networkOffering/networks 2011-10-13 17:33:41 -07:00
Edison Su
211c7099a6 bug 11513: add more log in the cleanup network
Reviewed-by:alena@citrix.com
2011-09-22 15:04:43 -07:00
alena
ae56bd11e0 bug 11513: always wrap marking IP address with Releasing state and actual IP deallocation in Transaction
Reviewed-by:edison@citrix.com

Conflicts:

	server/src/com/cloud/network/guru/DirectPodBasedNetworkGuru.java
2011-09-21 18:42:47 -07:00
alena
47f519f5de When release public ip address, make a search by ip+networkId instead of ip+accountId as ipAddress is unique in network only. 2011-07-08 15:47:25 -07:00
alena
4fcb406f2b bug 4706: allow to specify which ip address from the network to take when do vm deployment. The model is supported for multiple network case as well.
status 4706: resolved fixed
2011-06-21 16:41:43 -07:00
alena
53bdd625b8 bug 9579: allow domain name suffix update for existing networks.
Block update only in these cases:

* when DNS capability AllowDnsSuffixModification is false for the network
* when target network has running network elements (dhcps or domRs)

Conflicts:

	server/src/com/cloud/vm/dao/DomainRouterDao.java
	server/src/com/cloud/vm/dao/DomainRouterDaoImpl.java
2011-06-09 16:24:48 -07:00
alena
275bab0d91 bug 9740: fixed DB upgrade for Direct Tagged networks in Advance zone
status 9740: resolved fixed

Conflicts:

	server/src/com/cloud/upgrade/dao/Upgrade218to22.java
2011-05-05 11:20:27 -07:00
alena
33b3cb2c1a bug 9693: generate usage event when release Direct ip address.
status 9693: resolved fixed

2 more fixes with this commit:

* bug 9692 is fixed - we don't increment resource count when Direct ip address is allocated.
* as a part of 2.2.2->2.2.4 upgrade resource_count for public_ip records is recalculated - count only Virtual Ip addresses

Conflicts:

	server/src/com/cloud/network/NetworkManager.java
2011-05-03 18:56:52 -07:00
alena
c844655825 bug 9488: throw InsufficientVirtualNetworkCapcityException when fail to allocate guest vnet as a part of network implement() call
status 9488: resolved fixed
2011-04-21 13:59:06 -07:00
alena
95faeb620e bug 8863: generate usage event when PF/LB/StaticNat rule is set with Revoke status, not when it's actually removed on the backend.
status 8863: resolved fixed
2011-03-16 09:41:50 -07:00
alena
5842392ec1 bug 8146: Multiple network case (default network is Virtual) - for Direct networks dhcp servers set dns to the eth0 ip address of the domR belonging to virtualNetwork
bug 8146: resolved fixed
2011-03-07 19:56:25 -08:00
Edison Su
9b51886850 fix migration issue 2011-02-28 12:16:40 -05:00
Edison Su
2705adb3b1 security group is per bridge 2011-02-28 12:16:40 -05:00
Edison Su
8a40371288 refactor security group in advanced network mode: use direct tagged network instead of public network 2011-02-24 19:58:18 -05:00
alena
039b11b9ba 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 15:36:01 -08:00
alena
1f1e393b03 Release vnet during network shutdown for guest networks only 2011-02-23 18:50:23 -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
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
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
916b516d13 bug 7878: Fixed Basic zone functionality - uservm/systemvm/domR start
status 7878: resolved fixed
2011-01-06 15:44:13 -08:00
Alex Huang
544fa7ff1b remote access vpn, user ip address changes 2010-12-29 09:32:54 -08:00
alena
6a35f1bf31 Set broadcast domain type to Native for directPodBased network 2010-12-20 17:46:20 -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
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
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
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