summaryrefslogtreecommitdiffhomepage
path: root/api
diff options
context:
space:
mode:
authorMarcus Wichelmann <mail@marcusw.de>2021-02-14 22:23:54 +0100
committerMarcus Wichelmann <mail@marcusw.de>2021-03-29 20:53:25 +0200
commitc1e7463e361632de60337cfd52dc44eb453d9746 (patch)
treed3df6e8ed8e99a9e75aca6093f0816c40a57e051 /api
parent7ff15bfa54ac1b0ff7b03ee73e2bee4e7a3d3d73 (diff)
Added ListPeerGroup 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 5500251c..8cbf6096 100644
--- a/api/attribute.pb.go
+++ b/api/attribute.pb.go
@@ -157,6 +157,8 @@ It has these top-level messages:
DeletePeerGroupRequest
UpdatePeerGroupRequest
UpdatePeerGroupResponse
+ ListPeerGroupRequest
+ ListPeerGroupResponse
AddDynamicNeighborRequest
AddPathRequest
AddPathResponse
diff --git a/api/gobgp.proto b/api/gobgp.proto
index d90b19f8..3263adf8 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -46,6 +46,7 @@ service GobgpApi {
rpc AddPeerGroup(AddPeerGroupRequest) returns(google.protobuf.Empty);
rpc DeletePeerGroup(DeletePeerGroupRequest) returns(google.protobuf.Empty);
+ rpc ListPeerGroup(ListPeerGroupRequest) returns(stream ListPeerGroupResponse);
rpc UpdatePeerGroup(UpdatePeerGroupRequest) returns(UpdatePeerGroupResponse);
rpc AddDynamicNeighbor(AddDynamicNeighborRequest)
@@ -179,6 +180,10 @@ message UpdatePeerGroupRequest {
message UpdatePeerGroupResponse { bool needs_soft_reset_in = 1; }
+message ListPeerGroupRequest { string peer_group_name = 1; }
+
+message ListPeerGroupResponse { PeerGroup peer_group = 1; }
+
message AddDynamicNeighborRequest { DynamicNeighbor dynamic_neighbor = 1; }
message AddPathRequest {