Fix redundant router switch back to single router

The existed redundant router network didn't change.
This commit is contained in:
Sheng Yang 2011-08-11 12:41:17 -07:00
parent 4da9b6bfb4
commit 333510db0e
1 changed files with 2 additions and 1 deletions

View File

@ -874,7 +874,8 @@ public class VirtualNetworkApplianceManagerImpl implements VirtualNetworkApplian
}
}
if (routers.size() == routerCount) {
/* If old network is redundant but new is single router, then routers.size() = 2 but routerCount = 1 */
if (routers.size() >= routerCount) {
return routers;
}