Browse Source

Merge "NSX|V: Support LB HM expected codes" into stable/rocky

stable/rocky
Zuul 1 month ago
parent
commit
a46489fcb9
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      vmware_nsx/services/lbaas/nsx_v/implementation/healthmon_mgr.py

+ 4
- 0
vmware_nsx/services/lbaas/nsx_v/implementation/healthmon_mgr.py View File

@@ -47,6 +47,10 @@ class EdgeHealthMonitorManagerFromDict(base_mgr.EdgeLoadbalancerBaseManager):
47 47
 
48 48
         if hm['url_path']:
49 49
             mon['url'] = hm['url_path']
50
+
51
+        if hm['expected_codes']:
52
+            mon['expected'] = hm['expected_codes']
53
+
50 54
         return mon
51 55
 
52 56
     @log_helpers.log_method_call

Loading…
Cancel
Save