Anons79 Mini Shell

Directory : /lib/python2.7/site-packages/ansible/modules/network/f5/
Upload File :
Current File : //lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyo

�
�Udac@`sSddlmZmZmZeZidd6dgd6dd6ZdZd	Zd
Z	ddl
mZddl
mZytdd
l
mZddlmZddlmZddlmZddlmZddlmZddlmZWn�ek
ridd
lmZddlmZddlmZddlmZddlmZddlmZddlmZnXdefd��YZdefd��YZdefd��YZdefd��YZdefd��YZdefd��YZd efd!��YZ d"efd#��YZ!d$efd%��YZ"d&�Z#e$d'krOe#�nd(S()i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontpreviewtstatust	certifiedtsupported_bys.
---
module: bigip_profile_fastl4
short_description: Manages Fast L4 profiles
description:
  - Manages Fast L4 profiles.
version_added: 2.8
options:
  name:
    description:
      - Specifies the name of the profile.
    type: str
    required: True
  parent:
    description:
      - Specifies the profile from which this profile inherits settings.
      - When creating a new profile, if this parameter is not specified, the default
        is the system-supplied C(fastL4) profile.
    type: str
  idle_timeout:
    description:
      - Specifies the length of time that a connection is idle (has no traffic) before
        the connection is eligible for deletion.
      - When creating a new profile, if this parameter is not specified, the remote
        device will choose a default value appropriate for the profile, based on its
        C(parent) profile.
      - When a number is specified, indicates the number of seconds that the TCP
        connection can remain idle before the system deletes it.
      - When C(indefinite), specifies that the system does not delete TCP connections
        regardless of how long they remain idle.
      - When C(0), or C(immediate), specifies that the system deletes connections
        immediately when they become idle.
    type: str
  client_timeout:
    description:
      - Specifies a timeout for Late Binding.
      - This is the time limit for the client to provide the application data required to
        select a back-end server. That is, this is the maximum time that the BIG-IP system
        waits for information about the sender and the target.
      - This information typically arrives at the beginning of the FIX logon packet.
      - When C(0), or C(immediate), allows for no time beyond the moment of the first packet
        transmission.
      - When C(indefinite), disables the limit. This allows the client unlimited time
        to send the sender and target information.
    type: str
  description:
    description:
      - Description of the profile.
    type: str
  explicit_flow_migration:
    description:
      - Specifies whether a qualified late-binding connection requires an explicit iRule
        command to migrate down to ePVA hardware.
      - When C(no), a late-binding connection migrates down to ePVA immediately after
        establishing the server-side connection.
      - When C(yes), this parameter stops automatic migration to ePVA, and requires that
        the iRule explicitly trigger ePVA processing by invoking the C(release_flow)
        iRule command. This allows an iRule author to control when the connection uses the
        ePVA hardware.
    type: bool
  ip_df_mode:
    description:
      - Specifies the Don't Fragment (DF) bit setting in the IP Header of the outgoing TCP packet.
      - When C(pmtu), sets the outgoing IP Header DF bit based on IP pmtu setting.
      - When C(preserve), sets the outgoing Packet's IP Header DF bit to be same as incoming IP
        Header DF bit.
      - When C(set), sets the outgoing packet's IP Header DF bit.
      - When C(clear), clears the outgoing packet's IP Header DF bit.
    type: str
    choices:
      - pmtu
      - preserve
      - set
      - clear
  ip_tos_to_client:
    description:
      - Specifies, for IP traffic passing through the system to clients, whether the system
        modifies the IP type-of-service (ToS) setting in an IP packet header.
      - May be a number between 0 and 255 (inclusive). When a number, specifies the IP ToS
        setting that the system inserts in the IP packet header.
      - When C(pass-through), specifies that the IP ToS setting remains unchanged.
      - When C(mimic), specifies that the system sets the ToS level of outgoing packets to
        the same ToS level of the most-recently received incoming packet.
    type: str
  ip_tos_to_server:
    description:
      - Specifies, for IP traffic passing through the system to back-end servers, whether
        the system modifies the IP type-of-service (ToS) setting in an IP packet header.
      - May be a number between 0 and 255 (inclusive). When a number, specifies the IP ToS
        setting that the system inserts in the IP packet header.
      - When C(pass-through), specifies that the IP ToS setting remains unchanged.
      - When C(mimic), specifies that the system sets the ToS level of outgoing packets to
        the same ToS level of the most-recently received incoming packet.
    type: str
  ip_ttl_mode:
    description:
      - Specifies the outgoing TCP packet's IP Header TTL mode.
      - When C(proxy), sets the outgoing IP Header TTL value to 255/64 for IPv4/IPv6 respectively.
      - When C(preserve), sets the outgoing IP Header TTL value to be same as the incoming
        IP Header TTL value.
      - When C(decrement), sets the outgoing IP Header TTL value to be one less than the
        incoming TTL value.
      - When C(set), sets the outgoing IP Header TTL value to a specific value(as specified
        by C(ip_ttl_v4) or C(ip_ttl_v6).
    type: str
    choices:
      - proxy
      - preserve
      - decrement
      - set
  ip_ttl_v4:
    description:
      - Specifies the outgoing packet's IP Header TTL value for IPv4 traffic.
      - Maximum TTL value that can be specified is 255.
    type: int
  ip_ttl_v6:
    description:
      - Specifies the outgoing packet's IP Header TTL value for IPv6 traffic.
      - Maximum TTL value that can be specified is 255.
    type: int
  keep_alive_interval:
    description:
      - Specifies the keep-alive probe interval, in seconds.
    type: int
  late_binding:
    description:
      - Enables intelligent selection of a back-end server or pool, using an
        iRule to make the selection.
    type: bool
  link_qos_to_client:
    description:
      - Specifies, for IP traffic passing through the system to clients,
        whether the system modifies the link quality-of-service (QoS) setting
        in an IP packet header.
      - The link QoS value prioritizes the IP packet relative to other Layer
        2 traffic.
      - You can specify a number between 0 (lowest priority) and 7 (highest priority).
      - When a number, specifies the link QoS setting that the system inserts
        in the IP packet header.
      - When C(pass-through), specifies that the link QoS setting remains unchanged.
    type: str
  link_qos_to_server:
    description:
      - Specifies, for IP traffic passing through the system to back-end servers,
        whether the system modifies the link quality-of-service (QoS) setting
        in an IP packet header.
      - The link QoS value prioritizes the IP packet relative to other Layer
        2 traffic.
      - You can specify a number between 0 (lowest priority) and 7 (highest priority).
      - When a number, specifies the link QoS setting that the system inserts
        in the IP packet header.
      - When C(pass-through), specifies that the link QoS setting remains unchanged.
    type: str
  loose_close:
    description:
      - When C(yes), specifies, that the system closes a loosely-initiated connection
        when the system receives the first FIN packet from either the client or the server.
    type: bool
  loose_initialization:
    description:
      - When C(yes), specifies that the system initializes a connection when it
        receives any TCP packet, rather that requiring a SYN packet for connection
        initiation.
    type: bool
  mss_override:
    description:
      - Specifies a maximum segment size (MSS) override for server-side connections.
      - Valid range is 256 to 9162 or 0 to disable.
    type: int
  reassemble_fragments:
    description:
      - When C(yes), specifies that the system reassembles IP fragments.
    type: bool
  receive_window_size:
    description:
      - Specifies the amount of data the BIG-IP system can accept without acknowledging
        the server.
    type: int
  reset_on_timeout:
    description:
      - When C(yes), specifies that the system sends a reset packet (RST) in addition
        to deleting the connection, when a connection exceeds the idle timeout value.
    type: bool
  rtt_from_client:
    description:
      - When C(yes), specifies that the system uses TCP timestamp options to measure
        the round-trip time to the client.
    type: bool
  rtt_from_server:
    description:
      - When C(yes), specifies that the system uses TCP timestamp options to measure
        the round-trip time to the server.
    type: bool
  server_sack:
    description:
      - Specifies whether the BIG-IP system processes Selective ACK (Sack) packets
        in cookie responses from the server.
    type: bool
  server_timestamp:
    description:
      - Specifies whether the BIG-IP system processes timestamp request packets in
        cookie responses from the server.
    type: bool
  syn_cookie_mss:
    description:
      - Specifies a value that overrides the SYN cookie maximum segment size (MSS)
        value in the SYN-ACK packet that is returned to the client.
      - Valid values are 0, and values from 256 through 9162.
    type: int
  tcp_close_timeout:
    description:
      - Specifies the length of time a connection can remain idle before deletion.
    type: str
  tcp_generate_isn:
    description:
      - When C(yes), specifies that the system generates initial sequence numbers
        for SYN packets, according to RFC 1948.
    type: bool
  tcp_handshake_timeout:
    description:
      - Specifies the acceptable duration for a TCP handshake, that is, the maximum
        idle time between a client synchronization (SYN) and a client acknowledgment
        (ACK). If the TCP handshake takes longer than the timeout, the system
        automatically closes the connection.
      - When a number, specifies how long the system can try to establish a TCP
        handshake before timing out.
      - When C(disabled), specifies that the system does not apply a timeout to a
        TCP handshake.
      - When C(indefinite), specifies that attempting a TCP handshake never times out.
    type: str
  tcp_strip_sack:
    description:
      - When C(yes), specifies that the system blocks a TCP selective ACK SackOK
        option from passing to the server on an initiating SYN.
    type: bool
  tcp_time_wait_timeout:
    description:
      - Specifies the number of milliseconds that a connection is in the TIME-WAIT
        state before closing.
    type: int
  tcp_timestamp_mode:
    description:
      - Specifies the action that the system should take on TCP timestamps.
    type: str
    choices:
      - preserve
      - rewrite
      - strip
  tcp_wscale_mode:
    description:
      - Specifies the action that the system should take on TCP windows.
    type: str
    choices:
      - preserve
      - rewrite
      - strip
  timeout_recovery:
    description:
      - Specifies how to handle client-timeout errors for Late Binding.
      - Timeout errors may be caused by a DoS attack or a lossy connection.
      - When C(disconnect), causes the BIG-IP system to drop the connection.
      - When C(fallback), reverts the connection to normal FastL4 load-balancing,
        based on the client's TCP header. This causes the BIG-IP system to choose
        a back-end server based only on the source address and port.
    type: str
    choices:
      - disconnect
      - fallback
  partition:
    description:
      - Device partition to manage resources on.
    type: str
    default: Common
  state:
    description:
      - When C(present), ensures that the profile exists.
      - When C(absent), ensures the profile is removed.
    type: str
    choices:
      - present
      - absent
    default: present
extends_documentation_fragment: f5
author:
  - Tim Rupp (@caphrim007)
s�
- name: Create a fastL4 profile
  bigip_profile_fastl4:
    name: foo
    provider:
      password: secret
      server: lb.mydomain.com
      user: admin
  delegate_to: localhost
s�
client_timeout:
  description: The new client timeout value of the resource.
  returned: changed
  type: str
  sample: true
description:
  description: The new description.
  returned: changed
  type: str
  sample: My description
explicit_flow_migration:
  description: The new flow migration setting.
  returned: changed
  type: bool
  sample: yes
idle_timeout:
  description: The new idle timeout setting.
  returned: changed
  type: str
  sample: 123
ip_df_mode:
  description: The new Don't Fragment Flag (DF) setting.
  returned: changed
  type: str
  sample: clear
ip_tos_to_client:
  description: The new IP ToS to Client setting.
  returned: changed
  type: str
  sample: 100
ip_tos_to_server:
  description: The new IP ToS to Server setting.
  returned: changed
  type: str
  sample: 100
ip_ttl_mode:
  description: The new Time To Live (TTL) setting.
  returned: changed
  type: str
  sample: proxy
ip_ttl_v4:
  description: The new Time To Live (TTL) v4 setting.
  returned: changed
  type: int
  sample: 200
ip_ttl_v6:
  description: The new Time To Live (TTL) v6 setting.
  returned: changed
  type: int
  sample: 200
keep_alive_interval:
  description: The new TCP Keep Alive Interval setting.
  returned: changed
  type: int
  sample: 100
late_binding:
  description: The new Late Binding setting.
  returned: changed
  type: bool
  sample: yes
link_qos_to_client:
  description: The new Link QoS to Client setting.
  returned: changed
  type: str
  sample: pass-through
link_qos_to_server:
  description: The new Link QoS to Server setting.
  returned: changed
  type: str
  sample: 123
loose_close:
  description: The new Loose Close setting.
  returned: changed
  type: bool
  sample: no
loose_initialization:
  description: The new Loose Initiation setting.
  returned: changed
  type: bool
  sample: no
mss_override:
  description: The new Maximum Segment Size Override setting.
  returned: changed
  type: int
  sample: 300
reassemble_fragments:
  description: The new Reassemble IP Fragments setting.
  returned: changed
  type: bool
  sample: yes
receive_window_size:
  description: The new Receive Window setting.
  returned: changed
  type: int
  sample: 1024
reset_on_timeout:
  description: The new Reset on Timeout setting.
  returned: changed
  type: bool
  sample: no
rtt_from_client:
  description: The new RTT from Client setting.
  returned: changed
  type: bool
  sample: no
rtt_from_server:
  description: The new RTT from Server setting.
  returned: changed
  type: bool
  sample: no
server_sack:
  description: The new Server Sack setting.
  returned: changed
  type: bool
  sample: yes
server_timestamp:
  description: The new Server Timestamp setting.
  returned: changed
  type: bool
  sample: yes
syn_cookie_mss:
  description: The new SYN Cookie MSS setting.
  returned: changed
  type: int
  sample: 1024
tcp_close_timeout:
  description: The new TCP Close Timeout setting.
  returned: changed
  type: str
  sample: 100
tcp_generate_isn:
  description: The new Generate Initial Sequence Number setting.
  returned: changed
  type: bool
  sample: no
tcp_handshake_timeout:
  description: The new TCP Handshake Timeout setting.
  returned: changed
  type: int
  sample: 5
tcp_strip_sack:
  description: The new Strip Sack OK setting.
  returned: changed
  type: bool
  sample: no
tcp_time_wait_timeout:
  description: The new TCP Time Wait Timeout setting.
  returned: changed
  type: int
  sample: 100
tcp_timestamp_mode:
  description: The new TCP Timestamp Mode setting.
  returned: changed
  type: str
  sample: rewrite
tcp_wscale_mode:
  description: The new TCP Window Scale Mode setting.
  returned: changed
  type: str
  sample: strip
timeout_recovery:
  description: The new Timeout Recovery setting.
  returned: changed
  type: str
  sample: fallback
(t
AnsibleModule(tenv_fallback(tF5RestClient(t
F5ModuleError(tAnsibleF5Parameters(tfq_name(tf5_argument_spec(ttransform_name(tflatten_booleant
Parametersc"B`s)eZi!dd6dd6dd6dd6dd	6d
d6dd
6dd6dd6dd6dd6dd6dd6dd6dd6dd6d d!6d"d#6d$d%6d&d'6d(d)6d*d+6d,d-6d.d/6d0d16d2d36d4d56d6d76d8d96d:d;6d<d=6d>d?6d@dA6ZdddBddd	dd
dddddddddd!d#d%d'd)d+d-d/d1d3d5d7d9d;d=d?dAg"ZddBdddd
ddddddddddd dd"d$d&d(d*d,d.d0d2d4d6d8d:d<d>d@g"ZddBdddd
ddddddddddd dd"d$d&d(d*d,d.d0d2d4d6d8d:d<d>d@g"ZedC��ZedD��ZedE��Z	edF��Z
edG��ZedH��ZedI��Z
edJ��ZedK��ZedL��ZedM��ZedN��ZedO��ZedP��ZedQ��ZedR��ZRS(Stclient_timeoutt
clientTimeouttparenttdefaultsFromtexplicit_flow_migrationtexplicitFlowMigrationtidle_timeouttidleTimeoutt
ip_df_modetipDfModetip_tos_to_clientt
ipTosToClienttip_tos_to_servert
ipTosToServertip_ttl_modet	ipTtlModet	ip_ttl_v4tipTtlV4t	ip_ttl_v6tipTtlV6tkeep_alive_intervaltkeepAliveIntervaltlate_bindingtlateBindingtlink_qos_to_clienttlinkQosToClienttlink_qos_to_servertlinkQosToServertloose_closet
looseClosetloose_initializationtlooseInitializationtmss_overridetmssOverridetreassemble_fragmentstreassembleFragmentstreceive_window_sizetreceiveWindowSizetreset_on_timeouttresetOnTimeouttrtt_from_clientt
rttFromClienttrtt_from_servert
rttFromServertserver_sackt
serverSacktserver_timestamptserverTimestamptsyn_cookie_msstsynCookieMssttcp_close_timeoutttcpCloseTimeoutttcp_generate_isnttcpGenerateIsnttcp_handshake_timeoutttcpHandshakeTimeoutttcp_strip_sackttcpStripSackttcp_time_wait_timeoutttcpTimeWaitTimeoutttcp_timestamp_modettcpTimestampModettcp_wscale_modet
tcpWscaleModettimeout_recoveryttimeoutRecoverytdescriptioncC`st|jd�}|S(NR(Rt_values(tselftresult((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR�scC`st|jd�S(NR((RRU(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR(�scC`st|jd�S(NR.(RRU(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR.�scC`st|jd�S(NR0(RRU(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR0�scC`st|jd�S(NR4(RRU(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR4�scC`st|jd�S(NR8(RRU(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR8�scC`st|jd�S(NR:(RRU(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR:�scC`st|jd�S(NR<(RRU(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR<�scC`st|jd�S(NR>(RRU(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR>�scC`st|jd�S(NR@(RRU(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR@�scC`st|jd�S(NRF(RRU(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyRF�scC`st|jd�S(NRJ(RRU(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyRJ�scC`sL|jddkrdSyt|jd�SWntk
rG|jdSXdS(NRD(RUtNonetintt
ValueError(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyRD�s
cC`sc|jddkrdSyt|jd�SWn0tk
r^|jddkrSdS|jdSXdS(NRHtdisabledt	immediatei(R[R\(RURXRYRZ(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyRH�s
cC`sz|jddkrdSyt|jd�SWnGtk
ru|jddkrSdS|jddkrjdS|jdSXdS(NRR\it
indefiniteI����(RURXRYRZ(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR�s
cC`s4|jddkrdSt|j|jd�}|S(NR(RURXR
t	partition(RVRW((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR�s(t__name__t
__module__tapi_maptapi_attributestreturnablest
updatablestpropertyRR(R.R0R4R8R:R<R>R@RFRJRDRHRR(((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR�s0
				
t
ApiParameterscB`s�eZed��Zed��Zed��Zed��Zed��Zed��Zed��Z	d�Z
d�ZRS(	cC`s"|jddkrdS|jdS(NRTtnone(NRg(RURX(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyRT�scC`sL|jddkrdSyt|jd�SWntk
rG|jdSXdS(NR(RURXRYRZ(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR�s
cC`s
|jd�S(NR(ttransform_ip_tos(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR�scC`s
|jd�S(NR(Rh(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR�scC`sL|jddkrdSyt|jd�SWntk
rG|jdSXdS(NR&(RURXRYRZ(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR&�s
cC`s
|jd�S(NR*(ttransform_link_qos(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR*scC`s
|jd�S(NR,(Ri(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR,	scC`sR|j|dkrdSyt|j|�}|SWntk
rM|j|SXdS(N(RURXRYRZ(RVtkeyRW((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyRh
s
cC`sl|j|dkrdS|j|dkr.dSdt|j|�koRdknrht|j|�SdS(Nspass-throughii(RURXRY(RVRj((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyRis)(R_R`ReRTRRRR&R*R,RhRi(((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyRf�s				tModuleParameterscB`s�eZed��Zed��Zed��Zed��Zed��Zed��Zed��Z	ed��Z
ed��Zd	�Zd
�Z
RS(cC`s9|jddkrdS|jddkr.dS|jdS(NRTRgt(snoneRl(RURX(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyRT s
cC`sb|jddkrdSy+t|jd�}|dkr=dS|SWntk
r]|jdSXdS(NRiR\(RURXRYRZ(RVRW((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR(s
cC`s
|jd�S(NR(Rh(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR4scC`s
|jd�S(NR(Rh(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR8scC`s[|jddkrdSd|jdko5dknrKt|jd�Std��dS(NR"ii�s#ip_ttl_v4 must be between 0 and 255(RURXRYR(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR"<s#cC`s[|jddkrdSd|jdko5dknrKt|jd�Std��dS(NR$ii�s#ip_ttl_v6 must be between 0 and 255(RURXRYR(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR$Fs#cC`s>|jddkrdSt|jd�}|dkr:dS|S(NR&iR[(RURXRY(RVRW((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR&PscC`s.|jd�}|dkr*td��n|S(NR*i����s*link_qos_to_client must be between 0 and 7(RiR(RVRW((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR*Ys
cC`s.|jd�}|dkr*td��n|S(NR,i����s*link_qos_to_server must be between 0 and 7(RiR(RVRW((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR,bs
cC`sp|j|dkrdS|j|dkr.dSdt|j|�koRdknrht|j|�SdSdS(Nspass-throughiii����(RURXRY(RVRj((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyRiks)cC`si|j|dkrdSyt|j|�}|SWn0tk
rd|j|dkrYdS|j|SXdS(Ntmimici��(RURXRYRZ(RVRjRW((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyRhus
(R_R`ReRTRRRR"R$R&R*R,RiRh(((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyRks

				
tChangescB`seZd�ZRS(cC`sXi}y:x$|jD]}t||�||<qW|j|�}Wntk
rSnX|S(N(Rctgetattrt_filter_paramst	Exception(RVRWt
returnable((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyt	to_return�s
(R_R`Rs(((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyRn�st
UsableChangescB`s�eZed��Zed��Zed��Zed��Zed��Zed��Zed��Z	ed��Z
ed��Zed	��Zed
��Z
ed��ZRS(cC`s2|jddkrdS|jddkr.dSdS(NRtyestenabledtnoR[(RU(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR�scC`s2|jddkrdS|jddkr.dSdS(NR(RuRvRwR[(RU(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR(�scC`s2|jddkrdS|jddkr.dSdS(NR.RuRvRwR[(RU(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR.�scC`s2|jddkrdS|jddkr.dSdS(NR0RuRvRwR[(RU(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR0�scC`s2|jddkrdS|jddkr.dSdS(NR4RuRvRwR[(RU(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR4�scC`s2|jddkrdS|jddkr.dSdS(NR8RuRvRwR[(RU(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR8�scC`s2|jddkrdS|jddkr.dSdS(NR:RuRvRwR[(RU(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR:�scC`s2|jddkrdS|jddkr.dSdS(NR<RuRvRwR[(RU(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR<�scC`s2|jddkrdS|jddkr.dSdS(NR>RuRvRwR[(RU(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR>�scC`s2|jddkrdS|jddkr.dSdS(NR@RuRvRwR[(RU(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR@�scC`s2|jddkrdS|jddkr.dSdS(NRFRuRvRwR[(RU(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyRF�scC`s2|jddkrdS|jddkr.dSdS(NRJRuRvRwR[(RU(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyRJ�s(R_R`ReRR(R.R0R4R8R:R<R>R@RFRJ(((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyRt�stReportableChangescB`seZed��Zed��Zed��Zed��Zed��Zed��Zed��Z	ed��Z
ed��Zed	��Zed
��Z
ed��Zed��Zed
��Zed��Zed��Zd�ZRS(cC`st|jd�}|S(NR(RRU(RVRW((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR�scC`st|jd�}|S(NR((RRU(RVRW((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR(�scC`st|jd�}|S(NR.(RRU(RVRW((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR.�scC`st|jd�}|S(NR0(RRU(RVRW((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR0�scC`st|jd�}|S(NR4(RRU(RVRW((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR4�scC`st|jd�}|S(NR8(RRU(RVRW((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR8�scC`st|jd�}|S(NR:(RRU(RVRW((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR:scC`st|jd�}|S(NR<(RRU(RVRW((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR<scC`st|jd�}|S(NR>(RRU(RVRW((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR>scC`st|jd�}|S(NR@(RRU(RVRW((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR@scC`st|jd�}|S(NRF(RRU(RVRW((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyRFscC`st|jd�}|S(NRJ(RRU(RVRW((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyRJscC`s
|jd�S(NR(t
report_ip_tos(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR scC`s
|jd�S(NR(Ry(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR$scC`s9|jddkrdS|jddkr.dS|jdS(NR&R[i(RURX(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR&(s
cC`sz|jddkrdSyt|jd�SWnGtk
ru|jddkrSdS|jddkrjdS|jdSXdS(NRiR\I����R](RURXRYRZ(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR0s
cC`sc|j|dkrdS|j|dkr.dSyt|j|�SWntk
r^|j|SXdS(Ni��Rm(RURXRYRZ(RVRj((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyRy=s
(R_R`ReRR(R.R0R4R8R:R<R>R@RFRJRRR&RRy(((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyRx�s"
t
DifferencecB`sDeZdd�Zd�Zd�Zed��Zed��ZRS(cC`s||_||_dS(N(twantthave(RVR{R|((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyt__init__Is	cC`s9yt||�}|SWntk
r4|j|�SXdS(N(RotAttributeErrort_Difference__default(RVtparamRW((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pytcompareMs

cC`sQt|j|�}y&t|j|�}||kr7|SWntk
rL|SXdS(N(RoR{R|R~(RVR�tattr1tattr2((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyt	__defaultTs
cC`s+|jj|jjkr'td��ndS(Ns$The parent profile cannot be changed(R{RR|R(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR]scC`sd|jjdkrdS|jjdkr>|jjdkr>dS|jj|jjkr`|jjSdS(NRl(R{RTRXR|(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyRTds$N(	R_R`RXR}R�RReRRT(((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyRzHs
			t
ModuleManagercB`s�eZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�Zd
�Zd�Zd�ZRS(cO`s^|jdd�|_t|jj�|_td|jj�|_t�|_	t
�|_dS(Ntmoduletparams(tgetRXR�R
R�tclientRkR{RfR|Rttchanges(RVtargstkwargs((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR}os
cC`sji}xBtjD]7}t|j|�dk	rt|j|�||<qqW|rftd|�|_ndS(NR�(RRcRoR{RXRtR�(RVtchangedRj((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyt_set_changed_optionsvscC`s�t|j|j�}tj}t�}xX|D]P}|j|�}|dkrUq.q.t|t�rt|j	|�q.|||<q.W|r�t
d|�|_tSt
S(NR�(RzR{R|RRdtdictR�RXt
isinstancetupdateRtR�tTruetFalse(RVtdiffRdR�tktchange((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyt_update_changed_options~s		
cC`s|j�}|rtStS(N(R�R�R�(RVRW((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyt
should_update�scC`s�t}t�}|jj}|dkr6|j�}n|dkrQ|j�}ntd|jj��}|j�}|j	|�|j	td|��|j
|�|S(NtpresenttabsentR�R�(R�R�R{tstateR�R�RxR�RsR�t_announce_deprecations(RVR�RWR�t
reportableR�((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pytexec_module�s	

cC`sK|jdg�}x2|D]*}|jjjd|dd|d�qWdS(Nt
__warningstmsgtversion(tpopR�R�t	deprecate(RVRWtwarningstwarning((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR��s


cC`s$|j�r|j�S|j�SdS(N(texistsR�tcreate(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR��s
cC`s�dj|jjd|jjdt|jj|jj��}|jjj|�}y|j	�}Wnt
k
rwtSX|jdks�d|kr�|ddkr�tSt
S(Ns.https://{0}:{1}/mgmt/tm/ltm/profile/fastl4/{2}tservertserver_porti�tcode(tformatR�tproviderRR{R^tnametapiR�tjsonRZR�RR�(RVturitresptresponse((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR��s


+cC`s=|j�|_|j�stS|jjr/tS|j�tS(N(tread_current_from_deviceR|R�R�R�t
check_modeR�tupdate_on_device(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR��s
cC`s9|jjrtS|j�|j�r5td��ntS(NsFailed to delete the resource.(R�R�R�tremove_from_deviceR�R(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pytremove�s
cC`s(|j�|jjrtS|j�tS(N(R�R�R�R�tcreate_on_device(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR��s


cC`s�|jj�}|jj|d<|jj|d<dj|jjd|jjd�}|jjj	|d|�}y|j
�}Wn%tk
r�}tt
|���nXd|kr�|ddkr�d|kr�t|d��q�t|j��ndS(
NR�R^s+https://{0}:{1}/mgmt/tm/ltm/profile/fastl4/R�R�R�R�i�i�i�tmessage(i�i�i�(R�t
api_paramsR{R�R^R�R�R�R�tpostR�RZRtstrtcontent(RVR�R�R�R�tex((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR��s
cC`s�|jj�}dj|jjd|jjdt|jj|jj��}|jj	j
|d|�}y|j�}Wn%tk
r�}t
t|���nXd|kr�|dd	kr�d|kr�t
|d��q�t
|j��ndS(
Ns.https://{0}:{1}/mgmt/tm/ltm/profile/fastl4/{2}R�R�R�R�i�i�R�(i�i�(R�R�R�R�R�RR{R^R�R�tpatchR�RZRR�R�(RVR�R�R�R�R�((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR��s

cC`s|j�r|j�StS(N(R�R�R�(RV((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR�s
cC`sydj|jjd|jjdt|jj|jj��}|jjj|�}|j	dkrft
St|j��dS(Ns.https://{0}:{1}/mgmt/tm/ltm/profile/fastl4/{2}R�R�i�(
R�R�R�RR{R^R�R�tdeleteRR�RR�(RVR�R�((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR�s

cC`s�dj|jjd|jjdt|jj|jj��}|jjj|�}y|j	�}Wn%t
k
r�}tt|���nXd|kr�|ddkr�d|kr�t|d��q�t|j
��ntd|�S(Ns.https://{0}:{1}/mgmt/tm/ltm/profile/fastl4/{2}R�R�R�i�R�R�(R�R�R�RR{R^R�R�R�R�RZRR�R�Rf(RVR�R�R�R�((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR�s

(R_R`R}R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�(((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR�ns 																tArgumentSpeccB`seZd�ZRS(cPC`syt|_tdtdt�dt�dt�dt�dt�dtdd	�d
tddd
ddg�dt�dt�dtdd�dtdd�dtdddd
dg�dtdd�dtdd	�dt�dt�dtdd	�dtdd	�dtdd�dtdd	�d tdd�d!tdd	�d"tdd	�d#tdd	�d$tdd	�d%tdd	�d&tdd�d't�d(tdd	�d)t�d*tdd	�d+tdd�d,tdd
d-d.g�d/tdd
d-d.g�d0tdd1d2g�d3td4d5dd5d6g�d7td4d8d1td9gf��%}i|_|jjt�|jj|�dS(:NR�trequiredRRRRTRttypetboolRtchoicestpmtutpreservetsettclearRRR"RYR$R tproxyt	decrementR&R(R*R,R.R0R2R4R6R8R:R<R>R@RBRDRFRHRJRLRNtrewritetstripRPRRtfallbackt
disconnectR�tdefaultR�R�R^tCommontF5_PARTITION(R�tsupports_check_modeR�R	t
argument_specR�R(RVR�((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR}(sf												(R_R`R}(((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyR�'scC`s�t�}td|jd|j�}y,td|�}|j�}|j|�Wn)tk
r{}|jdt	|��nXdS(NR�R�R�R�(
R�RR�R�R�R�t	exit_jsonRt	fail_jsonR�(tspecR�tmmtresultsR�((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pytmainfs		t__main__N(%t
__future__RRRR�t
__metaclass__tANSIBLE_METADATAt
DOCUMENTATIONtEXAMPLEStRETURNtansible.module_utils.basicRR	t%library.module_utils.network.f5.bigipR
t&library.module_utils.network.f5.commonRRR
RRRtImportErrort%ansible.module_utils.network.f5.bigipt&ansible.module_utils.network.f5.commonRRfRkRnRtRxtobjectRzR�R�R�R_(((sS/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_profile_fastl4.pyt<module>sL


� �
�;bVe&�?	

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]