summaryrefslogtreecommitdiffhomepage
path: root/api/gobgp.proto
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-11-18 13:44:14 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-11-18 14:00:51 +0900
commite11b09d7eae851d777a06ee18fde7865a361f5bb (patch)
treef33fd973aadabd3cb6ead949f0c8e3fadb481c20 /api/gobgp.proto
parent93d1dca70aa0ae3b34050d24ad7462b8757213bf (diff)
server: disable advertised number calculation with multiple neighbors
AdjRibOut isn't in memory so needs to be calculated on the fly. Doing such for multiple neighbors consumes too much CPU (especially there are lots of routes). Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r--api/gobgp.proto1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto
index c212df92..5ee871b6 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -74,6 +74,7 @@ service GobgpApi {
}
message GetNeighborRequest {
+ bool enableAdvertised = 1;
}
message GetNeighborResponse {