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, 7 insertions, 2 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto
index 3263adf8..99dc6b4d 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -49,8 +49,8 @@ service GobgpApi {
rpc ListPeerGroup(ListPeerGroupRequest) returns(stream ListPeerGroupResponse);
rpc UpdatePeerGroup(UpdatePeerGroupRequest) returns(UpdatePeerGroupResponse);
- rpc AddDynamicNeighbor(AddDynamicNeighborRequest)
- returns(google.protobuf.Empty);
+ rpc AddDynamicNeighbor(AddDynamicNeighborRequest) returns(google.protobuf.Empty);
+ rpc DeleteDynamicNeighbor(DeleteDynamicNeighborRequest) returns(google.protobuf.Empty);
rpc AddPath(AddPathRequest) returns(AddPathResponse);
rpc DeletePath(DeletePathRequest) returns(google.protobuf.Empty);
@@ -186,6 +186,11 @@ message ListPeerGroupResponse { PeerGroup peer_group = 1; }
message AddDynamicNeighborRequest { DynamicNeighbor dynamic_neighbor = 1; }
+message DeleteDynamicNeighborRequest {
+ string prefix = 1;
+ string peer_group = 2;
+}
+
message AddPathRequest {
TableType table_type = 1;
string vrf_id = 2;