Merge "NSXV: Support session persistence with Octavia" into stable/train

This commit is contained in:
Zuul 2020-07-28 08:55:38 +00:00 committed by Gerrit Code Review
commit a6d55933b6
1 changed files with 2 additions and 0 deletions

View File

@ -80,6 +80,8 @@ class EdgePoolManagerFromDict(base_mgr.EdgeLoadbalancerBaseManager):
# This action also set this pool as the default pool of the # This action also set this pool as the default pool of the
# listener, so the application profile may need to be updated # listener, so the application profile may need to be updated
if pool['session_persistence']: if pool['session_persistence']:
if not pool['listener'].get('default_pool'):
pool['listener']['default_pool'] = pool
listener_mgr.update_app_profile( listener_mgr.update_app_profile(
self.vcns, context, pool['listener'], edge_id) self.vcns, context, pool['listener'], edge_id)