Merge "NSXv: LBaaS enable acceleration for TCP listener"
This commit is contained in:
commit
07e5a14abb
@ -85,6 +85,8 @@ def listener_to_edge_vse(listener, vip_address, default_pool, app_profile_id):
|
||||
'port': listener.protocol_port,
|
||||
'connectionLimit': connection_limit,
|
||||
'defaultPoolId': default_pool,
|
||||
'accelerationEnabled': (
|
||||
listener.protocol == lb_const.LB_PROTOCOL_TCP),
|
||||
'applicationProfileId': app_profile_id}
|
||||
|
||||
|
||||
|
@ -42,7 +42,7 @@ EDGE_APP_PROF_DEF = {'sslPassthrough': False, 'insertXForwardedFor': False,
|
||||
EDGE_VIP_ID = 'vip-aaa'
|
||||
EDGE_VIP_DEF = {'protocol': 'http', 'name': 'vip_' + LISTENER_ID,
|
||||
'connectionLimit': 0, 'defaultPoolId': None,
|
||||
'ipAddress': LB_VIP, 'port': 80,
|
||||
'ipAddress': LB_VIP, 'port': 80, 'accelerationEnabled': False,
|
||||
'applicationProfileId': EDGE_APP_PROFILE_ID, 'description': ''}
|
||||
LISTENER_BINDING = {'loadbalancer_id': LB_ID,
|
||||
'listener_id': LISTENER_ID,
|
||||
|
Loading…
x
Reference in New Issue
Block a user