diff options
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r-- | api/gobgp.proto | 5 |
1 files changed, 5 insertions, 0 deletions
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 { |