CLOUDSTACK-1841: Missing `cloud`.`configuration` stmts in upgrade

Following global configurations introduced b/w 3.0.2 and 4.1 were
missed.

concurrent.snapshots.threshold.perhost | NULL
network.ipv6.search.retry.max | 10000
traffic.sentinel.exclude.zones |
traffic.sentinel.include.zones | EXTERNAL

Signed-off-by: Prasanna Santhanam <t...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/d13c1851
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/d13c1851
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/d13c1851

Branch: refs/heads/bvt
Commit: d13c18516a30d035e2251d187979e805670aab81
Parents: 94de31e
Author: Prasanna Santhanam <t...@apache.org>
Authored: Fri Mar 29 13:25:20 2013 +0530
Committer: Prasanna Santhanam <t...@apache.org>
Committed: Fri Mar 29 13:25:20 2013 +0530

----------------------------------------------------------------------
 setup/db/db/schema-40to410.sql |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d13c1851/setup/db/db/schema-40to410.sql
----------------------------------------------------------------------
diff --git a/setup/db/db/schema-40to410.sql b/setup/db/db/schema-40to410.sql
index 3dae1cc..e333810 100644
--- a/setup/db/db/schema-40to410.sql
+++ b/setup/db/db/schema-40to410.sql
@@ -1652,3 +1652,10 @@ CREATE TABLE `cloud`.`ucs_manager` (
 
 
 SET foreign_key_checks = 1;
+
+UPDATE `cloud`.`configuration` SET value='KVM,XenServer,VMware,Ovm' WHERE 
name='hypervisor.list';
+
+INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 
'management-server', 'concurrent.snapshots.threshold.perhost' , NULL, 'Limit 
number of snapshots that can be handled concurrently; default is NULL - 
unlimited.');
+INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Network', 'DEFAULT', 
'management-server', 'network.ipv6.search.retry.max' , 10000, 'The maximum 
number of retrying times to search for an available IPv6 address in the table');
+INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Usage', 'DEFAULT', 
'management-server', 'traffic.sentinel.exclude.zones' , '', 'Traffic going into 
specified list of zones is not metered');
+INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Usage', 'DEFAULT', 
'management-server', 'traffic.sentinel.include.zones' , 'EXTERNAL', 'Traffic 
going into specified list of zones is metered. For metering all traffic leave 
this parameter empty');

Reply via email to