diff --git a/server/src/org/cloud/network/router/deployment/RouterDeploymentDefinition.java b/server/src/org/cloud/network/router/deployment/RouterDeploymentDefinition.java index f8d3011ada7..be1246eaff5 100644 --- a/server/src/org/cloud/network/router/deployment/RouterDeploymentDefinition.java +++ b/server/src/org/cloud/network/router/deployment/RouterDeploymentDefinition.java @@ -202,7 +202,6 @@ public class RouterDeploymentDefinition { for (final DeployDestination destination : destinations) { dest = destination; - planDeploymentRouters(); generateDeploymentPlan(); executeDeployment(); } @@ -334,8 +333,8 @@ public class RouterDeploymentDefinition { */ protected void executeDeployment() throws ConcurrentOperationException, InsufficientCapacityException, ResourceUnavailableException { - //Check current redundant routers, if possible(all routers are stopped), reset the priority + planDeploymentRouters(); setupPriorityOfRedundantRouter(); if (getNumberOfRoutersToDeploy() > 0 && prepareDeployment()) {