mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Call planDeploymentRouters in the same place as we do in master
This commit is contained in:
parent
87855d6bb7
commit
b07ff145b3
@ -202,7 +202,6 @@ public class RouterDeploymentDefinition {
|
|||||||
|
|
||||||
for (final DeployDestination destination : destinations) {
|
for (final DeployDestination destination : destinations) {
|
||||||
dest = destination;
|
dest = destination;
|
||||||
planDeploymentRouters();
|
|
||||||
generateDeploymentPlan();
|
generateDeploymentPlan();
|
||||||
executeDeployment();
|
executeDeployment();
|
||||||
}
|
}
|
||||||
@ -334,8 +333,8 @@ public class RouterDeploymentDefinition {
|
|||||||
*/
|
*/
|
||||||
protected void executeDeployment()
|
protected void executeDeployment()
|
||||||
throws ConcurrentOperationException, InsufficientCapacityException, ResourceUnavailableException {
|
throws ConcurrentOperationException, InsufficientCapacityException, ResourceUnavailableException {
|
||||||
|
|
||||||
//Check current redundant routers, if possible(all routers are stopped), reset the priority
|
//Check current redundant routers, if possible(all routers are stopped), reset the priority
|
||||||
|
planDeploymentRouters();
|
||||||
setupPriorityOfRedundantRouter();
|
setupPriorityOfRedundantRouter();
|
||||||
|
|
||||||
if (getNumberOfRoutersToDeploy() > 0 && prepareDeployment()) {
|
if (getNumberOfRoutersToDeploy() > 0 && prepareDeployment()) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user