541 Commits

Author SHA1 Message Date
alena
6b9603bc4c bug 10561: intermidiate checkin for FirewallRuleFeature
1) Added new apis: createFirewallRule, deleteFirewallRule, listFirewallRules
2) Modified existing apis - added boolean openFirewall parameter to createPortForwardingRule/createIpForwardingRule/createRemoteAccessVpn. If parameter is set to true, open firewall on the domR before creating an actual PF rule there
Modified backend calls appropriately.
3) Schema changes for firewall_rules table:
* startPort/endPort can be null now
* added icmp_type, icmp_code fields (can be not null only when protocol is icmp)
4) Added new manager - FirewallManagerImpl

Conflicts:

	api/src/com/cloud/api/BaseCmd.java
	client/tomcatconf/commands.properties.in
	server/src/com/cloud/api/ApiResponseHelper.java
	server/src/com/cloud/configuration/DefaultComponentLibrary.java
	server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
	server/src/com/cloud/network/rules/RulesManagerImpl.java
2011-08-09 15:51:56 -07:00
Kelven Yang
eb28549e6c Seperate template cleanup control to enable template preloading 2011-08-09 13:42:50 -07:00
Kelven Yang
02e64f90de Add prepareTemplate command(admin only) to allow pre-loading template into primary storage 2011-08-08 18:45:47 -07:00
anthony
fb46a7f1d6 bug 10849: storage ip is not require NOT NULL
status 10849: resolved fixed
2011-08-05 11:27:02 -07:00
Nitin
f6e2669a6e bug 9345: Remove pool_id from template_host_ref. Add upgrade changes for the same.
status 9345: resolved fixed
2011-08-05 13:49:55 +05:30
Sheng Yang
38366074c9 Add some default values for 2.2.9-2.2.10 scheme 2011-08-04 12:10:56 -07:00
anthony
2d23ce6dd1 Bug 10197: DB upgrade 2011-08-04 10:58:19 -07:00
Nitin
a3cb6d9a09 bug 9345: Remove pool_id from template_host_ref. Its not needed anymore. Also removed the unwarranted code.
status 9345: resolved fixed
2011-08-04 12:51:35 +05:30
alena
dfd0d7730e bug 10954: when start a vm, always check if it's being started in original pod; if not - release old ip address, and allocate the new one from the new pod
status 10954: resolved fixed
2011-08-03 20:47:44 -07:00
Sheng Yang
7f859cf30f Update scheme-229to2210.sql to reflect redundant virtual router change 2011-08-03 17:33:53 -07:00
keshav
34a0c44f4f Added a new table for inline load balancer deployments, to store mappings between public IPs and NICs. 2011-08-03 16:10:20 -07:00
alena
603de56c93 Merged fixes for 228-229 upgrade from 2.2.8 zucchini branch 2011-08-03 10:39:02 -07:00
alena
21a98e8457 Added missing config value to 229 to 2210 upgrade 2011-08-03 10:35:32 -07:00
Abhinandan Prateek
2f804dd799 bug 10748: use external dns, configurable thru global param 2011-08-02 16:21:55 +05:30
alena
d30fe74794 Added 229 to 2210 upgrade path 2011-08-01 15:42:16 -07:00
alena
52f1a58fc6 bug 10927: removed network_domain for account/domain as this feature is not in 2.2.9, but in 2.2.10
Conflicts:

	setup/db/db/schema-228to229.sql

Conflicts:

	setup/db/db/schema-228to229.sql
2011-08-01 15:32:24 -07:00
Abhinandan Prateek
e5b7c89986 bug 10866: putting additional database guard so as to enforce uniqness of cidrs at db level 2011-07-28 10:58:10 +05:30
Naredula Janardhana Reddy
3d7275f077 bug 10557: updated upgrade script 2011-07-27 14:48:14 +05:30
Alex Huang
d54d7315da added more indexes 2011-07-25 10:04:17 -07:00
Alex Huang
868373c280 more index changes 2011-07-23 13:23:10 -07:00
Alex Huang
da94f29881 missing indexes 2011-07-22 18:54:05 -07:00
Alex Huang
03716ed5c6 propagate db upgrade 2011-07-22 16:31:59 -07:00
Alex Huang
91722351db propagate indexes 2011-07-22 14:49:52 -07:00
alena
66f879e400 Revert "bug 10373: added config parameter "domain.level.virtual.network" to the db upgrade scripts"
This reverts commit c18e1a020357c0c42454656c070fa4827f8c0703.

Conflicts:

	setup/db/db/schema-228to229.sql
