Adding PERSISTENCE_TYPES option NONE
It will allow to define PERSISTENCE_TYPES = NONE for octavia LB Change-Id: Id7c6c6e50c2b95751d1d87cbf41ce117bdfa3927
This commit is contained in:
parent
f99412750c
commit
b262314b75
|
@ -19,7 +19,7 @@ properties:
|
||||||
|
|
||||||
session_persistence:
|
session_persistence:
|
||||||
# type of session persistence, valid values include:
|
# type of session persistence, valid values include:
|
||||||
# SOURCE_IP, HTTP_COOKIE, APP_COOKIE
|
# SOURCE_IP, HTTP_COOKIE, APP_COOKIE, NONE
|
||||||
type: SOURCE_IP
|
type: SOURCE_IP
|
||||||
# Name of cookie if type set to APP_COOKIE
|
# Name of cookie if type set to APP_COOKIE
|
||||||
cookie_name: whatever
|
cookie_name: whatever
|
||||||
|
|
|
@ -142,8 +142,9 @@ class LoadBalancingPolicy(base.Policy):
|
||||||
|
|
||||||
PERSISTENCE_TYPES = (
|
PERSISTENCE_TYPES = (
|
||||||
PERSIST_SOURCE_IP, PERSIST_HTTP_COOKIE, PERSIST_APP_COOKIE,
|
PERSIST_SOURCE_IP, PERSIST_HTTP_COOKIE, PERSIST_APP_COOKIE,
|
||||||
|
PERSIST_NONE,
|
||||||
) = (
|
) = (
|
||||||
'SOURCE_IP', 'HTTP_COOKIE', 'APP_COOKIE',
|
'SOURCE_IP', 'HTTP_COOKIE', 'APP_COOKIE', 'NONE',
|
||||||
)
|
)
|
||||||
|
|
||||||
properties_schema = {
|
properties_schema = {
|
||||||
|
|
Loading…
Reference in New Issue