Commit Graph

605 Commits

Author SHA1 Message Date
alena 4a4e832fdb bug 11290: insert VPN config values as a part of 229-2210 upgrade
status 11290: resolved fixed
2011-08-29 11:20:57 -07:00
Naredula Janardhana Reddy 0944ba6617 bug 11253:
Added New value "link-local" to global config network.loadbalancer.haproxy.stats.visibility . With this change it can take new parameter "link-local" value apart from the existing 3 values global,guest-network,disabled.
            global - stats visible from public network
            guest-network - stats visible only to guestnetwork.
            link-local - stats visible only to link local network.
            disabled - stats disabled.
2011-08-26 15:26:01 +05:30
Naredula Janardhana Reddy 701ddbfc1d bug 11253:
Added New value "link-local"  to  global config network.loadbalancer.haproxy.stats.visibility . With this change it can take new parameter "link-local" value apart from the existing 3 values global,guest-network,disabled.
       global -  stats visible from public network
       guest-network - stats visible only to guestnetwork.
       link-local - stats visible only to link local network
       disabled - stats disabled.
2011-08-26 15:25:45 +05:30
alena 2a0e596f15 Set firewall.rule.ui.enabled to false by default 2011-08-25 16:11:03 -07:00
Kelven Yang c74ae5d61f bug 11162: support memory overprovisioning in VMware 2011-08-25 15:37:26 -07:00
prachi 089b23f7a6 Bug 9921 - template tags
Changes:
- CreateTemplate and RegisterTemplate now support adding a template tag. It is a string value. This is root-admin only action - only admin can add template tags.
- ListTemplates will return the template tag in response.
- HostAllocator changed to use template tag along with the existing tag on service offering. If both tags are present, allocator now finds hosts satisfying both tags. If no hosts have both tags, allocation will fail.
- DB changes to add new column to vm_template table.
- DB upgrade changes for upgrade from 2.2.10 to 2.2.11

Conflicts:

	server/src/com/cloud/api/ApiResponseHelper.java
	server/src/com/cloud/template/TemplateAdapterBase.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
2011-08-25 15:18:18 -07:00
Naredula Janardhana Reddy b78f66f597 bug 11191: Added global config to disable/enable rp_filter for domR(public interfaces) 2011-08-24 13:36:16 +05:30
frank ca7fb65ca2 full opensource 2011-08-23 19:23:49 -07:00
Edison Su e8a62cc4a9 add security table 2011-08-18 11:38:26 -07:00
Edison Su bdb325609d simulate more commands 2011-08-18 11:38:18 -07:00
Edison Su df6bee4061 add template for simulator 2011-08-18 11:37:50 -07:00
kishan 1b6f583748 Added sql queries and script to update new template and restart networks 2011-08-16 19:51:11 +05:30
alena 5fcc2616a1 bug 11120: elb/load balancer config values should be the part of 229 to 2210 db upgrade, not 228 to 229
status 11120: resolved fixed
2011-08-15 10:20:35 -07:00
alena 803255b0ba bug 11029: db upgrade from 2.2.9 to 2.2.10 includes firewall_rule upgrade now
status 11029: resolved fixed

Commit also includes the following:

* map firewall rule to pf/lb/staticNat/vpn when the firewall rule is created as a part of pf/lb/staticNat/vpn rule creation
* when delete firewall rules, also delete related firewall rule
2011-08-15 10:18:09 -07:00
alena f521b6844d Revert "Network_domain is supported in nectarine 2.2.8, so adding corresponding db upgrade step to 228-229 upgrade"
This reverts commit bc43d5ba5c6b329f39b2ab89256c381e3ca677f6.

Conflicts:

	setup/db/db/schema-228to229.sql
