NSXV Octavia: nest pool under listener on update
While updating a pool, the pool object contains a listener sub-object. However the listener doesn't have a default-pool sub-object which is required for session persistency processing. Change-Id: I0d90510227783eef5f138511be025b1df10fc419
This commit is contained in:
parent
da6c1f7a46
commit
c3424129ad
@ -142,6 +142,8 @@ class EdgePoolManagerFromDict(base_mgr.EdgeLoadbalancerBaseManager):
|
||||
new_sess_persist = new_pool['session_persistence']
|
||||
|
||||
if new_sess_persist != old_sess_persist:
|
||||
if not new_pool['listener'].get('default_pool'):
|
||||
new_pool['listener']['default_pool'] = new_pool
|
||||
listener_mgr.update_app_profile(
|
||||
self.vcns, context, new_pool['listener'], edge_id)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user