From 07264204f55ccf5ccf724c539ec1f477dc88a190 Mon Sep 17 00:00:00 2001 From: nvazquez Date: Wed, 9 Dec 2015 10:57:12 -0800 Subject: [PATCH] CLOUDSTACK-9074: Drop nicira_nvp_router_map unique index on logicalrouter_uuid --- setup/db/db/schema-461to470.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup/db/db/schema-461to470.sql b/setup/db/db/schema-461to470.sql index 238acb5ca41..7cc249c4b7e 100644 --- a/setup/db/db/schema-461to470.sql +++ b/setup/db/db/schema-461to470.sql @@ -250,3 +250,5 @@ CREATE VIEW `cloud`.`domain_router_view` AS INSERT IGNORE INTO `cloud`.`hypervisor_capabilities` values (25,UUID(),'VMware','6.0',128,0,13,32,1,1); INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, created, is_user_defined) VALUES (UUID(),'VMware', '5.5', 'rhel7_64Guest', 245, utc_timestamp(), 0); INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, created, is_user_defined) SELECT UUID(),'VMware', '6.0', guest_os_name, guest_os_id, utc_timestamp(), 0 FROM `cloud`.`guest_os_hypervisor` WHERE hypervisor_type='VMware' AND hypervisor_version='5.5' AND (guest_os_id NOT IN (1,2,3,4,62,63,64,65,156,157,221,222) AND guest_os_id NOT BETWEEN 121 AND 130); + +ALTER TABLE `cloud`.`nicira_nvp_router_map` DROP INDEX `logicalrouter_uuid` ;