CLOUDSTACK-5655: hyper-v configuration parameters are missing in upgraded setup. Updated

the db upgrade schema script to insert the configuration parameters.
This commit is contained in:
Devdeep Singh 2013-12-27 13:15:40 +05:30
parent bb8b2805b6
commit 4fe63f7de8

View File

@ -844,6 +844,9 @@ CREATE TABLE `cloud`.`s2s_vpn_gateway_details` (
CONSTRAINT `fk_s2s_vpn_gateway_details__s2s_vpn_gateway_id` FOREIGN KEY `fk_s2s_vpn_gateway_details__s2s_vpn_gateway_id`(`s2s_vpn_gateway_id`) REFERENCES `s2s_vpn_gateway`(`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Hidden', 'DEFAULT', 'management-server', 'hyperv.guest.network.device', null, 'Specify the virtual switch on host for guest network', NULL, NULL, NULL, 0);
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Hidden', 'DEFAULT', 'management-server', 'hyperv.private.network.device', null, 'Specify the virtual switch on host for private network', NULL, NULL, NULL, 0);
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Hidden', 'DEFAULT', 'management-server', 'hyperv.public.network.device', null, 'Specify the public virtual switch on host for public network', NULL, NULL, NULL, 0);
CREATE TABLE `cloud`.`s2s_customer_gateway_details` (
`id` bigint unsigned NOT NULL auto_increment,