alena
f6a79c603f
bug 11036: resource count update is refactored
...
status 11036: resolved fixed
1) Use row locks instead of global lock when update resource_count table. When update resource_count for account, make sure that we lock account+all related domains
2) Insert resource_count records for account/domain at the moment when account/domain is created.
3) As a part of DB upgrade, insert missing resource_count records for all non-removed accounts/domains
Conflicts:
core/src/com/cloud/alert/AlertManager.java
server/test/com/cloud/agent/MockAgentManagerImpl.java
2011-09-13 10:47:36 -07:00
alena
47d9cbd2ee
bug 11331: allow extending vnet range as a part of updateZone call
...
status 11331: resolved fixed
2011-09-06 17:40:28 -07:00
alena
35b551a199
bug 11260: Take networkRate for domR's guest and public interface from the corresponding system service offering
2011-08-25 14:15:12 -07:00
frank
85f18ff256
fix build, add test rpm back
2011-08-24 13:24:51 -07:00
alena
8a7feb8ec1
Merge branch '2.2.y'
...
Conflicts:
agent/src/com/cloud/agent/resource/computing/LibvirtComputingResource.java
api/src/com/cloud/agent/api/routing/LoadBalancerConfigCommand.java
api/src/com/cloud/agent/api/to/FirewallRuleTO.java
api/src/com/cloud/agent/api/to/IpAddressTO.java
api/src/com/cloud/agent/api/to/PortForwardingRuleTO.java
api/src/com/cloud/api/ApiConstants.java
api/src/com/cloud/api/BaseCmd.java
api/src/com/cloud/api/ResponseGenerator.java
api/src/com/cloud/api/commands/CreateFirewallRuleCmd.java
api/src/com/cloud/api/commands/CreateIpForwardingRuleCmd.java
api/src/com/cloud/api/commands/CreateLoadBalancerRuleCmd.java
api/src/com/cloud/api/commands/CreatePortForwardingRuleCmd.java
api/src/com/cloud/api/commands/DeleteLoadBalancerRuleCmd.java
api/src/com/cloud/api/commands/ListCapabilitiesCmd.java
api/src/com/cloud/api/commands/UpdateNetworkCmd.java
api/src/com/cloud/api/response/CapabilitiesResponse.java
api/src/com/cloud/network/Network.java
api/src/com/cloud/network/NetworkService.java
api/src/com/cloud/network/firewall/FirewallService.java
api/src/com/cloud/network/lb/LoadBalancingRule.java
api/src/com/cloud/network/lb/LoadBalancingRulesService.java
api/src/com/cloud/network/rules/FirewallRule.java
api/src/com/cloud/network/rules/RulesService.java
api/src/com/cloud/offering/NetworkOffering.java
client/tomcatconf/commands.properties.in
cloud.spec
core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
core/src/com/cloud/hypervisor/xen/resource/CitrixHelper.java
core/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
core/src/com/cloud/storage/template/DownloadManagerImpl.java
core/src/com/cloud/vm/DomainRouterVO.java
debian/cloud-deps.install
patches/systemvm/debian/config/etc/init.d/cloud-early-config
patches/systemvm/debian/config/root/ipassoc.sh
patches/systemvm/debian/config/root/loadbalancer.sh
scripts/vm/hypervisor/kvm/rundomrpre.sh
scripts/vm/hypervisor/xenserver/vmops
server/src/com/cloud/agent/manager/AgentAttache.java
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/agent/manager/AgentMonitor.java
server/src/com/cloud/agent/manager/ClusteredAgentManagerImpl.java
server/src/com/cloud/alert/ClusterAlertAdapter.java
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/api/ApiServer.java
server/src/com/cloud/cluster/ClusterManagerImpl.java
server/src/com/cloud/configuration/Config.java
server/src/com/cloud/configuration/ConfigurationManager.java
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/deploy/FirstFitPlanner.java
server/src/com/cloud/ha/HighAvailabilityManagerImpl.java
server/src/com/cloud/host/dao/HostDaoImpl.java
server/src/com/cloud/hypervisor/xen/discoverer/XcpServerDiscoverer.java
server/src/com/cloud/network/LoadBalancerVO.java
server/src/com/cloud/network/NetworkManager.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/dao/FirewallRulesDao.java
server/src/com/cloud/network/dao/FirewallRulesDaoImpl.java
server/src/com/cloud/network/element/DhcpElement.java
server/src/com/cloud/network/element/VirtualRouterElement.java
server/src/com/cloud/network/firewall/FirewallManagerImpl.java
server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManager.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
server/src/com/cloud/network/rules/FirewallManager.java
server/src/com/cloud/network/rules/FirewallRuleVO.java
server/src/com/cloud/network/rules/PortForwardingRuleVO.java
server/src/com/cloud/network/rules/RulesManagerImpl.java
server/src/com/cloud/network/rules/StaticNatRuleImpl.java
server/src/com/cloud/network/security/SecurityGroupListener.java
server/src/com/cloud/network/security/SecurityGroupManagerImpl.java
server/src/com/cloud/offerings/NetworkOfferingVO.java
server/src/com/cloud/server/ConfigurationServerImpl.java
server/src/com/cloud/server/ManagementServerImpl.java
server/src/com/cloud/storage/StorageManager.java
server/src/com/cloud/storage/StorageManagerImpl.java
server/src/com/cloud/storage/dao/VMTemplateHostDaoImpl.java
server/src/com/cloud/storage/download/DownloadMonitorImpl.java
server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
server/src/com/cloud/upgrade/dao/Upgrade228to229.java
server/src/com/cloud/upgrade/dao/Upgrade229to2210.java
server/src/com/cloud/user/AccountManagerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
server/src/com/cloud/vm/dao/DomainRouterDao.java
server/src/com/cloud/vm/dao/DomainRouterDaoImpl.java
setup/db/create-index-fk.sql
setup/db/create-schema.sql
setup/db/db/schema-222to224.sql
setup/db/db/schema-227to228.sql
setup/db/db/schema-228to229.sql
setup/db/db/schema-229to2210.sql
tools/testClient/README
ui/scripts/cloud.core.instance.js
utils/src/com/cloud/utils/SerialVersionUID.java
utils/src/com/cloud/utils/db/ConnectionConcierge.java
utils/src/com/cloud/utils/db/Merovingian2.java
utils/src/com/cloud/utils/db/Transaction.java
utils/src/com/cloud/utils/nio/Link.java
utils/src/com/cloud/utils/nio/NioConnection.java
utils/src/com/cloud/utils/time/InaccurateClock.java
2011-08-22 20:28:30 -07:00
alena
31a022c720
Added networkRate parameter to createServiceOffering api command
...
Conflicts:
server/src/com/cloud/configuration/ConfigurationManager.java
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
2011-08-22 12:05:34 -07:00
alena
033765f93f
Added networkRate parameter to createServiceOffering api command
2011-08-22 12:02:08 -07:00
anthony
e5e85d05e9
bug 10695: add XCP 1.0 support
...
status 10695: resolved fixed
Conflicts:
core/src/com/cloud/hypervisor/xen/resource/CitrixHelper.java
2011-08-09 19:51:32 -07:00
anthony
33b3e02c17
bug 10695: add XCP 1.0 support
...
status 10695: resolved fixed
2011-08-09 19:49:12 -07:00
Abhinandan Prateek
bf0e761be1
checking domain list syntax
2011-08-03 14:45:23 +05:30
Abhinandan Prateek
f6303c13fb
bug 10812: putting key in ZoneConfig and other nomenclature changes
2011-08-03 14:42:29 +05:30
Abhinandan Prateek
cd78c5cb9b
bug 10812: putting key in ZoneConfig and other nomenclature changes
2011-08-03 14:32:28 +05:30
alena
8d47c53735
Revert "bug 10435: removed vpn feature"
...
This reverts commit ea9e1b5d138950e8de49fce7ffdbb12a1c72c560.
Conflicts:
api/src/com/cloud/api/ResponseGenerator.java
scripts/vm/hypervisor/xenserver/vmops
server/src/com/cloud/configuration/Config.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManager.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2011-08-02 18:12:57 -07:00
Abhinandan Prateek
70b9769bd5
putting a check for domain name list
2011-08-02 15:22:49 +05:30
Abhinandan Prateek
5cb3882349
bug 10812: adding domain suffixes to zone's router conf
2011-08-02 11:23:33 +05:30
Abhinandan Prateek
46be774ce8
bug 10812: adding domain suffixes to zone's router conf
2011-08-02 11:08:24 +05:30
alena
d6112b1632
Revert "bug 10373: Intermediate checkin for Domain level guest Virtual networks"
...
This reverts commit e5c25f3868965e36c4bff1c78ca4552a8c852241.
Conflicts:
server/src/com/cloud/configuration/Config.java
server/src/com/cloud/network/NetworkManagerImpl.java
2011-07-21 16:04:55 -07:00
Alex Huang
abd3321077
bug 10799: propagate to 2.2.9
2011-07-21 11:30:03 -07:00
Alex Huang
f82aa97273
bug 10799: propagate to main
2011-07-21 11:27:10 -07:00
alena
36edf298e7
bug 10373: Intermediate checkin for Domain level guest Virtual networks
2011-07-20 13:44:26 -07:00
alena
e2eac341a4
bug 10710: Basic zone setup - send dhcp entries to all domRs (in every Pod) only when network.dns.basiczone.updates is set to "all"
...
status 10710: resolved fixed
Conflicts:
server/src/com/cloud/configuration/Config.java
server/src/com/cloud/vm/dao/DomainRouterDaoImpl.java
setup/db/db/schema-228to229.sql
2011-07-19 10:33:34 -07:00
anthony
10f1499438
bug 10680: changing guest.network.device in global config also change existing hosts guest.network.device, reconnect will use network information in host_details
...
status 10680: resolved fixed
2011-07-15 18:20:16 -07:00
anthony
4a30f38dd4
bug 10680: changing guest.network.device in global config also change existing hosts guest.network.device, reconnect will use network information in host_details
...
status 10680: resolved fixed
2011-07-15 18:17:53 -07:00
alena
0d84cde633
bug 10409: added domainSuffix parameters to account/domain objects
2011-07-15 14:40:39 -07:00
alena
731c3bc20a
bug 10710: Basic zone setup - send dhcp entries to all domRs (in every Pod) only when network.dns.basiczone.updates is set to "all"
...
status 10710: resolved fixed
2011-07-14 16:28:13 -07:00
alena
1979d1d065
bug 10681: for serviceOfferings, diskOfferings, templates/isos return records with not null Removed field on findById method call
...
status 10681: resolved fixed
Conflicts:
server/src/com/cloud/server/ManagementServerImpl.java
2011-07-13 18:25:13 -07:00
alena
25206e6257
bug 10681: for serviceOfferings, diskOfferings, templates/isos return records with not null Removed field on findById method call
...
status 10681: resolved fixed
2011-07-13 17:16:07 -07:00
alena
9be9a970c9
bug 10409: added domainSuffix parameters to account/domain objects
2011-07-06 16:57:19 -07:00
alena
74f34a0e0c
bug 10435: removed vpn feature
...
status 10435: resolved fixed
2011-06-24 09:18:46 -07:00
Sheng Yang
0d750dacc2
bug 10311: Update create network_offering API
2011-06-22 15:30:39 -07:00
alena
2e3fff5b94
bug 10219: Untagged vlan ranges in Public network should have the same subnet
...
status 10219: resolved fixed
2011-06-20 16:17:34 -07:00
alena
bc1d199353
bug 10219: Untagged vlan ranges in Public network should have the same subnet
...
status 10219: resolved fixed
2011-06-20 16:15:37 -07:00
Abhinandan Prateek
79e38f0a1f
bug 10305: for a systemvm only applicable system vm offering should be displayed
...
status 10305: resolved fixed
While creating a system vm offering specify the type. If no type specified the default to domainrouter.
While requesting a set of system offering specify the paramter systemvmtype.
2011-06-20 20:11:50 +05:30
Abhinandan Prateek
976aab77bb
bug 10305: for a systemvm only applicable system vm offering should be displayed
...
status 10305: resolved fixed
While creating a system vm offering specify the type. If no type specified the default to domainrouter.
While requesting a set of system offering specify the paramter systemvmtype.
2011-06-20 20:01:40 +05:30
Abhinandan Prateek
30ba637a04
bug 10313: on trying to delete a default offering throw error
2011-06-19 15:12:16 +05:30
Abhinandan Prateek
94a278a638
bug 10313: on trying to delete a default offering throw error
2011-06-19 15:07:45 +05:30
kishan
7a810d1df1
bug 7451: Added network offering action events
...
status 7451: resolved fixed
2011-06-15 16:56:18 +05:30
kishan
2c24002de9
bug 8699: Added event for glabal config update
...
status 8699: resolved fixed
2011-06-15 12:40:23 +05:30
kishan
8ae65de6b3
bug 8699: Added event for glabal config update
...
status 8699: resolved fixed
2011-06-13 15:34:27 +05:30
alena
e74fef711c
bug 9655: removed restriction for Direct networks - now can create 2 networks with diff vlans and the same subnet
...
status 9655: resolved fixed
2011-06-10 10:40:26 -07:00
alena
c66c3c5bf0
bug 9655: removed restriction for Direct networks - now can create 2 networks with diff vlans and the same subnet
...
status 9655: resolved fixed
2011-06-10 10:39:00 -07:00
alena
f06818704b
Revert "bug 10199: don't allow network offering Name modification."
...
This reverts commit 97f2b9936a8b9e3a057116d327b058253458b4ef.
Use the following solution instead:
* add unique_name field to the network_offerings table. Use this filed as a unique offering identifier in the code
* Added db upgrade steps to 225to226 sql script
Conflicts:
server/src/com/cloud/offerings/NetworkOfferingVO.java
2011-06-09 13:34:50 -07:00
alena
4fdb6186af
Revert "bug 10199: don't allow network offering Name modification."
...
This reverts commit 97f2b9936a8b9e3a057116d327b058253458b4ef.
Use the following solution instead:
* add unique_name field to the network_offerings table. Use this filed as a unique offering identifier in the code
* Added db upgrade steps to 225to226 sql script
2011-06-09 13:32:53 -07:00
alena
8180e55469
bug 10199: don't allow network offering Name modification.
...
UI has to be fixed as well
2011-06-09 10:05:28 -07:00
alena
c57248aa4e
bug 10199: don't allow network offering Name modification.
...
UI has to be fixed as well
2011-06-08 17:42:04 -07:00
Sheng Yang
62ac899091
bug 9154: Initial check in for enabling redundant virtual router
...
This patch enable redundant virtual routers.
1. To enable this feature, db need to be updated using follow SQL by now(we
would get a UI way later):
UPDATE network_offerings SET redundant_router=1 WHERE guest_type="Virtual" AND
system_only=0;
2. System would try to start up two routers at different hosts. But if there is
only one host in the zone, system would start up two routers on it.
3. The failover part is using keepalived, and connection tracking part is using
conntrackd. There would be one master router and one backup router. The status
of router(master or backup) can be query from the database table domain_router
now. Management server would update the status every 30s by default.
4. The routers for the same zone would use same external NIC(same ip and mac).
The script used for fail-over would ensure only one external NIC present in the
network at any time.
5. Currently management server don't got the ability to stop one of router is
both of them reported as master. The feature is in the todo list.
After two routers start up, disconnect anyone of them, the guest network
shouldn't be affected, and established connection(http, ssh, etc.) should still
works. The fail-over on gateway part should be 3~4 seconds.
Currently the patch works with KVM. Would deal with vmware and XenServer soon.
2011-06-07 14:47:45 -07:00
Edison Su
9ec9d74514
zone can be deleted now
2011-06-02 12:33:37 -04:00
Edison Su
4a47d19c84
fix delete zone: many times, you just can't delete a zone, even you clean up all the resources
2011-06-01 20:26:29 -04:00
Alex Huang
2ceadec326
bug 9651: tags parameter added to createnetwork
2011-06-01 17:36:14 -07:00
anthony
7a266b9321
bug 10046: size in diskofferingVO is in type now
...
status 10046: resolved fixed
2011-05-26 13:51:08 -07:00