Jonathan Hart
Committed by Ali "The Bomb" Al-Shabibi

WIP: Turn off group deletes for now as they're not needed for deployment

Change-Id: I62c9d414222cfb77ecce45291ee52d480a0c1290
......@@ -331,7 +331,8 @@ public class BgpRouter {
Group group = groupService.getGroup(deviceId, nextHop.group());
if (nextHopsCount.remove(nextHopIp, 1) <= 1) {
// FIXME disabling group deletes for now until we verify the logic is OK
/*if (nextHopsCount.remove(nextHopIp, 1) <= 1) {
// There was one or less next hops, so there are now none
log.debug("removing group for next hop {}", nextHop);
......@@ -339,7 +340,7 @@ public class BgpRouter {
nextHops.remove(nextHopIp);
groupService.removeGroup(deviceId, nextHop.group(), appId);
}
}*/
return group;
}
......