CS-9919 Support for Nexus Swiches (Cisco Vswitches)

Description:

	Modified upgrade script to include new global
	configuration parameters.
This commit is contained in:
Sateesh Chodapuneedi 2012-05-10 03:39:31 +05:30 committed by Vijayendra Bhamidipati
parent fb887ac7b7
commit 8ba1d62b50
1 changed files with 5 additions and 0 deletions

View File

@ -120,6 +120,11 @@ DELETE FROM `cloud`.`configuration` WHERE name='xen.min.xapi.version';
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 'management-server', 'enable.ec2.api', 'false', 'enable EC2 API on CloudStack');
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 'management-server', 'enable.s3.api', 'false', 'enable Amazon S3 API on CloudStack');
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Network', 'DEFAULT', 'management-server', 'vmware.use.nexus.vswitch, false', ' Enable/Disable Cisco Nexus 1000v vSwitch in VMware environment');
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 'management-server', 'vmware.guest.network.vswitch.type, standard', ' Specify type of (standard/nexus) virtual switch designated for guest traffic');
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 'management-server', 'vmware.private.network.vswitch.type, standard', ' Specify type of (standard/nexus) virtual switch designated for private traffic');
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 'management-server', 'vmware.public.network.vswitch.type, standard', ' Specify type of (standard/nexus) virtual switch designated for public traffic');
ALTER TABLE `cloud`.`account` ADD COLUMN `default_zone_id` bigint unsigned;
ALTER TABLE `cloud`.`account` ADD CONSTRAINT `fk_account__default_zone_id` FOREIGN KEY `fk_account__default_zone_id`(`default_zone_id`) REFERENCES `data_center`(`id`) ON DELETE CASCADE;