2016-08-19 15:03:53 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
import "github.com/hashicorp/vault/helper/forwarding/types.proto";
|
|
|
|
|
|
|
|
package vault;
|
|
|
|
|
2017-05-24 19:06:56 +00:00
|
|
|
message EchoRequest {
|
|
|
|
string message = 1;
|
2017-10-23 18:59:37 +00:00
|
|
|
// ClusterAddr is used to send up a standby node's address to the active
|
|
|
|
// node upon heartbeat
|
2017-05-24 19:06:56 +00:00
|
|
|
string cluster_addr = 2;
|
2017-10-23 18:59:37 +00:00
|
|
|
// ClusterAddrs is used to send up a list of cluster addresses to a dr
|
|
|
|
// primary from a dr secondary
|
|
|
|
repeated string cluster_addrs = 3;
|
2017-05-24 19:06:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message EchoReply {
|
|
|
|
string message = 1;
|
|
|
|
repeated string cluster_addrs = 2;
|
|
|
|
}
|
|
|
|
|
2016-08-19 15:49:25 +00:00
|
|
|
service RequestForwarding {
|
2017-01-06 22:08:43 +00:00
|
|
|
rpc ForwardRequest(forwarding.Request) returns (forwarding.Response) {}
|
2017-05-24 19:06:56 +00:00
|
|
|
rpc Echo(EchoRequest) returns (EchoReply) {}
|
2016-08-19 15:03:53 +00:00
|
|
|
}
|