1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Lowercase enabled, disabled option values (#27764)

This commit is contained in:
George Nikolopoulos 2017-08-25 20:11:48 +03:00 committed by ansibot
parent c01dd6470c
commit 8d14f9d578
21 changed files with 247 additions and 209 deletions

View file

@ -128,18 +128,18 @@ options:
stateupdate: stateupdate:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- >- - >-
Enable state updates for a specific content switching virtual server. By default, the Content Enable state updates for a specific content switching virtual server. By default, the Content
Switching virtual server is always UP, regardless of the state of the Load Balancing virtual servers Switching virtual server is always UP, regardless of the state of the Load Balancing virtual servers
bound to it. This parameter interacts with the global setting as follows: bound to it. This parameter interacts with the global setting as follows:
- "Global Level | Vserver Level | Result" - "Global Level | Vserver Level | Result"
- "ENABLED ENABLED ENABLED" - "enabled enabled enabled"
- "ENABLED DISABLED ENABLED" - "enabled disabled enabled"
- "DISABLED ENABLED ENABLED" - "disabled enabled enabled"
- "DISABLED DISABLED DISABLED" - "disabled disabled disabled"
- >- - >-
If you want to enable state updates for only some content switching virtual servers, be sure to If you want to enable state updates for only some content switching virtual servers, be sure to
disable the state update parameter. disable the state update parameter.
@ -202,8 +202,8 @@ options:
sopersistence: sopersistence:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- "Maintain source-IP based persistence on primary and backup virtual servers." - "Maintain source-IP based persistence on primary and backup virtual servers."
@ -233,15 +233,15 @@ options:
redirectportrewrite: redirectportrewrite:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- "State of port rewrite while performing HTTP redirect." - "State of port rewrite while performing HTTP redirect."
downstateflush: downstateflush:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- >- - >-
Flush all active transactions associated with a virtual server whose state transitions from UP to Flush all active transactions associated with a virtual server whose state transitions from UP to
@ -259,8 +259,8 @@ options:
disableprimaryondown: disableprimaryondown:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- >- - >-
Continue forwarding the traffic to backup virtual server even after the primary server comes UP from Continue forwarding the traffic to backup virtual server even after the primary server comes UP from
@ -326,8 +326,8 @@ options:
push: push:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- >- - >-
Process traffic with the push virtual server that is bound to this content switching virtual server Process traffic with the push virtual server that is bound to this content switching virtual server
@ -423,8 +423,8 @@ options:
appflowlog: appflowlog:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- "Enable logging appflow flow information." - "Enable logging appflow flow information."
@ -788,8 +788,8 @@ def main():
stateupdate=dict( stateupdate=dict(
type='str', type='str',
choices=[ choices=[
'ENABLED', 'enabled',
'DISABLED', 'disabled',
] ]
), ),
cacheable=dict(type='bool'), cacheable=dict(type='bool'),
@ -816,8 +816,8 @@ def main():
sopersistence=dict( sopersistence=dict(
type='str', type='str',
choices=[ choices=[
'ENABLED', 'enabled',
'DISABLED', 'disabled',
] ]
), ),
sopersistencetimeout=dict(type='float'), sopersistencetimeout=dict(type='float'),
@ -833,22 +833,22 @@ def main():
redirectportrewrite=dict( redirectportrewrite=dict(
type='str', type='str',
choices=[ choices=[
'ENABLED', 'enabled',
'DISABLED', 'disabled',
] ]
), ),
downstateflush=dict( downstateflush=dict(
type='str', type='str',
choices=[ choices=[
'ENABLED', 'enabled',
'DISABLED', 'disabled',
] ]
), ),
disableprimaryondown=dict( disableprimaryondown=dict(
type='str', type='str',
choices=[ choices=[
'ENABLED', 'enabled',
'DISABLED', 'disabled',
] ]
), ),
insertvserveripport=dict( insertvserveripport=dict(
@ -869,8 +869,8 @@ def main():
push=dict( push=dict(
type='str', type='str',
choices=[ choices=[
'ENABLED', 'enabled',
'DISABLED', 'disabled',
] ]
), ),
pushvserver=dict(type='str'), pushvserver=dict(type='str'),
@ -908,8 +908,8 @@ def main():
appflowlog=dict( appflowlog=dict(
type='str', type='str',
choices=[ choices=[
'ENABLED', 'enabled',
'DISABLED', 'disabled',
] ]
), ),
netprofile=dict(type='str'), netprofile=dict(type='str'),
@ -1087,6 +1087,13 @@ def main():
'authentication': ['bool_on_off'], 'authentication': ['bool_on_off'],
'l2conn': ['bool_on_off'], 'l2conn': ['bool_on_off'],
'pushmulticlients': ['bool_yes_no'], 'pushmulticlients': ['bool_yes_no'],
'stateupdate': [lambda v: v.upper()],
'sopersistence': [lambda v: v.upper()],
'redirectportrewrite': [lambda v: v.upper()],
'downstateflush': [lambda v: v.upper()],
'disableprimaryondown': [lambda v: v.upper()],
'push': [lambda v: v.upper()],
'appflowlog': [lambda v: v.upper()],
} }
# Instantiate config proxy # Instantiate config proxy

View file

@ -174,15 +174,15 @@ options:
mir: mir:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- "Include multiple IP addresses in the DNS responses sent to clients." - "Include multiple IP addresses in the DNS responses sent to clients."
disableprimaryondown: disableprimaryondown:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- >- - >-
Continue to direct traffic to the backup chain even after the primary GSLB virtual server returns to Continue to direct traffic to the backup chain even after the primary GSLB virtual server returns to
@ -246,8 +246,8 @@ options:
sopersistence: sopersistence:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- >- - >-
If spillover occurs, maintain source IP address based persistence for both primary and backup GSLB If spillover occurs, maintain source IP address based persistence for both primary and backup GSLB
@ -281,8 +281,8 @@ options:
appflowlog: appflowlog:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- "Enable logging appflow flow information." - "Enable logging appflow flow information."
@ -323,8 +323,8 @@ options:
disabled: disabled:
description: description:
- When set to C(yes) the GSLB Vserver state will be set to DISABLED. - When set to C(yes) the GSLB Vserver state will be set to C(disabled).
- When set to C(no) the GSLB Vserver state will be set to ENABLED. - When set to C(no) the GSLB Vserver state will be set to C(enabled).
- >- - >-
Note that due to limitations of the underlying NITRO API a C(disabled) state change alone Note that due to limitations of the underlying NITRO API a C(disabled) state change alone
does not cause the module result to report a changed status. does not cause the module result to report a changed status.
@ -680,15 +680,15 @@ def main():
mir=dict( mir=dict(
type='str', type='str',
choices=[ choices=[
'ENABLED', 'enabled',
'DISABLED', 'disabled',
] ]
), ),
disableprimaryondown=dict( disableprimaryondown=dict(
type='str', type='str',
choices=[ choices=[
'ENABLED', 'enabled',
'DISABLED', 'disabled',
] ]
), ),
dynamicweight=dict( dynamicweight=dict(
@ -720,8 +720,8 @@ def main():
sopersistence=dict( sopersistence=dict(
type='str', type='str',
choices=[ choices=[
'ENABLED', 'enabled',
'DISABLED', 'disabled',
] ]
), ),
sopersistencetimeout=dict(type='float'), sopersistencetimeout=dict(type='float'),
@ -737,8 +737,8 @@ def main():
appflowlog=dict( appflowlog=dict(
type='str', type='str',
choices=[ choices=[
'ENABLED', 'enabled',
'DISABLED', 'disabled',
] ]
), ),
domainname=dict(type='str'), domainname=dict(type='str'),
@ -844,6 +844,13 @@ def main():
'servicetype', 'servicetype',
] ]
transforms = {
'mir': [lambda v: v.upper()],
'disableprimaryondown': [lambda v: v.upper()],
'sopersistence': [lambda v: v.upper()],
'appflowlog': [lambda v: v.upper()],
}
# Instantiate config proxy # Instantiate config proxy
gslb_vserver_proxy = ConfigProxy( gslb_vserver_proxy = ConfigProxy(
actual=gslbvserver(), actual=gslbvserver(),
@ -852,6 +859,7 @@ def main():
readwrite_attrs=readwrite_attrs, readwrite_attrs=readwrite_attrs,
readonly_attrs=readonly_attrs, readonly_attrs=readonly_attrs,
immutable_attrs=immutable_attrs, immutable_attrs=immutable_attrs,
transforms=transforms,
) )
try: try:

View file

@ -284,8 +284,8 @@ options:
lrtm: lrtm:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- >- - >-
Calculate the least response times for bound services. If this parameter is not enabled, the Calculate the least response times for bound services. If this parameter is not enabled, the
@ -419,12 +419,12 @@ options:
state: state:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- >- - >-
State of the monitor. The C(DISABLED) setting disables not only the monitor being configured, but all State of the monitor. The C(disabled) setting disables not only the monitor being configured, but all
monitors of the same type, until the parameter is set to C(ENABLED). If the monitor is bound to a monitors of the same type, until the parameter is set to C(enabled). If the monitor is bound to a
service, the state of the monitor is not taken into account when the state of the service is service, the state of the monitor is not taken into account when the state of the service is
determined. determined.
@ -757,8 +757,8 @@ options:
storedb: storedb:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- >- - >-
Store the database list populated with the responses to monitor probes. Used in database specific Store the database list populated with the responses to monitor probes. Used in database specific
@ -997,8 +997,8 @@ def main():
lrtm=dict( lrtm=dict(
type='str', type='str',
choices=[ choices=[
'ENABLED', 'enabled',
'DISABLED', 'disabled',
] ]
), ),
deviation=dict(type='float'), deviation=dict(type='float'),
@ -1114,8 +1114,8 @@ def main():
storedb=dict( storedb=dict(
type='str', type='str',
choices=[ choices=[
'ENABLED', 'enabled',
'DISABLED', 'disabled',
] ]
), ),
storefrontcheckbackendservices=dict(type='bool'), storefrontcheckbackendservices=dict(type='bool'),
@ -1292,6 +1292,8 @@ def main():
'iptunnel': ['bool_yes_no'], 'iptunnel': ['bool_yes_no'],
'transparent': ['bool_yes_no'], 'transparent': ['bool_yes_no'],
'reverse': ['bool_yes_no'], 'reverse': ['bool_yes_no'],
'lrtm': [lambda v: v.upper()],
'storedb': [lambda v: v.upper()],
} }
lbmonitor_proxy = ConfigProxy( lbmonitor_proxy = ConfigProxy(

View file

@ -382,8 +382,8 @@ options:
sessionless: sessionless:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- >- - >-
Perform load balancing on a per-packet basis, without establishing sessions. Recommended for load Perform load balancing on a per-packet basis, without establishing sessions. Recommended for load
@ -458,8 +458,8 @@ options:
sopersistence: sopersistence:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- >- - >-
If spillover occurs, maintain source IP address based persistence for both primary and backup virtual If spillover occurs, maintain source IP address based persistence for both primary and backup virtual
@ -500,15 +500,15 @@ options:
redirectportrewrite: redirectportrewrite:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- "Rewrite the port and change the protocol to ensure successful HTTP redirects from services." - "Rewrite the port and change the protocol to ensure successful HTTP redirects from services."
downstateflush: downstateflush:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- >- - >-
Flush all active transactions associated with a virtual server whose state transitions from UP to Flush all active transactions associated with a virtual server whose state transitions from UP to
@ -516,8 +516,8 @@ options:
disableprimaryondown: disableprimaryondown:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- >- - >-
If the primary virtual server goes down, do not allow it to return to primary status until manually If the primary virtual server goes down, do not allow it to return to primary status until manually
@ -554,7 +554,7 @@ options:
description: description:
- >- - >-
Fully qualified domain name (FQDN) of the authentication virtual server to which the user must be Fully qualified domain name (FQDN) of the authentication virtual server to which the user must be
redirected for authentication. Make sure that the Authentication parameter is set to ENABLED. redirected for authentication. Make sure that the Authentication parameter is set to C(yes).
- "Minimum length = 3" - "Minimum length = 3"
- "Maximum length = 252" - "Maximum length = 252"
@ -576,8 +576,8 @@ options:
push: push:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- "Process traffic with the push virtual server that is bound to this load balancing virtual server." - "Process traffic with the push virtual server that is bound to this load balancing virtual server."
@ -675,8 +675,8 @@ options:
appflowlog: appflowlog:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- "Apply AppFlow logging to the virtual server." - "Apply AppFlow logging to the virtual server."
@ -802,22 +802,22 @@ options:
macmoderetainvlan: macmoderetainvlan:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- "This option is used to retain vlan information of incoming packet when macmode is enabled." - "This option is used to retain vlan information of incoming packet when macmode is enabled."
dbslb: dbslb:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- "Enable database specific load balancing for MySQL and MSSQL service types." - "Enable database specific load balancing for MySQL and MSSQL service types."
dns64: dns64:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- "This argument is for enabling/disabling the C(dns64) on lbvserver." - "This argument is for enabling/disabling the C(dns64) on lbvserver."
@ -838,8 +838,8 @@ options:
processlocal: processlocal:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- >- - >-
By turning on this option packets destined to a vserver in a cluster will not under go any steering. By turning on this option packets destined to a vserver in a cluster will not under go any steering.
@ -1421,8 +1421,8 @@ def main():
sessionless=dict( sessionless=dict(
type='str', type='str',
choices=[ choices=[
'ENABLED', 'enabled',
'DISABLED', 'disabled',
] ]
), ),
connfailover=dict( connfailover=dict(
@ -1449,8 +1449,8 @@ def main():
sopersistence=dict( sopersistence=dict(
type='str', type='str',
choices=[ choices=[
'ENABLED', 'enabled',
'DISABLED', 'disabled',
] ]
), ),
sopersistencetimeout=dict(type='float'), sopersistencetimeout=dict(type='float'),
@ -1467,22 +1467,22 @@ def main():
redirectportrewrite=dict( redirectportrewrite=dict(
type='str', type='str',
choices=[ choices=[
'ENABLED', 'enabled',
'DISABLED', 'disabled',
] ]
), ),
downstateflush=dict( downstateflush=dict(
type='str', type='str',
choices=[ choices=[
'ENABLED', 'enabled',
'DISABLED', 'disabled',
] ]
), ),
disableprimaryondown=dict( disableprimaryondown=dict(
type='str', type='str',
choices=[ choices=[
'ENABLED', 'enabled',
'DISABLED', 'disabled',
] ]
), ),
insertvserveripport=dict( insertvserveripport=dict(
@ -1501,8 +1501,8 @@ def main():
push=dict( push=dict(
type='str', type='str',
choices=[ choices=[
'ENABLED', 'enabled',
'DISABLED', 'disabled',
] ]
), ),
pushvserver=dict(type='str'), pushvserver=dict(type='str'),
@ -1540,8 +1540,8 @@ def main():
appflowlog=dict( appflowlog=dict(
type='str', type='str',
choices=[ choices=[
'ENABLED', 'enabled',
'DISABLED', 'disabled',
] ]
), ),
netprofile=dict(type='str'), netprofile=dict(type='str'),
@ -1582,22 +1582,22 @@ def main():
macmoderetainvlan=dict( macmoderetainvlan=dict(
type='str', type='str',
choices=[ choices=[
'ENABLED', 'enabled',
'DISABLED', 'disabled',
] ]
), ),
dbslb=dict( dbslb=dict(
type='str', type='str',
choices=[ choices=[
'ENABLED', 'enabled',
'DISABLED', 'disabled',
] ]
), ),
dns64=dict( dns64=dict(
type='str', type='str',
choices=[ choices=[
'ENABLED', 'enabled',
'DISABLED', 'disabled',
] ]
), ),
bypassaaaa=dict(type='bool'), bypassaaaa=dict(type='bool'),
@ -1605,8 +1605,8 @@ def main():
processlocal=dict( processlocal=dict(
type='str', type='str',
choices=[ choices=[
'ENABLED', 'enabled',
'DISABLED', 'disabled',
] ]
), ),
dnsprofilename=dict(type='str'), dnsprofilename=dict(type='str'),
@ -1805,6 +1805,17 @@ def main():
'l2conn': ['bool_on_off'], 'l2conn': ['bool_on_off'],
'pushmulticlients': ['bool_yes_no'], 'pushmulticlients': ['bool_yes_no'],
'recursionavailable': ['bool_yes_no'], 'recursionavailable': ['bool_yes_no'],
'sessionless': [lambda v: v.upper()],
'sopersistence': [lambda v: v.upper()],
'redirectportrewrite': [lambda v: v.upper()],
'downstateflush': [lambda v: v.upper()],
'disableprimaryondown': [lambda v: v.upper()],
'push': [lambda v: v.upper()],
'appflowlog': [lambda v: v.upper()],
'macmoderetainvlan': [lambda v: v.upper()],
'dbslb': [lambda v: v.upper()],
'dns64': [lambda v: v.upper()],
'processlocal': [lambda v: v.upper()],
} }
lbvserver_proxy = ConfigProxy( lbvserver_proxy = ConfigProxy(

View file

@ -89,8 +89,8 @@ options:
disabled: disabled:
description: description:
- When set to C(true) the server state will be set to DISABLED. - When set to C(true) the server state will be set to C(disabled).
- When set to C(false) the server state will be set to ENABLED. - When set to C(false) the server state will be set to C(enabled).
- >- - >-
Note that due to limitations of the underlying NITRO API a C(disabled) state change alone Note that due to limitations of the underlying NITRO API a C(disabled) state change alone
does not cause the module result to report a changed status. does not cause the module result to report a changed status.

View file

@ -136,8 +136,8 @@ options:
cip: cip:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- >- - >-
Before forwarding a request to the service, insert an HTTP header with the client's IPv4 or IPv6 Before forwarding a request to the service, insert an HTTP header with the client's IPv4 or IPv6
@ -247,13 +247,12 @@ options:
downstateflush: downstateflush:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- >- - >-
Flush all active transactions associated with a service whose state transitions from UP to DOWN. Do Flush all active transactions associated with a service whose state transitions from UP to DOWN. Do
not enable this option for applications that must complete their transactions. not enable this option for applications that must complete their transactions.
default: ENABLED
tcpprofilename: tcpprofilename:
description: description:
@ -280,11 +279,10 @@ options:
appflowlog: appflowlog:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- "Enable logging of AppFlow information." - "Enable logging of AppFlow information."
default: ENABLED
netprofile: netprofile:
description: description:
@ -303,14 +301,13 @@ options:
processlocal: processlocal:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- >- - >-
By turning on this option packets destined to a service in a cluster will not under go any steering. By turning on this option packets destined to a service in a cluster will not under go any steering.
Turn this option for single packet request response mode or when the upstream device is performing a Turn this option for single packet request response mode or when the upstream device is performing a
proper RSS for connection based distribution. proper RSS for connection based distribution.
default: DISABLED
dnsprofilename: dnsprofilename:
description: description:
@ -345,8 +342,8 @@ options:
- Weight to assign to the binding between the monitor and service. - Weight to assign to the binding between the monitor and service.
dup_state: dup_state:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- State of the monitor. - State of the monitor.
- The state setting for a monitor of a given type affects all monitors of that type. - The state setting for a monitor of a given type affects all monitors of that type.
@ -629,8 +626,8 @@ def main():
cip=dict( cip=dict(
type='str', type='str',
choices=[ choices=[
'ENABLED', 'enabled',
'DISABLED', 'disabled',
] ]
), ),
cipheader=dict(type='str'), cipheader=dict(type='str'),
@ -659,10 +656,9 @@ def main():
downstateflush=dict( downstateflush=dict(
type='str', type='str',
choices=[ choices=[
'ENABLED', 'enabled',
'DISABLED', 'disabled',
], ],
default='ENABLED',
), ),
tcpprofilename=dict(type='str'), tcpprofilename=dict(type='str'),
httpprofilename=dict(type='str'), httpprofilename=dict(type='str'),
@ -671,19 +667,17 @@ def main():
appflowlog=dict( appflowlog=dict(
type='str', type='str',
choices=[ choices=[
'ENABLED', 'enabled',
'DISABLED', 'disabled',
], ],
default='ENABLED',
), ),
netprofile=dict(type='str'), netprofile=dict(type='str'),
processlocal=dict( processlocal=dict(
type='str', type='str',
choices=[ choices=[
'ENABLED', 'enabled',
'DISABLED', 'disabled',
], ],
default='DISABLED',
), ),
dnsprofilename=dict(type='str'), dnsprofilename=dict(type='str'),
ipaddress=dict(type='str'), ipaddress=dict(type='str'),
@ -844,6 +838,10 @@ def main():
'rtspsessionidremap': ['bool_on_off'], 'rtspsessionidremap': ['bool_on_off'],
'accessdown': ['bool_yes_no'], 'accessdown': ['bool_yes_no'],
'cmp': ['bool_yes_no'], 'cmp': ['bool_yes_no'],
'cip': [lambda v: v.upper()],
'downstateflush': [lambda v: v.upper()],
'appflowlog': [lambda v: v.upper()],
'processlocal': [lambda v: v.upper()],
} }
monitor_bindings_rw_attrs = [ monitor_bindings_rw_attrs = [

View file

@ -105,8 +105,8 @@ options:
cip: cip:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- "Insert the Client IP header in requests forwarded to the service." - "Insert the Client IP header in requests forwarded to the service."
@ -204,8 +204,8 @@ options:
downstateflush: downstateflush:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- >- - >-
Flush all active transactions associated with all the services in the service group whose state Flush all active transactions associated with all the services in the service group whose state
@ -230,8 +230,8 @@ options:
appflowlog: appflowlog:
choices: choices:
- 'ENABLED' - 'enabled'
- 'DISABLED' - 'disabled'
description: description:
- "Enable logging of AppFlow information for the specified service group." - "Enable logging of AppFlow information for the specified service group."
@ -698,8 +698,8 @@ def main():
cip=dict( cip=dict(
type='str', type='str',
choices=[ choices=[
'ENABLED', 'enabled',
'DISABLED', 'disabled',
] ]
), ),
cipheader=dict(type='str'), cipheader=dict(type='str'),
@ -720,8 +720,8 @@ def main():
downstateflush=dict( downstateflush=dict(
type='str', type='str',
choices=[ choices=[
'ENABLED', 'enabled',
'DISABLED', 'disabled',
] ]
), ),
tcpprofilename=dict(type='str'), tcpprofilename=dict(type='str'),
@ -730,8 +730,8 @@ def main():
appflowlog=dict( appflowlog=dict(
type='str', type='str',
choices=[ choices=[
'ENABLED', 'enabled',
'DISABLED', 'disabled',
] ]
), ),
netprofile=dict(type='str'), netprofile=dict(type='str'),
@ -881,6 +881,9 @@ def main():
'rtspsessionidremap': ['bool_on_off'], 'rtspsessionidremap': ['bool_on_off'],
'graceful': ['bool_yes_no'], 'graceful': ['bool_yes_no'],
'cmp': ['bool_yes_no'], 'cmp': ['bool_yes_no'],
'cip': [lambda v: v.upper()],
'downstateflush': [lambda v: v.upper()],
'appflowlog': [lambda v: v.upper()],
} }
# Instantiate config proxy # Instantiate config proxy

View file

@ -10,5 +10,16 @@
debug: false debug: false
roles: roles:
- { role: netscaler_service, when: "limit_to in ['*', 'netscaler_service']" } - { role: netscaler_cs_action, when: "limit_to in ['*', 'netscaler_cs_action']" }
- { role: netscaler_cs_policy, when: "limit_to in ['*', 'netscaler_cs_policy']" }
- { role: netscaler_cs_vserver, when: "limit_to in ['*', 'netscaler_cs_vserver']" }
- { role: netscaler_server, when: "limit_to in ['*', 'netscaler_server']" } - { role: netscaler_server, when: "limit_to in ['*', 'netscaler_server']" }
- { role: netscaler_lb_vserver, when: "limit_to in ['*', 'netscaler_lb_vserver']" }
- { role: netscaler_lb_monitor, when: "limit_to in ['*', 'netscaler_lb_monitor']" }
- { role: netscaler_save_config, when: "limit_to in ['*', 'netscaler_save_config']" }
- { role: netscaler_service, when: "limit_to in ['*', 'netscaler_service']" }
- { role: netscaler_servicegroup, when: "limit_to in ['*', 'netscaler_servicegroup']" }
- { role: netscaler_gslb_service, when: "limit_to in ['*', 'netscaler_gslb_service']" }
- { role: netscaler_gslb_site, when: "limit_to in ['*', 'netscaler_gslb_site']" }
- { role: netscaler_gslb_vserver, when: "limit_to in ['*', 'netscaler_gslb_vserver']" }
- { role: netscaler_ssl_certkey, when: "limit_to in ['*', 'netscaler_ssl_certkey']" }

View file

@ -18,20 +18,20 @@
port: 80 port: 80
dnsrecordtype: A dnsrecordtype: A
range: 2 range: 2
stateupdate: DISABLED stateupdate: disabled
cacheable: no cacheable: no
redirecturl: http://newurl.com redirecturl: http://newurl.com
clttimeout: 200 clttimeout: 200
precedence: RULE precedence: RULE
casesensitive: on casesensitive: on
somethod: CONNECTION somethod: CONNECTION
sopersistence: ENABLED sopersistence: enabled
sopersistencetimeout: 50 sopersistencetimeout: 50
sothreshold: 200 sothreshold: 200
sobackupaction: DROP sobackupaction: DROP
redirectportrewrite: DISABLED redirectportrewrite: disabled
downstateflush: DISABLED downstateflush: disabled
disableprimaryondown: DISABLED disableprimaryondown: disabled
insertvserveripport: VIPADDR insertvserveripport: VIPADDR
vipheader: someheader vipheader: someheader
rtspnat: off rtspnat: off
@ -40,12 +40,12 @@
listenpolicy: "NONE" listenpolicy: "NONE"
authn401: off authn401: off
authnvsname: someserver authnvsname: someserver
push: DISABLED push: disabled
pushvserver: push_lb_vserver pushvserver: push_lb_vserver
pushlabel: none pushlabel: none
pushmulticlients: no pushmulticlients: no
comment: some comment comment: some comment
l2conn: off l2conn: off
appflowlog: ENABLED appflowlog: enabled
icmpvsrresponse: PASSIVE icmpvsrresponse: PASSIVE
rhistate: PASSIVE rhistate: PASSIVE

View file

@ -18,20 +18,20 @@
port: 80 port: 80
dnsrecordtype: A dnsrecordtype: A
range: 2 range: 2
stateupdate: DISABLED stateupdate: disabled
cacheable: no cacheable: no
redirecturl: http://url.com redirecturl: http://url.com
clttimeout: 200 clttimeout: 200
precedence: RULE precedence: RULE
casesensitive: on casesensitive: on
somethod: CONNECTION somethod: CONNECTION
sopersistence: ENABLED sopersistence: enabled
sopersistencetimeout: 50 sopersistencetimeout: 50
sothreshold: 200 sothreshold: 200
sobackupaction: DROP sobackupaction: DROP
redirectportrewrite: DISABLED redirectportrewrite: disabled
downstateflush: DISABLED downstateflush: disabled
disableprimaryondown: DISABLED disableprimaryondown: disabled
insertvserveripport: VIPADDR insertvserveripport: VIPADDR
vipheader: someheader vipheader: someheader
rtspnat: off rtspnat: off
@ -40,12 +40,12 @@
listenpolicy: "NONE" listenpolicy: "NONE"
authn401: off authn401: off
authnvsname: someserver authnvsname: someserver
push: DISABLED push: disabled
pushvserver: push_lb_vserver pushvserver: push_lb_vserver
pushlabel: none pushlabel: none
pushmulticlients: no pushmulticlients: no
comment: some comment comment: some comment
l2conn: off l2conn: off
appflowlog: ENABLED appflowlog: enabled
icmpvsrresponse: PASSIVE icmpvsrresponse: PASSIVE
rhistate: PASSIVE rhistate: PASSIVE

View file

@ -12,9 +12,9 @@
siteipaddress: 192.168.1.1 siteipaddress: 192.168.1.1
sitetype: LOCAL sitetype: LOCAL
publicip: 192.168.1.1 publicip: 192.168.1.1
metricexchange: ENABLED metricexchange: enabled
nwmetricexchange: ENABLED nwmetricexchange: enabled
sessionexchange: ENABLED sessionexchange: enabled
triggermonitor: ALWAYS triggermonitor: ALWAYS

View file

@ -22,17 +22,17 @@
persistmask: 255.255.255.0 persistmask: 255.255.255.0
v6persistmasklen: 128 v6persistmasklen: 128
timeout: 1000 timeout: 1000
mir: DISABLED mir: disabled
disableprimaryondown: DISABLED disableprimaryondown: disabled
dynamicweight: DISABLED dynamicweight: DISABLED
considereffectivestate: NONE considereffectivestate: NONE
comment: some comment comment: some comment
somethod: CONNECTION somethod: CONNECTION
sopersistence: DISABLED sopersistence: disabled
sopersistencetimeout: 100 sopersistencetimeout: 100
sothreshold: 5000 sothreshold: 5000
sobackupaction: DROP sobackupaction: DROP
appflowlog: DISABLED appflowlog: disabled
domain_bindings: domain_bindings:
- domainname: example.com - domainname: example.com

View file

@ -22,17 +22,17 @@
persistmask: 255.255.255.0 persistmask: 255.255.255.0
v6persistmasklen: 128 v6persistmasklen: 128
timeout: 500 timeout: 500
mir: DISABLED mir: disabled
disableprimaryondown: DISABLED disableprimaryondown: disabled
dynamicweight: DISABLED dynamicweight: DISABLED
considereffectivestate: NONE considereffectivestate: NONE
comment: some comment comment: some comment
somethod: CONNECTION somethod: CONNECTION
sopersistence: DISABLED sopersistence: disabled
sopersistencetimeout: 100 sopersistencetimeout: 100
sothreshold: 5000 sothreshold: 5000
sobackupaction: DROP sobackupaction: DROP
appflowlog: DISABLED appflowlog: disabled
domain_bindings: domain_bindings:
- domainname: example.com - domainname: example.com

View file

@ -22,17 +22,17 @@
persistmask: 255.255.255.0 persistmask: 255.255.255.0
v6persistmasklen: 128 v6persistmasklen: 128
timeout: 500 timeout: 500
mir: DISABLED mir: disabled
disableprimaryondown: DISABLED disableprimaryondown: disabled
dynamicweight: DISABLED dynamicweight: DISABLED
considereffectivestate: NONE considereffectivestate: NONE
comment: some comment comment: some comment
somethod: CONNECTION somethod: CONNECTION
sopersistence: DISABLED sopersistence: disabled
sopersistencetimeout: 100 sopersistencetimeout: 100
sothreshold: 5000 sothreshold: 5000
sobackupaction: DROP sobackupaction: DROP
appflowlog: DISABLED appflowlog: disabled
domain_bindings: domain_bindings:
- domainname: anotherexample.com - domainname: anotherexample.com

View file

@ -22,17 +22,17 @@
persistmask: 255.255.255.0 persistmask: 255.255.255.0
v6persistmasklen: 128 v6persistmasklen: 128
timeout: 500 timeout: 500
mir: DISABLED mir: disabled
disableprimaryondown: DISABLED disableprimaryondown: disabled
dynamicweight: DISABLED dynamicweight: DISABLED
considereffectivestate: NONE considereffectivestate: NONE
comment: some comment comment: some comment
somethod: CONNECTION somethod: CONNECTION
sopersistence: DISABLED sopersistence: disabled
sopersistencetimeout: 100 sopersistencetimeout: 100
sothreshold: 5000 sothreshold: 5000
sobackupaction: DROP sobackupaction: DROP
appflowlog: DISABLED appflowlog: disabled
domain_bindings: domain_bindings:
- domainname: example.com - domainname: example.com

View file

@ -19,4 +19,4 @@
sipuri: sip:sip.test sipuri: sip:sip.test
sipreguri: sip:sip.register sipreguri: sip:sip.register
lrtm: DISABLED lrtm: disabled

View file

@ -27,30 +27,30 @@
v6persistmasklen: 64 v6persistmasklen: 64
m: IP m: IP
tosid: 6 tosid: 6
sessionless: DISABLED sessionless: disabled
redirurl: http://somewhere.com redirurl: http://somewhere.com
cacheable: no cacheable: no
clttimeout: 111 clttimeout: 111
somethod: CONNECTION somethod: CONNECTION
sopersistence: DISABLED sopersistence: disabled
sopersistencetimeout: 222 sopersistencetimeout: 222
sothreshold: 4096 sothreshold: 4096
healththreshold: 55 healththreshold: 55
sobackupaction: DROP sobackupaction: DROP
redirectportrewrite: DISABLED redirectportrewrite: disabled
downstateflush: DISABLED downstateflush: disabled
disableprimaryondown: DISABLED disableprimaryondown: disabled
insertvserveripport: VIPADDR insertvserveripport: VIPADDR
vipheader: vip vipheader: vip
authenticationhost: authenticate.me authenticationhost: authenticate.me
authentication: off authentication: off
authn401: off authn401: off
authnvsname: somename authnvsname: somename
push: DISABLED push: disabled
pushmulticlients: no pushmulticlients: no
comment: Vserver comment comment: Vserver comment
l2conn: "OFF" l2conn: "OFF"
appflowlog: DISABLED appflowlog: disabled
icmpvsrresponse: PASSIVE icmpvsrresponse: PASSIVE
rhistate: PASSIVE rhistate: PASSIVE
newservicerequest: 11 newservicerequest: 11
@ -58,10 +58,10 @@
newservicerequestincrementinterval: 5 newservicerequestincrementinterval: 5
minautoscalemembers: 8 minautoscalemembers: 8
maxautoscalemembers: 10 maxautoscalemembers: 10
macmoderetainvlan: DISABLED macmoderetainvlan: disabled
dns64: DISABLED dns64: disabled
bypassaaaa: no bypassaaaa: no
processlocal: DISABLED processlocal: disabled
backuplbmethod: LEASTCONNECTION backuplbmethod: LEASTCONNECTION
hashlength: 100 hashlength: 100
servicebindings: servicebindings:

View file

@ -27,30 +27,30 @@
v6persistmasklen: 64 v6persistmasklen: 64
m: IP m: IP
tosid: 6 tosid: 6
sessionless: DISABLED sessionless: disabled
redirurl: http://somewhere.com redirurl: http://somewhere.com
cacheable: no cacheable: no
clttimeout: 222 clttimeout: 222
somethod: CONNECTION somethod: CONNECTION
sopersistence: DISABLED sopersistence: disabled
sopersistencetimeout: 222 sopersistencetimeout: 222
sothreshold: 4096 sothreshold: 4096
healththreshold: 55 healththreshold: 55
sobackupaction: DROP sobackupaction: DROP
redirectportrewrite: DISABLED redirectportrewrite: disabled
downstateflush: DISABLED downstateflush: disabled
disableprimaryondown: DISABLED disableprimaryondown: disabled
insertvserveripport: VIPADDR insertvserveripport: VIPADDR
vipheader: vip vipheader: vip
authenticationhost: authenticate.me authenticationhost: authenticate.me
authentication: off authentication: off
authn401: off authn401: off
authnvsname: somename authnvsname: somename
push: DISABLED push: disabled
pushmulticlients: no pushmulticlients: no
comment: Vserver comment comment: Vserver comment
l2conn: "OFF" l2conn: "OFF"
appflowlog: DISABLED appflowlog: disabled
icmpvsrresponse: PASSIVE icmpvsrresponse: PASSIVE
rhistate: PASSIVE rhistate: PASSIVE
newservicerequest: 11 newservicerequest: 11
@ -58,10 +58,10 @@
newservicerequestincrementinterval: 5 newservicerequestincrementinterval: 5
minautoscalemembers: 8 minautoscalemembers: 8
maxautoscalemembers: 10 maxautoscalemembers: 10
macmoderetainvlan: DISABLED macmoderetainvlan: disabled
dns64: DISABLED dns64: disabled
bypassaaaa: no bypassaaaa: no
processlocal: DISABLED processlocal: disabled
backuplbmethod: LEASTCONNECTION backuplbmethod: LEASTCONNECTION
hashlength: 100 hashlength: 100
servicebindings: servicebindings:

View file

@ -19,4 +19,4 @@
mysqlcharacterset: 8 mysqlcharacterset: 8
mysqlservercapabilities: 244 mysqlservercapabilities: 244
dbslb: DISABLED dbslb: disabled

View file

@ -17,14 +17,13 @@
maxclient: 100 maxclient: 100
maxreq: 100 maxreq: 100
cacheable: no cacheable: no
cip: ENABLED cip: enabled
cipheader: cip-header cipheader: cip-header
usip: no usip: no
pathmonitor: no pathmonitor: no
pathmonitorindv: no pathmonitorindv: no
useproxyport: no useproxyport: no
healthmonitor: no healthmonitor: no
sc: off
sp: off sp: off
rtspsessionidremap: off rtspsessionidremap: off
clttimeout: 2000 clttimeout: 2000
@ -34,9 +33,9 @@
cmp: no cmp: no
maxbandwidth: 5000 maxbandwidth: 5000
monthreshold: 100 monthreshold: 100
downstateflush: DISABLED downstateflush: disabled
comment: some comment comment: some comment
appflowlog: ENABLED appflowlog: enabled
autoscale: POLICY autoscale: POLICY
memberport: 80 memberport: 80
graceful: no graceful: no

View file

@ -17,14 +17,13 @@
maxclient: 100 maxclient: 100
maxreq: 100 maxreq: 100
cacheable: no cacheable: no
cip: ENABLED cip: enabled
cipheader: cip-header cipheader: cip-header
usip: no usip: no
pathmonitor: no pathmonitor: no
pathmonitorindv: no pathmonitorindv: no
useproxyport: no useproxyport: no
healthmonitor: no healthmonitor: no
sc: off
sp: off sp: off
rtspsessionidremap: off rtspsessionidremap: off
clttimeout: 1000 clttimeout: 1000
@ -34,9 +33,9 @@
cmp: no cmp: no
maxbandwidth: 5000 maxbandwidth: 5000
monthreshold: 100 monthreshold: 100
downstateflush: DISABLED downstateflush: disabled
comment: some comment comment: some comment
appflowlog: ENABLED appflowlog: enabled
autoscale: POLICY autoscale: POLICY
memberport: 80 memberport: 80
graceful: no graceful: no