From 6aa3210eb04d645fe8c0809032486619f493bad9 Mon Sep 17 00:00:00 2001 From: Serge van Ginderachter Date: Tue, 10 Sep 2013 17:03:17 +0200 Subject: [PATCH] add missing defaults --- library/net_infrastructure/bigip_monitor_http | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/library/net_infrastructure/bigip_monitor_http b/library/net_infrastructure/bigip_monitor_http index 6f3d492bd9d..6c9ef2e8fe0 100644 --- a/library/net_infrastructure/bigip_monitor_http +++ b/library/net_infrastructure/bigip_monitor_http @@ -330,6 +330,8 @@ def main(): if port is None: port = cur_ipport['ipport']['port'] else: # use API defaults if not defined to create it + if interval is None: interval = 5 + if timeout is None: timeout = 16 if ip is None: ip = '0.0.0.0' if port is None: port = 0 if send is None: send = '' @@ -351,6 +353,8 @@ def main(): 'port': port}} template_attributes = {'parent_template': parent, + 'interval': interval, + 'timeout': timeout, 'dest_ipport': ipport, 'is_read_only': False, 'is_directly_usable': True}