Skip to content

Commit b07ff14

Browse files
spark404wilderrodrigues
authored andcommitted
Call planDeploymentRouters in the same place as we do in master
1 parent 87855d6 commit b07ff14

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

server/src/org/cloud/network/router/deployment/RouterDeploymentDefinition.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@ protected void findOrDeployVirtualRouter() throws ConcurrentOperationException,
202202

203203
for (final DeployDestination destination : destinations) {
204204
dest = destination;
205-
planDeploymentRouters();
206205
generateDeploymentPlan();
207206
executeDeployment();
208207
}
@@ -334,8 +333,8 @@ protected boolean prepareDeployment() {
334333
*/
335334
protected void executeDeployment()
336335
throws ConcurrentOperationException, InsufficientCapacityException, ResourceUnavailableException {
337-
338336
//Check current redundant routers, if possible(all routers are stopped), reset the priority
337+
planDeploymentRouters();
339338
setupPriorityOfRedundantRouter();
340339

341340
if (getNumberOfRoutersToDeploy() > 0 && prepareDeployment()) {

0 commit comments

Comments
 (0)