cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject [37/50] [abbrv] git commit: updated refs/heads/vpc-refactor to a8cb7c1
Date Fri, 03 Oct 2014 11:12:15 GMT
Fix: VpcRouter has always PublicIp setup as it did before refactoring


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

Branch: refs/heads/vpc-refactor
Commit: 961e71562bc7621ff7ae9c6d6ba9dd32a58e093a
Parents: a18e01c
Author: Antonio Fornie <afornie@schubergphilis.com>
Authored: Wed Aug 27 19:39:53 2014 -0500
Committer: Wilder Rodrigues <wrodrigues@schubergphilis.com>
Committed: Fri Oct 3 06:21:28 2014 +0200

----------------------------------------------------------------------
 .../router/deployment/VpcRouterDeploymentDefinition.java        | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/961e7156/server/src/org/cloud/network/router/deployment/VpcRouterDeploymentDefinition.java
----------------------------------------------------------------------
diff --git a/server/src/org/cloud/network/router/deployment/VpcRouterDeploymentDefinition.java
b/server/src/org/cloud/network/router/deployment/VpcRouterDeploymentDefinition.java
index 8e8a6ea..acd764b 100644
--- a/server/src/org/cloud/network/router/deployment/VpcRouterDeploymentDefinition.java
+++ b/server/src/org/cloud/network/router/deployment/VpcRouterDeploymentDefinition.java
@@ -71,6 +71,11 @@ public class VpcRouterDeploymentDefinition extends RouterDeploymentDefinition
{
     }
 
     @Override
+    public boolean isPublicNetwork() {
+        return true;
+    }
+
+    @Override
     protected void lock() {
         Vpc vpcLock = vpcDao.acquireInLockTable(vpc.getId());
         if (vpcLock == null) {


Mime
View raw message