Merge "NSX|V3 add LBaaS listener description to the backend object"
This commit is contained in:
commit
b56e65eac5
@ -50,7 +50,8 @@ class EdgeListenerManagerFromDict(base_mgr.Nsxv3LoadbalancerBaseManager):
|
||||
kwargs = {'enabled': listener['admin_state_up'],
|
||||
'ip_address': lb_vip_address,
|
||||
'port': listener['protocol_port'],
|
||||
'application_profile_id': app_profile_id}
|
||||
'application_profile_id': app_profile_id,
|
||||
'description': listener.get('description')}
|
||||
if vs_name:
|
||||
kwargs['display_name'] = vs_name
|
||||
if tags:
|
||||
|
@ -124,7 +124,7 @@ class BaseTestEdgeLbaasV2(base.BaseTestCase):
|
||||
self.lb = lb_models.LoadBalancer(LB_ID, LB_TENANT_ID, 'lb1', '',
|
||||
'some-subnet', 'port-id', LB_VIP)
|
||||
self.listener = lb_models.Listener(LISTENER_ID, LB_TENANT_ID,
|
||||
'listener1', '', None, LB_ID,
|
||||
'listener1', 'Dummy', None, LB_ID,
|
||||
'HTTP', protocol_port=80,
|
||||
loadbalancer=self.lb)
|
||||
self.https_listener = lb_models.Listener(
|
||||
|
Loading…
x
Reference in New Issue
Block a user