Add posibilities to set default timeouts for octavia

Expose timeouts values for octavia frontend client
and backend member by parameters:
* OctaviaTimeoutClientData
* OctaviaTimeoutMemberConnect
* OctaviaTimeoutMemberData
* OctaviaTimeoutTcpInspect

Change-Id: I07afa4e15c595f984cba23672f910993495851ff
Closes-Bug: 1797130
Depends-On: https://review.openstack.org/609420/
This commit is contained in:
Kamil Sambor 2018-10-10 16:37:58 +02:00
parent c1f8345cf4
commit 72996097b6
2 changed files with 33 additions and 0 deletions

View File

@ -84,6 +84,22 @@ parameters:
description: The project name for the keystone Octavia account.
type: string
default: 'service'
OctaviaTimeoutClientData:
default: 50000
description: Frontend client inactivity timeout.
type: number
OctaviaTimeoutMemberConnect:
default: 5000
description: Backend member connection timeout.
type: number
OctaviaTimeoutMemberData:
default: 50000
description: Backend member inactivity timeout.
type: number
OctaviaTimeoutTcpInspect:
default: 0
description: Time to wait for TCP packets for content inspection.
type: number
conditions:
octavia_topology_unset: {equals : [{get_param: OctaviaLoadBalancerTopology}, ""]}
@ -119,6 +135,10 @@ outputs:
octavia::worker::manage_nova_flavor: {get_param: OctaviaManageNovaFlavor}
octavia::worker::nova_flavor_config: {get_param: OctaviaFlavorProperties}
octavia::worker::enable_ssh_access: true
octavia::worker::timeout_client_data: {get_param: OctaviaTimeoutClientData}
octavia::worker::timeout_member_connect: {get_param: OctaviaTimeoutMemberConnect}
octavia::worker::timeout_member_data: {get_param: OctaviaTimeoutMemberData}
octavia::worker::timeout_tcp_inspect: {get_param: OctaviaTimeoutTcpInspect}
octavia::certificates::client_cert: {get_param: OctaviaClientCertFile}
-
if:

View File

@ -0,0 +1,13 @@
---
features:
- |
Octavia default timeouts for backend member and frontend client
can be set by params exposed in template:
* `OctaviaTimeoutClientData`: Frontend client inactivity timeout
* `OctaviaTimeoutMemberConnect`: Backend member connection timeout
* `OctaviaTimeoutMemberData`: Backend member inactivity timeout
* `OctaviaTimeoutTcpInspect`: Time to wait for TCP packets for content inspection
The value for all of these options is expected to be in milliseconds.