2011-08-09 15:07:21 -07:00
Kelven Yang fe9ccf33b5 Seperate template cleanup control to enable template preloading 2011-08-09 13:38:27 -07:00
Chiradeep Vittal 924961d898 merge nectarine 2011-08-08 21:45:37 -07:00
alena 06d007337a 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
2011-08-08 20:59:40 -07:00
Kelven Yang 39a3d82f11 Add prepareTemplate command(admin only) to allow pre-loading template into primary storage 2011-08-08 18:37:26 -07:00
Chiradeep Vittal 8277584b8a merge ELB / nectarine branch 2011-08-08 15:20:56 -07:00
Chiradeep Vittal 52e8d5c4da bug 11005: upgrade must enable lb on system guest network 2011-08-05 23:21:23 -07:00
alena cb9998be53 Network_domain is supported in nectarine 2.2.8, so adding corresponding db upgrade step to 228-229 upgrade 2011-08-05 21:43:29 -07:00
Chiradeep Vittal 1e82b65983 Ensure upgrade picks up new db configs 2011-08-05 18:13:52 -07:00
anthony 355be3a417 bug 10849: storage ip is not require NOT NULL
status 10849: resolved fixed
2011-08-05 11:26:10 -07:00
Chiradeep Vittal a671a78da4 handle upgrade from 2.2.8 2011-08-04 23:13:21 -07:00
Sheng Yang 63e67c21d3 Add some default values for 2.2.9-2.2.10 scheme 2011-08-04 12:10:08 -07:00
anthony 94855b688f Bug 10197: DB upgrade 2011-08-04 10:52:28 -07:00
alena 294e30d7c2 Merged 228-229 db upgrade from 228 branch 2011-08-04 10:19:23 -07:00
alena 3d0758691f 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

Conflicts:

	setup/db/db/schema-228to229.sql
2011-08-04 10:01:06 -07:00
alena 527c3b024f 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:46:33 -07:00
Sheng Yang 13e7c5f3d4 Update scheme-229to2210.sql to reflect redundant virtual router change 2011-08-03 17:06:06 -07:00
alena a7bc955822 Added missing config value to 229 to 2210 upgrade 2011-08-03 10:35:06 -07:00
alena da4b39279d Added 229 to 2210 upgrade path
Conflicts:

	server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
	setup/db/db/schema-228to229.sql
2011-08-03 10:23:27 -07:00
Abhinandan Prateek 7e727be42c bug 10748: use external dnses if set thru global config (dhcp otpion 6) 2011-08-03 12:34:02 +05:30
Alex Huang f043f63eaa Merged changes from 2.2.8.zucchini 2011-08-02 15:33:48 -07:00
Abhinandan Prateek 9009026eba bug 10748: use external dns
status 10748: resolved fixed
2011-08-02 15:35:13 +05:30
Alex Huang f150f68128 sg improvements 2011-08-01 22:09:41 -07:00
alena f73c2695a1 bug 10927: instance_id is foreign key, not index, in port_forwarding_rules table 2011-08-01 17:25:25 -07:00
alena 5ffaed128d bug 10927: added index for Removed field in create-schema 2011-08-01 17:11:59 -07:00
alena 1d5543ec79 Removed the key from upgrade-228-229.sql as we are adding it as a part of java code
Fixed the typo in 2.2.8 to 2.2.9 upgrade
2011-08-01 17:00:06 -07:00
Alex Huang 270303e525 bug 10927: missing indexes in upgrade script 2011-08-01 16:19:22 -07:00
alena 333e435fc5 bug 10927: added missing constraint to firewall_rules_cidr table 2011-08-01 15:52:44 -07:00
alena 38db7a45dd 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
2011-08-01 15:31:16 -07:00
alena f48efae77c bug 10927: removed network_domain for account/domain as this feature is not in 2.2.9, but in 2.2.10 2011-08-01 15:14:12 -07:00
frank 03fbe13f58 Add upgrade path to 2.2.9
Add files
2011-07-29 20:05:50 -07:00
frank 44f3ac98f6 A couple of things:
add 229 upgrade path

Bug 10860 - PremiumUpgrade is not run when upgrading to 2.2.8 (edit)

run checker before any components loaded
2011-07-29 20:05:50 -07:00
Chiradeep Vittal fae6fa790c ELB VM: implement delete LB by deleting ELB vm
in the future we will manage a pool of vms more intelligently
2011-07-28 00:15:16 -07:00
Abhinandan Prateek 8a8cfe1388 bug 10866: Putting additional unique indexs on firewall_rules_cidrs to prevent duplicate rules.
Although the code has been tested for duplicate cidrs, the additional table constraint will add a further safegaurd for this condition.
2011-07-28 10:45:24 +05:30
Alex Huang 70e0b54a83 Upgrade scripts for missing indexes 2011-07-27 17:56:16 -07:00
Alex Huang 6fea146903 more index. moved op_lock to memory table to try it 2011-07-27 14:06:40 -07:00