2011-07-21 16:03:01 -07:00
alena
b1d5b5a51d 2 fixes for Agent Load Balancer:
* when management server dies and notifies other management servers about this, the running management server has to cleanup host_transfer records belonging to the died management server
* issue agent load balancing task only when agent load (number of connected agents in the system) exceeds "agent.load.threshold" - 70% by default
2011-07-21 15:43:52 -07:00
alena
c03d360968 bug 10373: added config parameter "domain.level.virtual.network" to the db upgrade scripts 2011-07-20 18:21:15 -07:00
anthony
9f2eaca6cb Support XenServer 6.0 beta 2011-07-20 16:47:48 -07:00
anthony
bef3b480cd bug 10197:
The step to upgrade xenserver,

1. put cluster in Unmanaged state through UI , then MS will not talk to hosts in the cluster
2. upgrade xenserver according to XenServer upgrade guide.
3. put cluster in Managed state through UI, then MS will reconnect hosts

TODO,

1. UI
2. vm pool sync , leveraged from kelven's work
2011-07-19 15:44:37 -07:00
Alex Huang
c4a1a89388 bug 10756: Removed constraints for the op_host_capacity table. op_host_capacity table is a table that is frequently updated and is only used in the background. There's no real reason for it to maintain data integrity with other tables. This change may introduce problems where data center, cluster, or pod is deleted and there are capacities entries left. However, this really should be in the application logic to do this deletion rather than relying on the database schema. Be sure to test these cases and make sure there are no data left over. 2011-07-19 10:15:46 -07:00
Nitin
b3957d525b bug 9596: Extract Template/ISO - make extractable = false by default. Make changes to cleanup the extract URL's for multiple sec. storage.
status 9596: resolved fixed
2011-07-18 12:10:51 +05:30
alena
9c7aade3d1 bug 10733: fixed/added incorrect/missing keys in 228 to 229 upgrade
status 10733: resolved fixed

Conflicts:

	setup/db/db/schema-228to229.sql
2011-07-15 15:10:11 -07:00
Kelven Yang
281201be8e Make cluster request timeout to be configurable 2011-07-14 18:23:23 -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
Kelven Yang
542ea6f0a6 bug 10702: add data migration for 2.2.7 to 2.2.8 migration 2011-07-13 14:13:27 -07:00
alena
62a570484c fix db upgrade from 2.2.6 to 2.2.8
Conflicts:

	setup/db/db/schema-227to228.sql
2011-07-08 09:51:50 -07:00
alena
27ef3a1d2d bug 10651: added missing keys to 227 to 228 db upgrade
status 10651: resolved fixed

Conflicts:

	setup/db/db/schema-227to228.sql
2011-07-08 09:49:19 -07:00
alena
4c075774a3 Revert "bug 10651: added unique_name to network_offerings for 227->228"
This reverts commit 5537e65129f669da7ca9a22e53cc3daa9e69ac97.

Reverting the fix because only the unique key was missing; the column was inserted as a part of 225 to 226 upgrade
2011-07-08 09:48:24 -07:00
Abhinandan Prateek
786420b439 bug 10651: added unique_name to network_offerings for 227->228 2011-07-08 20:53:00 +05:30
alena
9be9a970c9 bug 10409: added domainSuffix parameters to account/domain objects 2011-07-06 16:57:19 -07:00
alena
17f785f07a Intermidiate checkin for Projects feature; added 3 new apis - create/delete/listProject(s) - as a part of checkin 2011-07-01 13:19:12 -07:00
Alex Huang
27809e651e bug 10322: arrival of the next generation Merovingians 2011-06-29 12:02:53 -07:00
Kelven Yang
0059dd0e57 bug 10480, 10494: NPE fix in VirtualMachineManagerImpl, move keystore upgrade sql to upgrade225to226.sql 2011-06-28 14:57:02 -07:00
alena
8002834581 Fixed bug in the comment 2011-06-28 14:07:45 -07:00
alena
67be5512c8 Added upgrade path from 2.2.7 to 2.2.8 2011-06-24 11:31:08 -07:00
alena
784caafe2f bug 10407: db upgrade fixes for guest.domain.suffix
status 10407: resolved fixed
2011-06-22 18:01:02 -07:00
alena
1466d52a46 bug 10391: insert hypervisor.list config parameter during db upgrade (if not present already)
status 10391: resolved fixed
2011-06-22 17:49:39 -07:00
alena
0d1ab8f9af Db upgrade:
* remove lb to vm mappings for Removed vms (result of the bug in 2.1.x when mappings weren't removed during the vm expunge)
* encode.api.response is false by default
2011-06-22 15:19:52 -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
db29a56eaf bug 10313: marking default system offering as default so that they should not be deleted
status 10313: resolved fixed
2011-06-19 12:16:06 +05:30
Prasanna Santhanam
3ac0b568f5 typo. Should be simulator not XenServer 2011-06-15 19:18:14 +05:30