summaryrefslogtreecommitdiffhomepage
path: root/api/gobgp.proto
diff options
context:
space:
mode:
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r--api/gobgp.proto9
1 files changed, 8 insertions, 1 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto
index 2857cf45..ab9e0d2d 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -25,7 +25,7 @@ service GobgpApi {
rpc GetNeighbors(Arguments) returns (stream Peer) {}
rpc GetNeighbor(Arguments) returns (Peer) {}
rpc ModNeighbor(ModNeighborArguments) returns(Error) {}
- rpc GetRib(Arguments) returns (stream Destination) {}
+ rpc GetRib(Table) returns (Table) {}
rpc Reset(Arguments) returns (Error) {}
rpc SoftReset(Arguments) returns (Error) {}
rpc SoftResetIn(Arguments) returns (Error) {}
@@ -172,6 +172,13 @@ message Destination {
repeated Path paths = 2;
}
+message Table {
+ Resource type = 1;
+ string name = 2;
+ uint32 family = 3;
+ repeated Destination destinations = 4;
+}
+
message Peer {
AddPaths addpaths = 1;
AfiSafis afisafis = 2;