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/64eed6c6 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/64eed6c6 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/64eed6c6 Branch: refs/heads/master Commit: 64eed6c6abab4bddf2a59a22206bc1279d6d8b17 Parents: ee9068b Author: Antonio Fornie <afor...@schubergphilis.com> Authored: Wed Aug 27 19:39:53 2014 -0500 Committer: wilderrodrigues <wrodrig...@schubergphilis.com> Committed: Tue Oct 14 15:08:10 2014 +0200 ---------------------------------------------------------------------- .../router/deployment/VpcRouterDeploymentDefinition.java | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/64eed6c6/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) {