summaryrefslogtreecommitdiffhomepage
path: root/api/gobgp.proto
diff options
context:
space:
mode:
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r--api/gobgp.proto5
1 files changed, 5 insertions, 0 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto
index 99dc6b4d..7757bcc6 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -50,6 +50,7 @@ service GobgpApi {
rpc UpdatePeerGroup(UpdatePeerGroupRequest) returns(UpdatePeerGroupResponse);
rpc AddDynamicNeighbor(AddDynamicNeighborRequest) returns(google.protobuf.Empty);
+ rpc ListDynamicNeighbor(ListDynamicNeighborRequest) returns(stream ListDynamicNeighborResponse);
rpc DeleteDynamicNeighbor(DeleteDynamicNeighborRequest) returns(google.protobuf.Empty);
rpc AddPath(AddPathRequest) returns(AddPathResponse);
@@ -191,6 +192,10 @@ message DeleteDynamicNeighborRequest {
string peer_group = 2;
}
+message ListDynamicNeighborRequest { string peer_group = 1; }
+
+message ListDynamicNeighborResponse { DynamicNeighbor dynamic_neighbor = 1; }
+
message AddPathRequest {
TableType table_type = 1;
string vrf_id = 2;