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 committed by Kobi Samoray
parent 528861c0b6
commit 29b8383e0d
1 changed files with 4 additions and 0 deletions

View File

@ -47,6 +47,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