NSX|V: Support LB HM expected codes

Change-Id: I991d1900ac3b78a61129e9755fe1521600e70983
This commit is contained in:
Adit Sarfaty 2019-07-28 11:36:43 +03:00
parent f21858b75e
commit f1aacadf4d

View File

@ -46,6 +46,10 @@ class EdgeHealthMonitorManagerFromDict(base_mgr.EdgeLoadbalancerBaseManager):
if hm['url_path']:
mon['url'] = hm['url_path']
if hm['expected_codes']:
mon['expected'] = hm['expected_codes']
return mon
@log_helpers.log_method_call