Cleanups and filtering.
Some checks failed
Rust / build (push) Has been cancelled

This commit is contained in:
Rayhaan Jaufeerally
2024-07-25 09:57:05 +00:00
parent 8546c37dac
commit 0cd3a120d0
13 changed files with 262 additions and 194 deletions

View File

@ -32,7 +32,7 @@ message Prefix {
// prefix.
message Path {
bytes nexthop = 1;
string peer_name = 2;
bytes peer_id = 2;
uint32 local_pref = 3;
uint32 med = 4;
repeated uint32 as_path = 5;
@ -67,11 +67,12 @@ message PeerStatusRequest {}
message PeerStatus {
string peer_name = 1;
string state = 2;
optional uint64 session_established_time = 3;
optional uint64 last_messaage_time = 4;
optional uint64 route_updates_in = 5;
optional uint64 route_updates_out = 6;
bytes peer_id = 2;
string state = 3;
optional uint64 session_established_time = 4;
optional uint64 last_messaage_time = 5;
optional uint64 route_updates_in = 6;
optional uint64 route_updates_out = 7;
}
message PeerStatusResponse { repeated PeerStatus peer_status = 1; }