summaryrefslogtreecommitdiffhomepage
path: root/api/gobgp.proto
diff options
context:
space:
mode:
authorSatoshi Fujimoto <satoshi.fujimoto7@gmail.com>2018-06-05 15:24:27 +0900
committerSatoshi Fujimoto <satoshi.fujimoto7@gmail.com>2018-06-13 13:57:14 +0900
commit57f103ef345deb493f085525ed1674fe18c1dc0e (patch)
treec36ca0a23940c06e682a188b46ca28593793e84d /api/gobgp.proto
parent000589f3cfa62d1cc62a84e3ce3723fc5b306144 (diff)
api: Implement AddCollector()
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com>
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r--api/gobgp.proto10
1 files changed, 10 insertions, 0 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto
index 895ad723..a2c5bbb1 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -86,6 +86,7 @@ service GobgpApi {
rpc DeletePeerGroup(DeletePeerGroupRequest) returns (DeletePeerGroupResponse) {}
rpc UpdatePeerGroup(UpdatePeerGroupRequest) returns (UpdatePeerGroupResponse) {}
rpc AddDynamicNeighbor(AddDynamicNeighborRequest) returns (AddDynamicNeighborResponse) {}
+ rpc AddCollector(AddCollectorRequest) returns (AddCollectorResponse) {}
}
// Constants for address families
@@ -1308,3 +1309,12 @@ message GetRibInfoRequest {
message GetRibInfoResponse {
TableInfo info = 1;
}
+
+message AddCollectorRequest {
+ string url = 1;
+ string db_name = 2;
+ uint64 table_dump_interval = 3;
+}
+
+message AddCollectorResponse {
+} \ No newline at end of file