mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
Change port to allow strings too (#48899)
The port technically supports an asterisk, but the argument spec was requiring integers only.
This commit is contained in:
parent
03f448f329
commit
e6d586f703
33 changed files with 185 additions and 223 deletions
|
@ -614,7 +614,7 @@ class ArgumentSpec(object):
|
|||
name=dict(required=True),
|
||||
parent=dict(default='/Common/bigip'),
|
||||
ip=dict(),
|
||||
port=dict(type='int'),
|
||||
port=dict(),
|
||||
interval=dict(type='int'),
|
||||
timeout=dict(type='int'),
|
||||
ignore_down_response=dict(type='bool'),
|
||||
|
|
|
@ -659,7 +659,7 @@ class ArgumentSpec(object):
|
|||
parent=dict(default='/Common/external'),
|
||||
arguments=dict(),
|
||||
ip=dict(),
|
||||
port=dict(type='int'),
|
||||
port=dict(),
|
||||
external_program=dict(),
|
||||
interval=dict(type='int'),
|
||||
timeout=dict(type='int'),
|
||||
|
|
|
@ -733,7 +733,7 @@ class ArgumentSpec(object):
|
|||
name=dict(required=True),
|
||||
parent=dict(default='/Common/firepass_gtm'),
|
||||
ip=dict(),
|
||||
port=dict(type='int'),
|
||||
port=dict(),
|
||||
interval=dict(type='int'),
|
||||
timeout=dict(type='int'),
|
||||
ignore_down_response=dict(type='bool'),
|
||||
|
|
|
@ -779,7 +779,7 @@ class ArgumentSpec(object):
|
|||
send=dict(),
|
||||
receive=dict(),
|
||||
ip=dict(),
|
||||
port=dict(type='int'),
|
||||
port=dict(),
|
||||
interval=dict(type='int'),
|
||||
timeout=dict(type='int'),
|
||||
ignore_down_response=dict(type='bool'),
|
||||
|
|
|
@ -895,7 +895,7 @@ class ArgumentSpec(object):
|
|||
send=dict(),
|
||||
receive=dict(),
|
||||
ip=dict(),
|
||||
port=dict(type='int'),
|
||||
port=dict(),
|
||||
interval=dict(type='int'),
|
||||
timeout=dict(type='int'),
|
||||
ignore_down_response=dict(type='bool'),
|
||||
|
|
|
@ -747,7 +747,7 @@ class ArgumentSpec(object):
|
|||
send=dict(),
|
||||
receive=dict(),
|
||||
ip=dict(),
|
||||
port=dict(type='int'),
|
||||
port=dict(),
|
||||
interval=dict(type='int'),
|
||||
timeout=dict(type='int'),
|
||||
ignore_down_response=dict(type='bool'),
|
||||
|
|
|
@ -654,7 +654,7 @@ class ArgumentSpec(object):
|
|||
name=dict(required=True),
|
||||
parent=dict(default='/Common/tcp_half_open'),
|
||||
ip=dict(),
|
||||
port=dict(type='int'),
|
||||
port=dict(),
|
||||
interval=dict(type='int'),
|
||||
timeout=dict(type='int'),
|
||||
probe_interval=dict(type='int'),
|
||||
|
|
|
@ -960,7 +960,7 @@ class ArgumentSpec(object):
|
|||
receive=dict(),
|
||||
ip=dict(),
|
||||
description=dict(),
|
||||
port=dict(type='int'),
|
||||
port=dict(),
|
||||
interval=dict(type='int'),
|
||||
timeout=dict(type='int'),
|
||||
manual_resume=dict(type='bool'),
|
||||
|
|
|
@ -696,7 +696,7 @@ class ArgumentSpec(object):
|
|||
description=dict(),
|
||||
arguments=dict(),
|
||||
ip=dict(),
|
||||
port=dict(type='int'),
|
||||
port=dict(),
|
||||
external_program=dict(),
|
||||
interval=dict(type='int'),
|
||||
timeout=dict(type='int'),
|
||||
|
|
|
@ -698,7 +698,7 @@ class ArgumentSpec(object):
|
|||
receive=dict(),
|
||||
receive_disable=dict(required=False),
|
||||
ip=dict(),
|
||||
port=dict(type='int'),
|
||||
port=dict(),
|
||||
interval=dict(type='int'),
|
||||
reverse=dict(type='bool'),
|
||||
timeout=dict(type='int'),
|
||||
|
|
|
@ -56,7 +56,7 @@ options:
|
|||
- Port address part of the IP/port definition. If this parameter is not
|
||||
provided when creating a new monitor, then the default value will be
|
||||
'*'. Note that if specifying an IP address, a value between 1 and 65535
|
||||
must be specified
|
||||
must be specified.
|
||||
interval:
|
||||
description:
|
||||
- The interval specifying how frequently the monitor instance of this
|
||||
|
@ -667,7 +667,7 @@ class ArgumentSpec(object):
|
|||
receive=dict(),
|
||||
receive_disable=dict(required=False),
|
||||
ip=dict(),
|
||||
port=dict(type='int'),
|
||||
port=dict(),
|
||||
interval=dict(type='int'),
|
||||
timeout=dict(type='int'),
|
||||
time_until_up=dict(type='int'),
|
||||
|
|
|
@ -756,7 +756,7 @@ class ArgumentSpec(object):
|
|||
parent=dict(default='/Common/ldap'),
|
||||
ip=dict(),
|
||||
description=dict(),
|
||||
port=dict(type='int'),
|
||||
port=dict(),
|
||||
interval=dict(type='int'),
|
||||
timeout=dict(type='int'),
|
||||
target_username=dict(),
|
||||
|
|
|
@ -621,7 +621,7 @@ class ArgumentSpec(object):
|
|||
send=dict(),
|
||||
receive=dict(),
|
||||
ip=dict(),
|
||||
port=dict(type='int'),
|
||||
port=dict(),
|
||||
interval=dict(type='int'),
|
||||
timeout=dict(type='int'),
|
||||
time_until_up=dict(type='int'),
|
||||
|
|
|
@ -38,8 +38,6 @@ options:
|
|||
- IP address part of the IP/port definition. If this parameter is not
|
||||
provided when creating a new monitor, then the default value will be
|
||||
'*'.
|
||||
- If this value is an IP address, and the C(type) is C(tcp) (the default),
|
||||
then a C(port) number must be specified.
|
||||
interval:
|
||||
description:
|
||||
- The interval specifying how frequently the monitor instance of this
|
||||
|
|
|
@ -606,7 +606,7 @@ class ArgumentSpec(object):
|
|||
parent=dict(default='/Common/tcp_half_open'),
|
||||
description=dict(),
|
||||
ip=dict(),
|
||||
port=dict(type='int'),
|
||||
port=dict(),
|
||||
interval=dict(type='int'),
|
||||
timeout=dict(type='int'),
|
||||
time_until_up=dict(type='int'),
|
||||
|
|
|
@ -616,7 +616,7 @@ class ArgumentSpec(object):
|
|||
receive=dict(),
|
||||
receive_disable=dict(required=False),
|
||||
ip=dict(),
|
||||
port=dict(type='int'),
|
||||
port=dict(),
|
||||
interval=dict(type='int'),
|
||||
timeout=dict(type='int'),
|
||||
time_until_up=dict(type='int'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue