Comment 2 for bug 1697345

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/33173
Committed: http://github.com/Juniper/contrail-controller/commit/f80f0a393b2cc3743fb22fd9ae96e1a79ceea37c
Submitter: Zuul (<email address hidden>)
Branch: master

commit f80f0a393b2cc3743fb22fd9ae96e1a79ceea37c
Author: Nischal Sheth <email address hidden>
Date: Sat Jun 10 23:32:09 2017 -0700

Implement per family prefix-limit for bgp peers

Following changes are implemented:

- Keep track of primary path count per family for each bgp peer
- Trigger a prefix limit check for the peer when limit is exceeded
- Actual check happens in the context of bgp::StateMachine Task
- Clear the peer and send notification with cease subcode MaxPrefixes
- Check prefix limit when peer configuration is changed

Pending - add an idle timeout after clearing the peer

Change-Id: Iefce9a2a692088af2cc69deeaf12e19ca24373d6
Partial-Bug: 1697345