Merge "Add missing translation to LBaaSv2 listener"

This commit is contained in:
Jenkins 2016-03-09 05:29:09 +00:00 committed by Gerrit Code Review
commit 57aa0ffd5e
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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,