cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From likit...@apache.org
Subject git commit: updated refs/heads/4.2 to 815d51e
Date Thu, 08 Aug 2013 05:29:06 GMT
Updated Branches:
  refs/heads/4.2 cea7363bd -> 815d51e58


CLOUDSTACK-4153. Guest vlan dedication is not working as expected in case of multiple physical
networks.


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

Branch: refs/heads/4.2
Commit: 815d51e5816b3eae7d112b37e44c91e6d8b6a825
Parents: cea7363
Author: Likitha Shetty <likitha.shetty@citrix.com>
Authored: Thu Aug 8 10:51:23 2013 +0530
Committer: Likitha Shetty <likitha.shetty@citrix.com>
Committed: Thu Aug 8 10:53:01 2013 +0530

----------------------------------------------------------------------
 server/src/com/cloud/network/NetworkServiceImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/815d51e5/server/src/com/cloud/network/NetworkServiceImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/network/NetworkServiceImpl.java b/server/src/com/cloud/network/NetworkServiceImpl.java
index b5734a6..73c1290 100755
--- a/server/src/com/cloud/network/NetworkServiceImpl.java
+++ b/server/src/com/cloud/network/NetworkServiceImpl.java
@@ -3047,7 +3047,7 @@ public class NetworkServiceImpl extends ManagerBase implements  NetworkService
{
         // For every guest vlan set the corresponding account guest vlan map id
         List<Integer> finaVlanTokens = getVlanFromRange(accountGuestVlanMapVO.getGuestVlanRange());
         for (int i = finaVlanTokens.get(0).intValue(); i <= finaVlanTokens.get(1).intValue();
i++) {
-            List<DataCenterVnetVO> dataCenterVnet = _datacneter_vnet.findVnet(physicalNetwork.getDataCenterId(),((Integer)i).toString());
+            List<DataCenterVnetVO> dataCenterVnet = _datacneter_vnet.findVnet(physicalNetwork.getDataCenterId(),physicalNetworkId,
((Integer)i).toString());
             dataCenterVnet.get(0).setAccountGuestVlanMapId(accountGuestVlanMapVO.getId());
             _datacneter_vnet.update(dataCenterVnet.get(0).getId(), dataCenterVnet.get(0));
         }


Mime
View raw message