Add Octavia anti-affinity parameters

This patch adds the following parameter for Octavia:

1. OctaviaAntiAffinity

The default value is 'true' as is a best practice for production
deployments.

Depends-On: https://review.opendev.org/696965/
Change-Id: I1adb886405cde6b6e0b5f25a735e36114cd1787b
(cherry picked from commit 7f8a565ea8)
(cherry picked from commit ef66a0f4f5)
(cherry picked from commit 0c7b4629e2)
This commit is contained in:
Michael Johnson 2019-11-18 11:09:52 -08:00 committed by Carlos Goncalves
parent 4b46adcc27
commit 0486e56a79
2 changed files with 9 additions and 0 deletions

View File

@ -68,6 +68,10 @@ parameters:
default: 300
description: Seconds to wait for a port to detach from an amphora.
type: number
OctaviaAntiAffinity:
default: true
description: Flag to indicate if anti-affinity feature is turned on.
type: boolean
conditions:
octavia_topology_unset: {equals : [{get_param: OctaviaLoadBalancerTopology}, ""]}
@ -101,6 +105,7 @@ outputs:
octavia::controller::connection_logging: {get_param: OctaviaConnectionLogging}
octavia::controller::build_active_retries: {get_param: OctaviaBuildActiveRetries}
octavia::controller::port_detach_timeout: {get_param: OctaviaPortDetachTimeout}
octavia::controller::enable_anti_affinity: {get_param: OctaviaAntiAffinity}
-
if:
- octavia_topology_unset

View File

@ -0,0 +1,4 @@
---
features:
- |
Added the Octavia anti-affinity parameters.