Skip to content

Commit e02c382

Browse files
author
Anthony Xu
committed
change vlan_id in vlan table to format "vlan://"
1 parent 95c7ffb commit e02c382

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

setup/db/db/schema-441to450.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -747,6 +747,8 @@ INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (uuid,hypervisor_type, hypervis
747747

748748
INSERT IGNORE INTO `cloud`.`hypervisor_capabilities`(uuid, hypervisor_type, hypervisor_version, max_guests_limit, security_group_enabled, max_data_volumes_limit, storage_motion_supported) VALUES (UUID(), 'XenServer', '6.5.0', 500, 1, 13, 1);
749749

750+
update vlan set vlan_id=concat('vlan://', vlan_id) where vlan_type = "VirtualNetwork" and vlan_id not like "vlan://%";
751+
750752
CREATE TABLE `cloud`.`baremetal_rct` (
751753
`id` bigint unsigned UNIQUE AUTO_INCREMENT,
752754
`uuid` varchar(40) UNIQUE NOT NULL,

0 commit comments

Comments
 (0)