Edison Su
981c497e1f
Don't apply @DB on a private method
2011-05-16 10:04:08 -04:00
kishan
b738408f7d
bug 8866,4942: Added support for Direct Network Usage collection
...
status 8866,4942: resolved fixed
2011-05-16 18:31:41 +05:30
kishan
d456f89095
bug 8866: Direct Network Usage, TrafficSentinel support added, work in progress
2011-05-12 19:43:47 +05:30
Abhinandan Prateek
d752a94838
bug 8115: Source IP filtering in Virtual Router
...
Passing the additional source cidrs paramter to the xapi.
2011-05-12 13:37:43 +05:30
keshav
435e178eef
Added a new service to enabled zone-wide, shared source NAT rules.
2011-05-11 15:35:26 -07:00
Jessica Wang
fe8d81e246
bug 9765: This is NOT an UI bug. This is a server-side bug. UI calls DeployVM API with ServiceOfferingID parameter (NOT ServiceOfferingDescription parameter). Then, server-side gets ServiceOfferingDescription by ServiceOfferingID and send it to DomR WITHTOUT escaping it first. DomR doesn't support full range of unicode character set. Therefore, DomR fails to accept metadata that has non-ascii code (error: "vm_data failed"). This check-in will send Unicode-escaped string of metadata "service-offering", "availability-zone" and "local-hostname" to DomR. Data Consumer of VM-data service needs to unescape the content accordingly.
2011-05-10 17:57:44 -07:00
Alex Huang
154c6d9021
Propagating 1345af2a0e84684a804bde5b281c30df72f148a0
2011-05-10 05:52:39 -07:00
Abhinandan Prateek
a6fac0d768
added annotation and fixes
2011-05-09 19:41:13 +05:30
Abhinandan Prateek
2984b0607f
bug 8115: source ip filtering
...
Created a table for source cidrs list.
Created necessary Daos and VOs.
Updated PortForwardingRulesDao to persist/update non null list of cidrs.
For deletion depending on ON DELETE CASCADE.
2011-05-09 17:41:50 +05:30
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
Alex Huang
fba1c95512
bug 9615: Part of the HA cleanup
2011-05-03 16:34:53 -07:00
kishan
77e48b8683
bug 9678: update user statistics in cloud_usage. Send network usage command to routers of virtual network only
...
status 9678: resolved fixed
2011-05-04 02:38:25 +05:30
Chiradeep Vittal
b42ebf4872
Build fixes after first pass at merge
2011-05-03 10:41:31 -07:00
Chiradeep Vittal
303e2a7481
Start of zonesfeature / mycloud/cloudkit
2011-05-03 10:40:17 -07:00
kishan
76a30cc76f
bug 9686,9676,9677: Create usage events for existing resources for port forwarding, load balancer and network offering usage
...
status 9686,9676,9677: resolved fixed
2011-05-03 20:01:28 +05:30
Alex Huang
99bc15f64a
changed getName to getHostname
2011-04-29 08:34:10 -07:00
alena
485f7a10cc
bug 9621: dbUpgrade - set reservation strategy to be Create for Guest Nics in Basic zone
...
status 9621: resolved fixed
Conflicts:
server/src/com/cloud/upgrade/dao/Upgrade218to22.java
setup/db/db/schema-222to224.sql
2011-04-27 22:51:56 -07:00
alena
2aa5f8996b
listNetworks: allow seeing Guest system network in Basic zone
2011-04-27 13:57:24 -07:00
alena
81e7b25217
Fixed ipAssoc in Basic zone (elastic IP)
2011-04-27 11:15:30 -07:00
kishan
42a9c49712
bug 8866: ignore network usage for system account
2011-04-27 19:44:52 +05:30
kishan
341e553b8a
bug 8866: added support for direct network usage tracking using traffic sentinel
2011-04-27 19:03:02 +05:30
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
5db28c57e4
bug 9492: allow security group removal when it has ingress rules, but not assigned to any vms yet
...
status 9492: resolved fixed
2011-04-25 16:43:39 -07:00
alena
3c48d8d432
bug 9556: set ip_type=ip4 for guestVm nics in Basic zone setup
...
status 9556: resolved fixed
2011-04-23 20:43:37 -07:00
alena
41e5e38fef
bug 9336: securityGroups can be used by other securityGroups in the same domain only; no cross domain SG authentication
...
status 9336: resolved fixed
Following changes were made:
* deleteSecurityGroup/authorizeSecurityGroupIngress - removed account/domainId parameters as SG is uniquely identified by id now
* removed account_name field from securityGroup DB table; removed allowed_security_group/allowed_sec_grp_acct from security_ingress_rule.
These values were used for api response generation only for performance purposes; added caching on API level to improve performance
* Added missing security checks for securityGroups/ingressRules
2011-04-22 11:35:29 -07:00
alena
1a6d78eae4
Code cleanup. No need to declare runtime exceptions (CloudRuntimeException, InvalidParameterException, PermissionDenied exceptions)
2011-04-21 16:26:53 -07:00
alena
b83456f895
bug 9504: don't send DHCP entry command for Destroyed vm
...
status 9504: resolved fixed
2011-04-21 14:26:42 -07:00
alena
d7ec734b01
bug 9481: deployVm with Guest Virtual network - throw an exception when fail to acquire guest Ip address
...
status 9481: resolved fixed
2011-04-21 13:59:07 -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
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
alena
98baa7392e
bug 9383: createStaticNat rule - allow opening the same port for tcp/udp traffic
...
status 9383: resolved fixed
2011-04-18 17:55:41 -07:00
alena
51c837fc66
Fixed logging for remote access vpn code
2011-04-15 09:57:56 -07:00
alena
7615ded08f
bug 9407: lock network when do deployDomR/deployDhcp to avoid 2 network elements start for the same network
...
status 9407: resolved fixed
Conflicts:
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2011-04-14 13:35:02 -07:00
Frank
92155522f2
Add license header to files
2011-04-14 11:23:14 -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
nit
debe236a8d
bug 8710: CONTD....Introducing a new user role in cloudstack called RESOURCE_DOMAIN_ADMIN. The role would have all the domain_admin rights and the rights to list zone,pods,clusters and so on. More info in the bug
2011-04-11 19:40:37 +05:30
prachi
b0b2d594a0
Bug 8018 - return cloud identifier in some instance metadata
...
There's an API call "getCloudIdentifier". it returns some UUID that uniquely identifies a cloud.
This bug is to set the value of the instace metadata field cloud-identifier to "CloudStack-{result of getCloudIdentifier}. This metadata is programmed into
the virtual router by the management server.
2011-04-08 10:50:12 -07:00
Kelven Yang
5bf6df3d6c
bug 9328: always add explict route to domR
2011-04-05 17:21:24 -07:00
alena
0fdcba3f4f
bug 8855: introduced search by zoneId to listLoadBalancerRules api. Also added "zoneId" parameter to the response
...
status 8855: resolved fixed
2011-04-05 14:38:47 -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
a47a4c8cfe
bug 9272: fixed the race condition bug when we tried to remove vm from SG after it was expunged (expunge interval was really small, 60 sec).
...
status 9272: resolved fixed
When do search for vm, do includingRemoved search.
2011-04-04 15:47:14 -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
7ce9845fb7
No need to check if user vm exists during static nat port range creation. We already do it when enableStaticNat for the ip address
2011-03-29 13:46:18 -07:00