Skip to content

Commit

Permalink
FIX S2S VPN rVPC: Check only redundant routers in state MASTER
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Andersen committed Jan 11, 2016
1 parent df609f4 commit 1948e13
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -907,6 +907,9 @@ protected void updateSite2SiteVpnConnectionState(final List<DomainRouterVO> rout
if (conns == null || conns.isEmpty()) {
continue;
}
if (router.getIsRedundantRouter() && router.getRedundantState() != RedundantState.MASTER){
continue;
}
if (router.getState() != VirtualMachine.State.Running) {
for (final Site2SiteVpnConnectionVO conn : conns) {
if (conn.getState() != Site2SiteVpnConnection.State.Error) {
Expand Down

0 comments on commit 1948e13

Please sign in to comment.