alena
81e7b25217
Fixed ipAssoc in Basic zone (elastic IP)
2011-04-27 11:15:30 -07:00
alena
508fef2269
Apply nic profile to nic: don't set reservationStrategy for DB object when it's value is NULL
2011-04-26 17:51:49 -07:00
alena
4290abb57c
bug 9578: when deploy dhcp in Basic zone, put pod information to deploymentPlan
...
status 9578: resolved fixed
2011-04-26 14:57:40 -07:00
alena
3d33fd7f92
deleteNetwork: return false when fail to cleanup network resources (LB/PF/StaticNat rules)
2011-04-21 13:59:06 -07:00
alena
63cd66beb0
Fixed the bug in listNetworks when isSystem parameter was ignored if it was specified along with account/domainId parameter
2011-04-19 18:30:55 -07:00
anthony
e0ba2a2fa6
clean up transation code
2011-04-12 18:56:49 -07:00
alena
acaab55c3e
bug 9391: removed source_id, source_type from "volumes" table as we don't use them any more
...
status 9391: resolved fixed
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
2011-04-11 18:19:10 -07:00
Frank
105db3b15a
Merge branch 'baremetal' to master
...
modifies:
api/src/com/cloud/api/ApiConstants.java
api/src/com/cloud/api/commands/AddHostCmd.java
api/src/com/cloud/api/commands/CreatePodCmd.java
api/src/com/cloud/api/commands/DeployVMCmd.java
api/src/com/cloud/dc/Pod.java
api/src/com/cloud/network/NetworkService.java
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
server/src/com/cloud/dc/HostPodVO.java
server/src/com/cloud/network/NetworkManager.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
setup/db/create-schema.sql
utils/src/com/cloud/utils/SerialVersionUID.java
2011-04-11 14:21:41 -07:00
alena
9b4b0abcce
bug 8959: fixed mac address generation for public ip addresses
2011-04-04 18:26:11 -07:00
alena
c6b8c0ecfa
bug 9305: set Mode field for domR/CPVM/SSVM nics
...
status 9305: resolved fixed
2011-04-04 17:51:53 -07:00
alena
bf588166ed
bug 7704: network limits cleanup.
...
status 7704: resolved fixed
For user vm:
* for default network, take limit from the corresponding service offering
* for all additional networks, take limit from the network offerings
For domainRouter/SSVM/CPVM:
* get info from the network offering
Added new config parameter: "vm.network.throttling.rate". If nw_rate is NULL for serviceOffering, this parameter would be used for default vm's network
2011-04-01 15:48:32 -07:00
alena
bb31bc779f
For VirtualRouter apply networkThrottling rate of the GuestNetworkOffering to both Guest and Public networks.
2011-03-30 14:49:15 -07:00
alena
65a083b1db
bug 8831: no need for "isdedicatedtodomain" and "dedicateddomainid" parameters. If 1) network is private, return account/domainId 2)If network is shared for specific domain, return domainId only 3) If network is shared in zone, don't return account/domainId
...
status 8831: resolved fixed
2011-03-28 16:54:09 -07:00
alena
237c57e74f
bug 9146: createNetwork via 8096 - assume that network is domain specific when domainId is not null and isShared = true.
...
status 9146: resolved fixed
2011-03-24 16:04:12 -07:00
alena
a2619b902f
AssociateIPAddress - first IP associated with the network should always be a source nat
2011-03-24 14:25:20 -07:00
alena
cced97c5fb
ipAssoc - verify that ip owner is the same as the owner of the network we are assigning ip to
2011-03-24 13:32:31 -07:00
prachi
50244b79ab
Zone check in createNetwork for Bug 6873 - disable/enable mode for clusters (and pods and zones and hosts)
2011-03-23 22:20:53 -07:00
prachi
923f562aa8
Bug 6873: disable/enable mode for clusters (and pods and zones and hosts)
...
- Added a new flag 'allocation_state' to zone,pod,cluster and host
- The possible values for this flag are 'Enabled' or 'Disabled'
- When a new zone,pod,cluster or host is added, allocation_state is 'Disabled' by default.
- For existing zone,pod,cluster or host, the state is 'Enabled'.
- All Add/Update/List commands for each of zone,pod,cluster or host can now take a new parameter 'allocationstate'
- If 'allocation_state' is 'Disabled', Allocators skip that zone or pod or cluster or pod.
- For a root admin, ListZones lists all zones including the 'Disabled' zones. But for any other user, the 'Disabled' zones are not included in the response.
- For any usecase that creates/deploys/adds/registers a resource and takes in zone as parameter, now we check if the Zone is 'Disabled'. If yes then the operation cannot be performed by a user other than root-admin. Add volume, snapshot, templates are examples of this usecase.
- To enable the root admin to test a particular pod/cluster/host, deployVM command takes in 'host_id' parameter that can be passed in only by root admin.
If this parameter is passed in by the admin, allocators do not search for hosts and use that host only. StoragePools are searched in the cluster of that host.
If VM cannot be deployed to that host, allocators and deployVM fails without retrying
2011-03-23 22:15:35 -07:00
alena
404b288af4
Throw an exception when can't find network offering during zone creation
2011-03-22 14:06:14 -07:00
alena
718386a2b6
bug 8862: added updateNetwork api command. Can update name/displayText only
2011-03-22 11:26:56 -07:00
alena
e9a10c53dc
bug 8831: added 2 new parameters to create/listNetworks api: "isdedicatedtodomain" and "dedicateddomainid"
2011-03-22 10:17:08 -07:00
alena
7c1a6e4884
bug 8831: API/Management server part is done for "Dedicate Network to domain". UI part is left
2011-03-21 18:17:59 -07:00
alena
abb2e2b2ff
bug 8831: partial checkin for Domain specific Networks (includes DB changes)
2011-03-21 15:05:07 -07:00
alena
96e83fe97f
bug 8146: Elastic IP support in Basic zone.
...
Following was done as a part of checkin:
1) NetworkOffering/Network:
* add PF service support for default Guest network offering.
* Add one more additional network - Public.
* Allow to enable external firewall in Basic zone.
2) Don't allow to deployVm in Public Network.
3) Allow to add vlan ip ranges to Public networks in Basic zone.
4) Associate IP - allow to associate with Direct vms.
5) Allow to create PF/Static nat rules. Rules are being sent to External Firewall Rule only.
6) Add PF support to External Firewall element.
2011-03-17 17:19:36 -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
d2f92f1c76
bug 8973: Create Virtual Guest network as a part of deployVm if corresponding networkOffering has availability=Required and no networkIds are specified
...
status 8973: resolved fixed
2011-03-15 15:06:52 -07:00
alena
68219eba31
Fixed create vlan range for Account - pick source nat ip address from account specific vlan
2011-03-15 10:23:40 -07:00
alena
4423e4d174
bug 8867: cidr is required for Direct network creation; remove this limitation later after we allow Shared network to have multiple ip ranges having different Cidrs
...
status 8867: resolved fixed
2011-03-10 14:40:35 -08:00
alena
3448513465
bug 8666: perform RFC1918 check for cidr of Guest Virtual cidr when 1) Create/Update zone 2) Create guest virtual network
...
status 8666: resolved fixed
2011-03-10 14:06:43 -08:00
alena
dee3aefecf
bug 8508: assign source nat ip address only during network implementation.
...
status 8508: resolved fixed
2011-03-10 13:34:35 -08:00
alena
e89fc252f2
bug 8851: Guest Virtual Network can't be shared
...
status 8851: resolved fixed
2011-03-10 10:35:52 -08:00
alena
37d9b5ab50
bug 8849: Don't allow create Guest Virtual and Direct shared networks in Security Group enabled zone
...
status 8849: resolved fixed
2011-03-09 18:17:01 -08:00
alena
4f4683ec93
bug 8937: throw an Exception when fail to reapply Firewall rules as a part of network Implement
...
status 8937: resolved fixed
2011-03-09 16:24:28 -08: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
alena
b20fafeaa4
bug 8874: rebootVm - don't try to implement already implemented network
...
status 8874: resolved fixed
2011-03-07 10:23:48 -08:00
alena
94fb0612f2
Fixed DB upgrade script - vm_type field can be NULL
...
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
2011-03-05 10:37:57 -08:00
Alex Huang
40db230095
more changes for db upgrade
2011-03-04 11:09:24 -08:00
alena
715a929e91
Separate createVm methods for 1) vm in Basic zone 2) Vm with SecurityGroup in Advanced zone 3) Vm without SecurityGroup in AdvancedZone
2011-03-03 16:13:00 -08:00
alena
1025f16940
bug 8819: Don't allow upgrade system network offerings
...
status 8819: resolved fixed
2011-03-02 15:55:36 -08:00
alena
b3ff533244
bug 8795: start domR after corresponding network is shutdown - implement network before starting the domR
...
status 8795: resolved fixed
Conflicts:
api/src/com/cloud/deploy/DeployDestination.java
2011-03-02 13:46:57 -08:00
alena
d764bf245b
Throw an error when fail to configure one of the nics for multiNic user Vm
2011-03-01 18:07:49 -08:00
alena
a8e70cf9b4
bug 8763: Fixed account cleanup process - don't destroy networks when vm expunge failed
...
status 8763: resolved fixed
Conflicts:
server/src/com/cloud/user/AccountManagerImpl.java
2011-03-01 14:25:09 -08:00
alena
24b57c5373
Regular user can create guest virtual network only
2011-03-01 10:46:25 -08:00
alena
858578993f
Set specify_vlan=1 for Direct Network offering.
2011-03-01 10:01:58 -08:00
alena
f395005e0a
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-03-01 09:00:47 -08:00
alena
7c7710c204
Allow network restart only for the networks in Setup and Implemented states.
2011-02-28 16:28:54 -08:00
Edison Su
2705adb3b1
security group is per bridge
2011-02-28 12:16:40 -05:00
alena
08a535ec87
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:27:02 -08:00
alena
62b3d548d6
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:21:05 -08:00
alena
ec76406942
bug 8737: set entityOwnerId for all api commands including non-Async ones
...
status 8737: resolved fixed
2011-02-28 09:21:05 -08:00