cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chipchild...@apache.org
Subject [1/2] git commit: updated refs/heads/master to af5bf94
Date Mon, 06 May 2013 19:58:47 GMT
Updated Branches:
  refs/heads/master b29449b4b -> af5bf94b4


CLOUDSTACK-2322: update network.gateway to fix deployVm error on
SharedNetwork after ipv6 support

Signed-off-by: Chip Childers <chip.childers@gmail.com>


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

Branch: refs/heads/master
Commit: 599023b61b7c89a24d5d851499db05b9338ab922
Parents: b29449b
Author: Wei Zhou <w.zhou@leaseweb.com>
Authored: Mon May 6 20:56:06 2013 +0100
Committer: Chip Childers <chip.childers@gmail.com>
Committed: Mon May 6 20:58:23 2013 +0100

----------------------------------------------------------------------
 setup/db/db/schema-40to410.sql |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/599023b6/setup/db/db/schema-40to410.sql
----------------------------------------------------------------------
diff --git a/setup/db/db/schema-40to410.sql b/setup/db/db/schema-40to410.sql
index ff1d908..a3426e2 100644
--- a/setup/db/db/schema-40to410.sql
+++ b/setup/db/db/schema-40to410.sql
@@ -443,6 +443,10 @@ ALTER TABLE `cloud`.`vlan` ADD COLUMN `ip6_range` varchar(255);
 ALTER TABLE `cloud`.`data_center` ADD COLUMN `ip6_dns1` varchar(255);
 ALTER TABLE `cloud`.`data_center` ADD COLUMN `ip6_dns2` varchar(255);
 
+UPDATE `cloud`.`networks` INNER JOIN `cloud`.`vlan` ON networks.id = vlan.network_id 
+SET networks.gateway = vlan.vlan_gateway, networks.ip6_gateway = vlan.ip6_gateway, networks.ip6_cidr
= vlan.ip6_cidr 
+WHERE networks.data_center_id = vlan.data_center_id AND networks.physical_network_id = vlan.physical_network_id;
+
 -- DB views for list api
 
 DROP VIEW IF EXISTS `cloud`.`user_vm_view`;


Mime
View raw message