open-vault/vault/request_forwarding_service.proto
Jeff Mitchell 47dae8ffc7 Sync
2017-10-23 14:59:37 -04:00

26 lines
643 B
Protocol Buffer

syntax = "proto3";
import "github.com/hashicorp/vault/helper/forwarding/types.proto";
package vault;
message EchoRequest {
string message = 1;
// ClusterAddr is used to send up a standby node's address to the active
// node upon heartbeat
string cluster_addr = 2;
// ClusterAddrs is used to send up a list of cluster addresses to a dr
// primary from a dr secondary
repeated string cluster_addrs = 3;
}
message EchoReply {
string message = 1;
repeated string cluster_addrs = 2;
}
service RequestForwarding {
rpc ForwardRequest(forwarding.Request) returns (forwarding.Response) {}
rpc Echo(EchoRequest) returns (EchoReply) {}
}