Skip to content

Commit

Permalink
add udp sip diameter hm type
Browse files Browse the repository at this point in the history
(cherry picked from commit 7e8d54e)
  • Loading branch information
Niklaus-xie committed Jun 28, 2021
1 parent 1e2b955 commit 53aeb5a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions f5_openstack_agent/lbaasv2/drivers/bigip/resource_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -1104,6 +1104,15 @@ def __init__(self, driver, **kwargs):
elif subtype == 'TCP':
monitor_type = resource_helper.ResourceType.tcp_monitor
self._resource = 'tcp_monitor'
elif subtype == 'UDP':
monitor_type = resource_helper.ResourceType.udp_monitor
self._resource = 'udp_monitor'
elif subtype == 'SIP':
monitor_type = resource_helper.ResourceType.sip_monitor
self._resource = 'sip_monitor'
elif subtype == 'DIAMETER':
monitor_type = resource_helper.ResourceType.diameter_monitor
self._resource = 'diameter_monitor'
else:
raise Exception("Invalid monitor type %s", subtype)

Expand Down

0 comments on commit 53aeb5a

Please sign in to comment.