diff options
author | Marcus Wichelmann <mail@marcusw.de> | 2021-02-20 17:48:11 +0100 |
---|---|---|
committer | Marcus Wichelmann <mail@marcusw.de> | 2021-03-29 20:53:45 +0200 |
commit | 76f40ede0d466dfc7b1151d4e36b619a0daae51e (patch) | |
tree | b1480b30d563c827eb08e5c0051e983bcf9ea140 /api | |
parent | c1e7463e361632de60337cfd52dc44eb453d9746 (diff) |
Added DeleteDynamicNeighbor message to API
Diffstat (limited to 'api')
-rw-r--r-- | api/attribute.pb.go | 1 | ||||
-rw-r--r-- | api/gobgp.proto | 9 |
2 files changed, 8 insertions, 2 deletions
diff --git a/api/attribute.pb.go b/api/attribute.pb.go index 8cbf6096..efa63584 100644 --- a/api/attribute.pb.go +++ b/api/attribute.pb.go @@ -160,6 +160,7 @@ It has these top-level messages: ListPeerGroupRequest ListPeerGroupResponse AddDynamicNeighborRequest + DeleteDynamicNeighborRequest AddPathRequest AddPathResponse DeletePathRequest 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; |