In RHEL,ODL MIP will not be hosted in the BGP EOS owner and it will be
in HA proxy.So removing the availability and check for this IP in the
code.Check was not required as QBGP has replay mechanism whenever the IP
comes up
Change-Id: I79a6cfddb36dd9c7b2322615bf3871a9bfdc7e44
Signed-off-by: Loshmitha <loshmitha@ericsson.com>
BgpRouterException.BGP_ERR_NOT_INITED, ADD_WARN);
return;
}
- if (isIpAvailable(odlThriftIp)) {
- bgpRestarted();
- } else {
- IP_ACTIVATION_CHECK_TIMER.scheduleAtFixedRate(new TimerTask() {
- @Override
- public void run() {
- if (isIpAvailable(odlThriftIp)) {
- bgpRestarted();
- IP_ACTIVATION_CHECK_TIMER.cancel();
- } else {
- LOG.trace("waiting for odlThriftIP: {} to be present", odlThriftIp);
- }
- }
- }, 10000L, 10000L);
- }
+ bgpRestarted();
startBgpCountersTask();
startBgpAlarmsTask();