Add missing translation to LBaaSv2 listener
Protocol translation was missing for application profile template field. Change-Id: If42773b79814e16b3e7820c580cfce5192c5025c
This commit is contained in:
parent
63a12ec964
commit
512ed7e72a
@ -35,7 +35,7 @@ def listener_to_edge_app_profile(listener, edge_cert_id):
|
||||
'name': listener.id,
|
||||
'serverSslEnabled': False,
|
||||
'sslPassthrough': False,
|
||||
'template': listener.protocol,
|
||||
'template': lb_const.PROTOCOL_MAP[listener.protocol],
|
||||
}
|
||||
|
||||
if (listener.protocol == lb_const.LB_PROTOCOL_HTTPS
|
||||
|
@ -38,7 +38,7 @@ LISTENER_ID = 'xxx-111'
|
||||
EDGE_APP_PROFILE_ID = 'appp-x'
|
||||
EDGE_APP_PROF_DEF = {'sslPassthrough': False, 'insertXForwardedFor': False,
|
||||
'serverSslEnabled': False, 'name': LISTENER_ID,
|
||||
'template': 'HTTP'}
|
||||
'template': 'http'}
|
||||
EDGE_VIP_ID = 'vip-aaa'
|
||||
EDGE_VIP_DEF = {'protocol': 'http', 'name': 'vip_' + LISTENER_ID,
|
||||
'connectionLimit': 0, 'defaultPoolId': None,
|
||||
|
Loading…
Reference in New Issue
Block a user