mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
2214to30 DB upgrade:
directly put simulator_network_label, ovm_network_label when creating physical_network_traffic_types table
This commit is contained in:
parent
5c1f1a505f
commit
4ff6fdf05f
@ -395,6 +395,8 @@ CREATE TABLE `cloud`.`physical_network_traffic_types` (
|
|||||||
`xen_network_label` varchar(255) COMMENT 'The network name label of the physical device dedicated to this traffic on a XenServer host',
|
`xen_network_label` varchar(255) COMMENT 'The network name label of the physical device dedicated to this traffic on a XenServer host',
|
||||||
`kvm_network_label` varchar(255) DEFAULT 'cloudbr0' COMMENT 'The network name label of the physical device dedicated to this traffic on a KVM host',
|
`kvm_network_label` varchar(255) DEFAULT 'cloudbr0' COMMENT 'The network name label of the physical device dedicated to this traffic on a KVM host',
|
||||||
`vmware_network_label` varchar(255) DEFAULT 'vSwitch0' COMMENT 'The network name label of the physical device dedicated to this traffic on a VMware host',
|
`vmware_network_label` varchar(255) DEFAULT 'vSwitch0' COMMENT 'The network name label of the physical device dedicated to this traffic on a VMware host',
|
||||||
|
`simulator_network_label` varchar(255) COMMENT 'The name labels needed for identifying the simulator',
|
||||||
|
`ovm_network_label` varchar(255) COMMENT 'The network name label of the physical device dedicated to this traffic on a Ovm host',
|
||||||
`vlan` varchar(255) COMMENT 'The vlan tag to be sent down to a VMware host',
|
`vlan` varchar(255) COMMENT 'The vlan tag to be sent down to a VMware host',
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
CONSTRAINT `fk_physical_network_traffic_types__physical_network_id` FOREIGN KEY (`physical_network_id`) REFERENCES `physical_network`(`id`) ON DELETE CASCADE,
|
CONSTRAINT `fk_physical_network_traffic_types__physical_network_id` FOREIGN KEY (`physical_network_id`) REFERENCES `physical_network`(`id`) ON DELETE CASCADE,
|
||||||
@ -523,7 +525,6 @@ CREATE TABLE `cloud`.`op_user_stats_log` (
|
|||||||
UNIQUE KEY (`user_stats_id`, `updated`)
|
UNIQUE KEY (`user_stats_id`, `updated`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
ALTER TABLE `cloud`.`physical_network_traffic_types` ADD COLUMN `simulator_network_label` varchar(255) COMMENT 'The name labels needed for identifying the simulator';
|
|
||||||
|
|
||||||
--;
|
--;
|
||||||
-- Network offerings
|
-- Network offerings
|
||||||
@ -648,7 +649,6 @@ UPDATE `cloud`.`configuration` SET category = 'Hidden' WHERE name = 'kvm.public.
|
|||||||
UPDATE `cloud`.`configuration` SET category = 'Hidden' WHERE name = 'kvm.private.network.device';
|
UPDATE `cloud`.`configuration` SET category = 'Hidden' WHERE name = 'kvm.private.network.device';
|
||||||
UPDATE `cloud`.`configuration` SET category = 'Hidden' WHERE name = 'kvm.guest.network.device';
|
UPDATE `cloud`.`configuration` SET category = 'Hidden' WHERE name = 'kvm.guest.network.device';
|
||||||
|
|
||||||
ALTER TABLE `cloud`.`physical_network_traffic_types` ADD COLUMN `ovm_network_label` varchar(255) COMMENT 'The network name label of the physical device dedicated to this traffic on a Ovm host';
|
|
||||||
ALTER TABLE `cloud`.`dc_storage_network_ip_range` ADD COLUMN `gateway` varchar(15) NOT NULL COMMENT 'gateway ip address';
|
ALTER TABLE `cloud`.`dc_storage_network_ip_range` ADD COLUMN `gateway` varchar(15) NOT NULL COMMENT 'gateway ip address';
|
||||||
|
|
||||||
ALTER TABLE `cloud`.`volumes` ADD COLUMN `last_pool_id` bigint unsigned;
|
ALTER TABLE `cloud`.`volumes` ADD COLUMN `last_pool_id` bigint unsigned;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user