Merge "NSX|V3 Fix LB pool create"
This commit is contained in:
commit
b9cd2f717a
@ -158,12 +158,13 @@ class EdgePoolManagerFromDict(base_mgr.Nsxv3LoadbalancerBaseManager):
|
|||||||
elif pers_type:
|
elif pers_type:
|
||||||
# Create persistence profile
|
# Create persistence profile
|
||||||
pp_data = pp_client.create(**pp_kwargs)
|
pp_data = pp_client.create(**pp_kwargs)
|
||||||
LOG.debug("Creaed persistence profile %(profile_id)s for "
|
LOG.debug("Created persistence profile %(profile_id)s for "
|
||||||
"listener %(listener_id)s with pool %(pool_id)s",
|
"listener %(listener_id)s with pool %(pool_id)s",
|
||||||
{'profile_id': pp_data['id'],
|
{'profile_id': pp_data['id'],
|
||||||
'listener_id': listener['id'],
|
'listener_id': listener['id'],
|
||||||
'pool_id': pool['id']})
|
'pool_id': pool['id']})
|
||||||
return pp_data['id'], None
|
return pp_data['id'], None
|
||||||
|
return None, None
|
||||||
|
|
||||||
def _remove_persistence(self, vs_data):
|
def _remove_persistence(self, vs_data):
|
||||||
pp_client = self.core_plugin.nsxlib.load_balancer.persistence_profile
|
pp_client = self.core_plugin.nsxlib.load_balancer.persistence_profile
|
||||||
|
Loading…
x
Reference in New Issue
Block a user