Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
6aa3210e
Commit
6aa3210e
authored
Sep 10, 2013
by
Serge van Ginderachter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add missing defaults
parent
7454038d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
library/net_infrastructure/bigip_monitor_http
+4
-0
No files found.
library/net_infrastructure/bigip_monitor_http
View file @
6aa3210e
...
...
@@ -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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment