Repository: cloudstack
Updated Branches:
  refs/heads/master 95c7ffbd4 -> e02c38246


change vlan_id in vlan table to format "vlan://"


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/e02c3824
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/e02c3824
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/e02c3824

Branch: refs/heads/master
Commit: e02c38246f57f5a22016f05afc7c5b97bab09024
Parents: 95c7ffb
Author: Anthony Xu <anthony...@citrix.com>
Authored: Mon Oct 13 11:48:46 2014 -0700
Committer: Anthony Xu <anthony...@citrix.com>
Committed: Mon Oct 13 11:48:46 2014 -0700

----------------------------------------------------------------------
 setup/db/db/schema-441to450.sql | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e02c3824/setup/db/db/schema-441to450.sql
----------------------------------------------------------------------
diff --git a/setup/db/db/schema-441to450.sql b/setup/db/db/schema-441to450.sql
index bdfb5b9..3c00948 100644
--- a/setup/db/db/schema-441to450.sql
+++ b/setup/db/db/schema-441to450.sql
@@ -747,6 +747,8 @@ INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
(uuid,hypervisor_type, hypervis
 
 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);
 
+update vlan set vlan_id=concat('vlan://', vlan_id) where vlan_type = 
"VirtualNetwork" and vlan_id not like "vlan://%";
+
 CREATE TABLE `cloud`.`baremetal_rct` (
   `id` bigint unsigned UNIQUE AUTO_INCREMENT,
   `uuid` varchar(40) UNIQUE NOT NULL,

Reply via email to