26#ifndef ROUTING_CONFIG_INCLUDED
27#define ROUTING_CONFIG_INCLUDED
86 std::chrono::milliseconds
99 std::chrono::milliseconds
Type
supported protocols
Definition: base_protocol.h:32
route specific configuration.
Definition: routing_config.h:40
std::string source_ssl_crl_dir
directory of CRL files
Definition: routing_config.h:69
std::chrono::seconds wait_for_my_writes_timeout
how long to wait for writes to be applied before reads.
Definition: routing_config.h:107
std::string source_ssl_key
Key file.
Definition: routing_config.h:59
std::string destinations
destinations
Definition: routing_config.h:43
unsigned int server_ssl_session_cache_timeout
Definition: routing_config.h:97
mysql_harness::Path named_socket
unix domain socket path to bind to
Definition: routing_config.h:46
bool wait_for_my_writes
Definition: routing_config.h:105
std::string source_ssl_ca_dir
directory of CA files used to verify sources' identity
Definition: routing_config.h:65
bool router_require_enforce
Definition: routing_config.h:117
unsigned int client_ssl_session_cache_timeout
Definition: routing_config.h:93
SslMode dest_ssl_mode
SslMode of the server side connection.
Definition: routing_config.h:71
unsigned int client_connect_timeout
client connect timeout in seconds
Definition: routing_config.h:53
unsigned long long max_connect_errors
max connect errors
Definition: routing_config.h:52
std::string dest_ssl_curves
allowed TLS curves
Definition: routing_config.h:83
std::string dest_ssl_ca_file
CA file to used to verify destinations' identity.
Definition: routing_config.h:77
SslMode source_ssl_mode
SslMode of the client side connection.
Definition: routing_config.h:57
std::string dest_ssl_crl_file
CRL file used to check revoked certificates.
Definition: routing_config.h:81
int connect_timeout
connect-timeout in seconds
Definition: routing_config.h:47
Protocol::Type protocol
protocol (classic, x)
Definition: routing_config.h:42
std::string dest_ssl_cert
Cert file.
Definition: routing_config.h:72
int bind_port
TCP port to bind to.
Definition: routing_config.h:44
std::string source_ssl_crl_file
CRL file used to check revoked certificates.
Definition: routing_config.h:68
std::string source_ssl_dh_params
DH params.
Definition: routing_config.h:62
size_t client_ssl_session_cache_size
Definition: routing_config.h:92
std::string source_ssl_ca_file
CA file to used to verify sources' identity.
Definition: routing_config.h:64
std::string dest_ssl_cipher
allowed TLS ciphers
Definition: routing_config.h:75
routing::RoutingStrategy routing_strategy
routing strategy (next-avail, ...)
Definition: routing_config.h:48
routing::AccessMode access_mode
read_write,read_only,auto
Definition: routing_config.h:102
unsigned int net_buffer_length
Size of buffer to receive packets.
Definition: routing_config.h:54
bool client_ssl_session_cache_mode
Definition: routing_config.h:91
bool connection_sharing
if connection sharing is allowed.
Definition: routing_config.h:85
std::string source_ssl_cert
Cert file.
Definition: routing_config.h:58
mysql_harness::TCPAddress bind_address
IP address to bind to.
Definition: routing_config.h:45
std::chrono::milliseconds connect_retry_timeout
timeout of retrying after a transient connect-failure.
Definition: routing_config.h:100
std::string dest_ssl_key
Key file.
Definition: routing_config.h:73
std::string source_ssl_curves
allowed TLS curves
Definition: routing_config.h:61
int max_connections
max connections allowed
Definition: routing_config.h:51
std::string dest_ssl_crl_dir
directory of CRL files
Definition: routing_config.h:82
unsigned int thread_stack_size
thread stack size in kilobytes
Definition: routing_config.h:55
std::string source_ssl_cipher
allowed TLS ciphers
Definition: routing_config.h:60
bool server_ssl_session_cache_mode
Definition: routing_config.h:95
std::chrono::milliseconds connection_sharing_delay
delay before an idling connection is moved to the pool and connection sharing is allowed.
Definition: routing_config.h:87
SslVerify dest_ssl_verify
How to verify the server-side cert.
Definition: routing_config.h:74
size_t server_ssl_session_cache_size
Definition: routing_config.h:96
std::string dest_ssl_ca_dir
directory of CA files used to verify destinations' identity
Definition: routing_config.h:78
Class representing a path in a file system.
Definition: filesystem.h:63
Defines an IP address with port number
Definition: tcp_address.h:40
AccessMode
Definition: routing.h:259
RoutingStrategy
Routing strategies supported by Routing plugin.
Definition: routing.h:265
SslMode
Definition: ssl_mode.h:29
SslVerify
Definition: ssl_mode.h:38
double seconds()
Definition: task.cc:310