summaryrefslogtreecommitdiffhomepage
path: root/api
diff options
context:
space:
mode:
authorMarcus Wichelmann <mail@marcusw.de>2021-02-20 21:25:39 +0100
committerMarcus Wichelmann <mail@marcusw.de>2021-03-29 20:53:53 +0200
commit3c437e5aecab18454c5d70fd35272060bc3c95cf (patch)
tree489423ce9d54a5502fe58c6db1072c003c3efb05 /api
parent76f40ede0d466dfc7b1151d4e36b619a0daae51e (diff)
Added ListDynamicNeighbor message to API
Diffstat (limited to 'api')
-rw-r--r--api/attribute.pb.go2
-rw-r--r--api/gobgp.proto5
2 files changed, 7 insertions, 0 deletions
diff --git a/api/attribute.pb.go b/api/attribute.pb.go
index efa63584..3113bce6 100644
--- a/api/attribute.pb.go
+++ b/api/attribute.pb.go
@@ -161,6 +161,8 @@ It has these top-level messages:
ListPeerGroupResponse
AddDynamicNeighborRequest
DeleteDynamicNeighborRequest
+ ListDynamicNeighborRequest
+ ListDynamicNeighborResponse
AddPathRequest
AddPathResponse
DeletePathRequest
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;