From 2d169039fffcfe01b3679be12b967683f91bf4e7 Mon Sep 17 00:00:00 2001 From: Alena Prokharchyk Date: Wed, 14 Dec 2011 16:42:50 -0800 Subject: [PATCH] firewall.rule.ui.enabled is Enabled by default --- server/src/com/cloud/configuration/Config.java | 2 +- setup/db/db/schema-2214to30.sql | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/server/src/com/cloud/configuration/Config.java b/server/src/com/cloud/configuration/Config.java index af5dc697f38..6d7fb2abf75 100755 --- a/server/src/com/cloud/configuration/Config.java +++ b/server/src/com/cloud/configuration/Config.java @@ -105,7 +105,7 @@ public enum Config { SecurityGroupDefaultAdding("Network", ManagementServer.class, Boolean.class, "network.securitygroups.defaultadding", "true", "If true, the user VM would be added to the default security group by default", null), - FirewallRuleUiEnabled("Network", ManagementServer.class, Boolean.class, "firewall.rule.ui.enabled", "false", "enable/disable UI that separates firewall rules from NAT/LB rules", null), + FirewallRuleUiEnabled("Network", ManagementServer.class, Boolean.class, "firewall.rule.ui.enabled", "true", "enable/disable UI that separates firewall rules from NAT/LB rules", null), //VPN RemoteAccessVpnPskLength("Network", AgentManager.class, Integer.class, "remote.access.vpn.psk.length", "24", "The length of the ipsec preshared key (minimum 8, maximum 256)", null), diff --git a/setup/db/db/schema-2214to30.sql b/setup/db/db/schema-2214to30.sql index 5ff9ce6570e..e38b0382965 100755 --- a/setup/db/db/schema-2214to30.sql +++ b/setup/db/db/schema-2214to30.sql @@ -482,3 +482,5 @@ ALTER TABLE `cloud`.`user_ip_address` ADD CONSTRAINT `fk_user_ip_address__physic ALTER TABLE `cloud`.`networks` ADD COLUMN `restart_required` int(1) unsigned NOT NULL DEFAULT 0 COMMENT '1 if restart is required for the network'; DELETE FROM `cloud`.`configuration` where name='cmd.wait'; + +UPDATE `cloud`.`configuration` set value='true' where name='firewall.rule.ui.enabled';