summaryrefslogtreecommitdiffhomepage
path: root/api/gobgp.proto
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2016-04-15 09:14:04 +0000
committerISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2016-04-19 06:23:42 +0000
commit642270bb32db2a0a55badf6a53076aeac2dfb215 (patch)
tree3d92957e525c31935f8844ac8aa5f02d0e052283 /api/gobgp.proto
parent00039df8275b0af2f4be9be3844ec6d130fe0add (diff)
cli: show prefix-limit configuration by `gobgp neighbor <neighbor-addr>`
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r--api/gobgp.proto7
1 files changed, 7 insertions, 0 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto
index 950cf94a..fd0b6dc5 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -243,6 +243,12 @@ message ApplyPolicy {
PolicyAssignment import_policy = 3;
}
+message PrefixLimit {
+ uint32 family = 1;
+ uint32 max_prefixes = 2;
+ uint32 shutdown_threshold_pct = 3;
+}
+
message PeerConf {
string auth_password = 1;
string description = 2;
@@ -257,6 +263,7 @@ message PeerConf {
repeated bytes remote_cap = 11;
repeated bytes local_cap = 12;
string id = 13;
+ repeated PrefixLimit prefix_limits = 14;
}
message EbgpMultihop {