summaryrefslogtreecommitdiffhomepage
path: root/api/gobgp.proto
diff options
context:
space:
mode:
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r--api/gobgp.proto7
1 files changed, 6 insertions, 1 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto
index e257c6d6..c212df92 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -598,7 +598,12 @@ message PeerState {
uint32 session_state = 13;
repeated string supported_capabilities = 14;
string bgp_state = 15;
- string admin_state = 16;
+ enum AdminState {
+ UP = 0;
+ DOWN = 1;
+ PFX_CT = 2; // prefix counter over limit
+ }
+ AdminState admin_state = 16;
uint32 received = 17;
uint32 accepted = 18;
uint32 advertised = 19;