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 { ...@@ -331,7 +331,8 @@ public class BgpRouter {
331 331
332 Group group = groupService.getGroup(deviceId, nextHop.group()); 332 Group group = groupService.getGroup(deviceId, nextHop.group());
333 333
334 - if (nextHopsCount.remove(nextHopIp, 1) <= 1) { 334 + // FIXME disabling group deletes for now until we verify the logic is OK
335 + /*if (nextHopsCount.remove(nextHopIp, 1) <= 1) {
335 // There was one or less next hops, so there are now none 336 // There was one or less next hops, so there are now none
336 337
337 log.debug("removing group for next hop {}", nextHop); 338 log.debug("removing group for next hop {}", nextHop);
...@@ -339,7 +340,7 @@ public class BgpRouter { ...@@ -339,7 +340,7 @@ public class BgpRouter {
339 nextHops.remove(nextHopIp); 340 nextHops.remove(nextHopIp);
340 341
341 groupService.removeGroup(deviceId, nextHop.group(), appId); 342 groupService.removeGroup(deviceId, nextHop.group(), appId);
342 - } 343 + }*/
343 344
344 return group; 345 return group;
345 } 346 }
......