d2d5fc80f8
ALPN is a TLS extension for application-layer protocol negotiation within the TLS handshake [1]. This patch extends the Pool API to include a new 'alpn_protocols' parameter. With this parameter, users can set an ALPN preference list (descending order of preference) to be advertised by load balancer to members. This patch also adds HTTP/2 over TLS support to TLS-enabled pools to the Amphora provider driver, although default the pool ALPN protocol list configuration setting has HTTP/2 disabled similarly to the default listener ALPN protocol list value added in Victoria release. [1] https://tools.ietf.org/html/rfc7301 Change-Id: I91924486bab22601c15c538c8a5282ad8bc54700
40 lines
1.3 KiB
JSON
40 lines
1.3 KiB
JSON
{
|
|
"pool": {
|
|
"lb_algorithm": "LEAST_CONNECTIONS",
|
|
"protocol": "HTTP",
|
|
"description": "Super Least Connections Pool",
|
|
"admin_state_up": true,
|
|
"loadbalancers": [
|
|
{
|
|
"id": "607226db-27ef-4d41-ae89-f2a800e9c2db"
|
|
}
|
|
],
|
|
"created_at": "2017-05-10T18:14:44",
|
|
"provisioning_status": "PENDING_UPDATE",
|
|
"updated_at": "2017-05-10T23:08:12",
|
|
"session_persistence": {
|
|
"cookie_name": null,
|
|
"type": "SOURCE_IP"
|
|
},
|
|
"listeners": [
|
|
{
|
|
"id": "023f2e34-7806-443b-bfae-16c324569a3d"
|
|
}
|
|
],
|
|
"members": [],
|
|
"healthmonitor_id": null,
|
|
"project_id": "e3cd678b11784734bc366148aa37580e",
|
|
"id": "4029d267-3983-4224-a3d0-afb3fe16a2cd",
|
|
"operating_status": "ONLINE",
|
|
"name": "super-least-conn-pool",
|
|
"tags": ["updated_tag"],
|
|
"tls_container_ref": "http://198.51.100.10:9311/v1/containers/c1cd501d-3cf9-4873-a11b-a74bebcde929",
|
|
"ca_tls_container_ref": null,
|
|
"crl_container_ref": null,
|
|
"tls_enabled": false,
|
|
"tls_ciphers": "ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256",
|
|
"tls_versions": ["TLSv1.2", "TLSv1.3"],
|
|
"alpn_protocols": ["http/1.1", "http/1.0"]
|
|
}
|
|
}
|