mirror of https://github.com/apache/cloudstack.git
Use router's redundant state to check rather than using global config
This commit is contained in:
parent
38015c879c
commit
1ef78e4db2
|
|
@ -1381,7 +1381,7 @@ public class VirtualNetworkApplianceManagerImpl implements VirtualNetworkApplian
|
|||
buf.append(" template=domP type=" + type+rpFilter);
|
||||
buf.append(" name=").append(profile.getHostName());
|
||||
|
||||
boolean isRedundant = _configDao.getValue("network.redundantrouter").equals("true");
|
||||
boolean isRedundant = router.getIsRedundantRouter();
|
||||
if (isRedundant) {
|
||||
buf.append(" redundant_router=1");
|
||||
List<DomainRouterVO> routers = _routerDao.listByNetworkAndRole(network.getId(), Role.DHCP_FIREWALL_LB_PASSWD_USERDATA);
|
||||
|
|
|
|||
Loading…
Reference in New Issue