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_log_destination.pyc

�
�Udac@`s�ddlmZmZmZeZidd6dgd6dd6ZdZd	Zd
Z	ddl
mZddl
mZytdd
l
mZddlmZddlmZddlmZddlmZddlmZddlmZWn�ek
ridd
lmZddlmZddlmZddlmZddlmZddlmZddlmZnXdefd��YZdefd��YZdefd��YZdefd��YZdefd��YZdefd��YZ d efd!��YZ!d"e!fd#��YZ"d$e!fd%��YZ#d&e!fd'��YZ$d(e$fd)��YZ%d*e$fd+��YZ&d,efd-��YZ'd.e'fd/��YZ(d0e'fd1��YZ)d2e'fd3��YZ*d4e*fd5��YZ+d6e*fd7��YZ,d8e-fd9��YZ.d:e-fd;��YZ/d<e/fd=��YZ0d>e/fd?��YZ1d@e/fdA��YZ2dBe/fdC��YZ3dDe/fdE��YZ4dFe/fdG��YZ5dHe-fdI��YZ6dJe-fdK��YZ7dL�Z8e9dMkr�e8�ndNS(Oi(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontpreviewtstatust	certifiedtsupported_bys�'
---
module: bigip_log_destination
short_description: Manages log destinations on a BIG-IP.
description:
  - Manages log destinations on a BIG-IP.
version_added: 2.6
options:
  name:
    description:
      - Specifies the name of the log destination.
    type: str
    required: True
  type:
    description:
      - Specifies the type of log destination.
      - Once created, this parameter cannot be changed.
    type: str
    choices:
      - remote-high-speed-log
      - remote-syslog
      - arcsight
      - splunk
      - management-port
      - ipfix
    required: True
  description:
    description:
      - The description of the log destination.
    type: str
  pool_settings:
    description:
      - This parameter is only available when C(type) is C(remote-high-speed-log).
      - Deprecated. Use the equivalent top-level parameters instead.
    suboptions:
      pool:
        description:
          - Specifies the existing pool of remote high-speed log servers where logs will be sent.
          - When creating a new destination (and C(type) is C(remote-high-speed-log)), this parameter
            is required.
        type: str
      protocol:
        description:
          - Specifies the protocol for the system to use to send logs to the pool of remote high-speed
            log servers, where the logs are stored.
          - When creating a new log destination (and C(type) is C(remote-high-speed-log)), if this
            parameter is not specified, the default is C(tcp).
        type: str
        choices:
          - tcp
          - udp
      distribution:
        description:
          - Specifies the distribution method used by the Remote High Speed Log destination to send
            messages to pool members.
          - When C(adaptive), connections to pool members will be added as required to provide enough
            logging bandwidth. This can have the undesirable effect of logs accumulating on only one
            pool member when it provides sufficient logging bandwidth on its own.
          - When C(balanced), sends each successive log to a new pool member, balancing the logs among
            them according to the pool's load balancing method.
          - When C(replicated), replicates each log to all pool members, for redundancy.
          - When creating a new log destination (and C(type) is C(remote-high-speed-log)), if this
            parameter is not specified, the default is C(adaptive).
        type: str
        choices:
          - adaptive
          - balanced
          - replicated
    type: dict
  syslog_settings:
    description:
      - This parameter is only available when C(type) is C(remote-syslog).
      - Deprecated. Use the equivalent top-level parameters instead.
    suboptions:
      syslog_format:
        description:
          - Specifies the method to use to format the logs associated with the remote Syslog log destination.
          - When creating a new log destination (and C(type) is C(remote-syslog)), if this parameter is
            not specified, the default is C(bsd-syslog).
          - The C(syslog) and C(rfc5424) choices are two ways of saying the same thing.
          - The C(bsd-syslog) and C(rfc3164) choices are two ways of saying the same thing.
        type: str
        choices:
          - bsd-syslog
          - syslog
          - legacy-bigip
          - rfc5424
          - rfc3164
      forward_to:
        description:
          - Specifies the management port log destination, which will be used to forward the logs to a
            single log server, or a remote high-speed log destination, which will be used to forward the
            logs to a pool of remote log servers.
          - When creating a new log destination (and C(type) is C(remote-syslog)), this parameter is required.
        type: str
    type: dict
  syslog_format:
    description:
      - Specifies the method to use to format the logs associated with the remote Syslog log destination.
      - When creating a new log destination (and C(type) is C(remote-syslog)), if this parameter is
        not specified, the default is C(bsd-syslog).
      - The C(syslog) and C(rfc5424) choices are two ways of saying the same thing.
      - The C(bsd-syslog) and C(rfc3164) choices are two ways of saying the same thing.
    type: str
    choices:
      - bsd-syslog
      - syslog
      - legacy-bigip
      - rfc5424
      - rfc3164
    version_added: 2.8
  forward_to:
    description:
      - When C(type) is C(remote-syslog), specifies the management port log destination, which will
        be used to forward the logs to a single log server, or a remote high-speed log destination,
        which will be used to forward the logs to a pool of remote log servers.
      - When C(type) is C(splunk) or C(arcsight), specifies the log destination to which logs are
        forwarded. This log destination may be a management port destination, a remote high-speed
        log destination, or a remote Syslog destination which is configured to send logs to an
        ArcSight or Splunk server.
      - When creating a new log destination and C(type) is C(remote-syslog), C(splunk), or C(arcsight),
        this parameter is required.
    type: str
    version_added: 2.8
  pool:
    description:
      - When C(type) is C(remote-high-speed-log), specifies the existing pool of remote high-speed
        log servers where logs will be sent.
      - When C(type) is C(ipfix), specifies the existing LTM pool of remote IPFIX collectors. Any
        BIG-IP application that uses this log destination sends its IP-traffic logs to this pool
        of collectors.
      - When creating a new destination and C(type) is C(remote-high-speed-log) or C(ipfix), this
        parameter is required.
    type: str
    version_added: 2.8
  protocol:
    description:
      - When C(type) is C(remote-high-speed-log), specifies the protocol for the system to use to
        send logs to the pool of remote high-speed log servers, where the logs are stored.
      - When C(type) is C(ipfix), can be IPFIX or Netflow v9, depending on the type of collectors
        you have in the pool that you specify.
      - When C(type) is C(management-port), specifies the protocol used to send messages to the
        specified location.
      - When C(type) is C(management-port), only C(tcp) and C(udp) are valid values.
    type: str
    choices:
      - tcp
      - udp
      - ipfix
      - netflow-9
    version_added: 2.8
  distribution:
    description:
      - Specifies the distribution method used by the Remote High Speed Log destination to send
        messages to pool members.
      - When C(adaptive), connections to pool members will be added as required to provide enough
        logging bandwidth. This can have the undesirable effect of logs accumulating on only one
        pool member when it provides sufficient logging bandwidth on its own.
      - When C(balanced), sends each successive log to a new pool member, balancing the logs among
        them according to the pool's load balancing method.
      - When C(replicated), replicates each log to all pool members, for redundancy.
      - When creating a new log destination and C(type) is C(remote-high-speed-log), if this
        parameter is not specified, the default is C(adaptive).
    type: str
    choices:
      - adaptive
      - balanced
      - replicated
    version_added: 2.8
  address:
    description:
      - Specifies the IP address that will receive messages from the specified local Log Destination.
      - This parameter is only available when C(type) is C(management-port).
      - When creating a new log destination and C(type) is C(management-port), this parameter
        is required.
    type: str
    version_added: 2.8
  port:
    description:
      - Specifies the port of the IP address that will receive messages from the specified local
        Log Destination.
      - This parameter is only available when C(type) is C(management-port).
      - When creating a new log destination and C(type) is C(management-port), this parameter
        is required.
    type: int
    version_added: 2.8
  transport_profile:
    description:
      - Is a transport profile based on either TCP or UDP.
      - This profile defines the TCP or UDP options used to send IP-traffic logs
        to the pool of collectors.
      - This parameter is only available when C(type) is C(ipfix).
    type: str
    version_added: 2.8
  server_ssl_profile:
    description:
      - If the C(transport_profile) is a TCP profile, you can use this field to
        choose a Secure Socket Layer (SSL) profile for sending logs to the IPFIX
        collectors.
      - An SSL server profile defines how to communicate securely over SSL or
        Transport Layer Security (TLS).
      - This parameter is only available when C(type) is C(ipfix).
    type: str
    version_added: 2.8
  template_retransmit_interval:
    description:
      - Enter the time (in seconds) between each transmission of IPFIX templates
        to the pool of IPFIX collectors.
      - The logging destination periodically retransmits all of its IPFIX templates
        at the interval you set in this field. These retransmissions are helpful
        for UDP, a lossy transport mechanism.
      - This parameter is only available when C(type) is C(ipfix).
    type: int
    version_added: 2.8
  template_delete_delay:
    description:
      - Enter the time (in seconds) that the BIG-IP device should pause between
        deleting an obsolete IPFIX template and reusing its template ID.
      - This feature is useful for systems where you use iRules to create
        customized IPFIX templates.
    type: int
    version_added: 2.8
  partition:
    description:
      - Device partition to manage resources on.
    type: str
    default: Common
  state:
    description:
      - When C(present), ensures that the resource exists.
      - When C(absent), ensures the resource is removed.
    type: str
    choices:
      - present
      - absent
    default: present
extends_documentation_fragment: f5
author:
  - Tim Rupp (@caphrim007)
s
- name: Create a high-speed logging destination
  bigip_log_destination:
    name: foo
    type: remote-high-speed-log
    pool: my-ltm-pool
    provider:
      password: secret
      server: lb.mydomain.com
      user: admin
  delegate_to: localhost

- name: Create a remote-syslog logging destination
  bigip_log_destination:
    name: foo
    type: remote-syslog
    syslog_format: rfc5424
    forward_to: my-destination
    provider:
      password: secret
      server: lb.mydomain.com
      user: admin
  delegate_to: localhost
s�
forward_to:
  description: The new Forward To value.
  returned: changed
  type: str
  sample: /Common/dest1
pool:
  description: The new Pool value.
  returned: changed
  type: str
  sample: /Common/pool1
distribution:
  description: The new Distribution Method value.
  returned: changed
  type: str
  sample: balanced
protocol:
  description: The new Protocol value.
  returned: changed
  type: str
  sample: tcp
syslog_format:
  description: The new Syslog format value.
  returned: changed
  type: str
  sample: syslog
address:
  description: The new Address value.
  returned: changed
  type: str
  sample: 1.2.3.2
port:
  description: The new Port value.
  returned: changed
  type: int
  sample: 2020
template_delete_delay:
  description: The new Template Delete Delay value.
  returned: changed
  type: int
  sample: 20
template_retransmit_interval:
  description: The new Template Retransmit Interval value.
  returned: changed
  type: int
  sample: 200
transport_profile:
  description: The new Transport Profile value.
  returned: changed
  type: str
  sample: /Common/tcp
server_ssl_profile:
  description: The new Server SSL Profile value.
  returned: changed
  type: str
  sample: /Common/serverssl
(t
AnsibleModule(tenv_fallback(tF5RestClient(t
F5ModuleError(tAnsibleF5Parameters(tfq_name(tf5_argument_spec(ttransform_name(tcmp_str_with_nonetV1ParameterscB`sIeZdZidd6dd6ZddgZddgZdddgZRS(s'Base Parameters for remote-syslog

    t
forward_totremoteHighSpeedLogt
syslog_formattformatttype(t__name__t
__module__t__doc__tapi_maptapi_attributestreturnablest
updatables(((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRhs
		tV1ModuleParameterscB`s&eZed��Zed��ZRS(cC`sl|jdr|jd}n0|jddkr4dS|jdjdd�}|rht|j|�}n|S(NRtsyslog_settings(t_valuestNonetgetR
t	partition(tselftresult((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�s
cC`s{|jdr|jd}n0|jddkr4dS|jdjdd�}|dkrbd}n|dkrwd}n|S(NRRtsyslogtrfc5424s
bsd-syslogtrfc3164(R R!R"(R$R%((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�s
		(RRtpropertyRR(((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�s
tV1ApiParameterscB`seZed��ZRS(cC`sdS(Ns
remote-syslog((R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�s(RRR)R(((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR*�st	V1ChangescB`seZd�ZRS(cC`sXi}y:x$|jD]}t||�||<qW|j|�}Wntk
rSnX|S(N(Rtgetattrt_filter_paramst	Exception(R$R%t
returnable((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyt	to_return�s
(RRR0(((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR+�stV1UsableChangescB`seZRS((RR(((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR1�stV1ReportableChangescB`seZRS((RR(((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR2�stV2ParameterscB`sKeZdZidd6ZdddgZdddgZddddgZRS(s/Base Parameters for remote-high-speed-log

    tpooltpoolNametdistributiontprotocolR(RRRRRRR(((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR3�s
		tV2ModuleParameterscB`s5eZed��Zed��Zed��ZRS(cC`sl|jdr|jd}n0|jddkr4dS|jdjdd�}|rht|j|�}n|S(NR4t
pool_settings(R R!R"R
R#(R$R%((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR4�s
cC`sJ|jdr|jdS|jddkr/dS|jdjdd�SdS(NR7R9(R R!R"(R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR7�s

cC`sJ|jdr|jdS|jddkr/dS|jdjdd�SdS(NR6R9(R R!R"(R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR6�s

(RRR)R4R7R6(((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR8�s	tV2ApiParameterscB`seZed��ZRS(cC`sdS(Nsremote-high-speed-log((R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�s(RRR)R(((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR:�st	V2ChangescB`seZd�ZRS(cC`sXi}y:x$|jD]}t||�||<qW|j|�}Wntk
rSnX|S(N(RR,R-R.(R$R%R/((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR0s
(RRR0(((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR;stV2UsableChangescB`seZRS((RR(((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR<stV2ReportableChangescB`seZRS((RR(((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR=stV3Parametersc
B`s�eZi
dd6dd6dd6dd6dd6d	d
6dd6d
d6dd6dd6Zdddd	ddddddddd
g
Zdddd	ddddd
ddgZddddd	ddddd
dddg
ZRS(Rt	forwardToR4R5RRRtaddresst	ipAddressR7tprotocolVersionttemplate_delete_delayttemplateDeleteDelayttemplate_retransmit_intervalttemplateRetransmitIntervalttransport_profilettransportProfiletserver_ssl_profiletserversslProfileR6tportR(RRRRRR(((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR>s`
		tV3ModuleParameterscB`sSeZed��Zed��Zed��Zed��Zed��ZRS(cC`s.|jddkrdSt|j|jd�S(NR(R R!R
R#(R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRYscC`s.|jddkrdSt|j|jd�S(NR4(R R!R
R#(R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR4_scC`sR|jddkrdS|jd}|dkr9d}n|dkrNd}n|S(NRR&R's
bsd-syslogR((R R!(R$R%((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRes
		cC`sE|jddkrdS|jddkr.dSt|j|jd�S(NRIttnone(RMRN(R R!R
R#(R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRIps
cC`s.|jddkrdSt|j|jd�S(NRG(R R!R
R#(R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRGxs(RRR)RR4RRIRG(((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRLXs
tV3ApiParameterscB`seZRS((RR(((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyROst	V3ChangescB`seZd�ZRS(cC`sXi}y:x$|jD]}t||�||<qW|j|�}Wntk
rSnX|S(N(RR,R-R.(R$R%R/((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR0�s
(RRR0(((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRP�stV3UsableChangescB`seZRS((RR(((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRQ�stV3ReportableChangescB`seZRS((RR(((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRR�st
DifferencecB`sSeZdd�Zd�Zd�Zed��Zed��Zed��Z	RS(cC`s||_||_dS(N(twantthave(R$RTRU((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyt__init__�s	cC`s9yt||�}|SWntk
r4|j|�SXdS(N(R,tAttributeErrort_Difference__default(R$tparamR%((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pytcompare�s

cC`sQt|j|�}y&t|j|�}||kr7|SWntk
rL|SXdS(N(R,RTRURW(R$RYtattr1tattr2((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyt	__default�s
cC`s+|jj|jjkr'td��ndS(Ns('type' cannot be changed once it is set.(RTRRUR(R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�scC`st|jj|jj�S(N(RRTRIRU(R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRI�scC`st|jj|jj�S(N(RRTRGRU(R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRG�sN(
RRR!RVRZRXR)RRIRG(((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRS�s			tBaseManagercB`steZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
RS(cO`s.|jdd�|_t|jj�|_dS(Ntmodule(R"R!R_R
tparamstclient(R$targstkwargs((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRV�scC`spi}xE|j�D]7}t|j|�dk	rt|j|�||<qqW|rl|jd|�|_ndS(NR`(tget_returnablesR,RTR!tget_usable_changestchanges(R$tchangedtkey((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyt_set_changed_options�scC`s�t|j|j�}|j�}t�}xX|D]P}|j|�}|dkrXq1q1t|t�rw|j|�q1|||<q1W|r�|j	d|�|_
tStS(NR`(
RSRTRUtget_updatablestdictRZR!t
isinstancetupdateReRftTruetFalse(R$tdiffRRgtktchange((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyt_update_changed_options�s	
cC`s|j�}|rtStS(N(RsRnRo(R$R%((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyt
should_update�scC`s�t}t�}|jj}|dkr6|j�}n|dkrQ|j�}n|jd|jj��}|j�}|j	|�|j	td|��|j
|�|S(NtpresenttabsentR`Rg(RoRkRTtstateRuRvtget_reportable_changesRfR0Rmt_announce_deprecations(R$RgR%Rwt
reportableRf((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pytexec_module�s	

cC`sK|jdg�}x2|D]*}|jjjd|dd|d�qWdS(Nt
__warningstmsgtversion(tpopRaR_t	deprecate(R$R%twarningstwarning((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRy�s


cC`sdS(N((R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyt_validate_creation_parameters�scC`s$|j�r|j�S|j�SdS(N(texistsRmtcreate(R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRu�s
cC`s=|j�|_|j�stS|jjr/tS|j�tS(N(tread_current_from_deviceRURtRoR_t
check_modeRntupdate_on_device(R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRms
cC`s9|jjrtS|j�|j�r5td��ntS(NsFailed to delete the resource.(R_R�Rntremove_from_deviceR�R(R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pytremoves
cC`s2|j�|j�|jjr$tS|j�tS(N(R�RiR_R�Rntcreate_on_device(R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�s


cC`s|j�r|j�StS(N(R�R�Ro(R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRvs
(RRRVRiRsRtR{RyR�RuRmR�R�Rv(((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR^�s												t	V1ManagercB`s�eZdZd�Zd�Zdd�Zdd�Zd�Zd�Z	dd�Z
dd�Zd	�Zd
�Z
d�Zd�Zd
�ZRS(s$Manages remote-syslog settings

    cO`sVtt|�j||�|jd|jj�|_|j�|_|j	�|_
dS(NR`(tsuperR�RVtget_module_paramsR_R`RTtget_api_paramsRUReRf(R$RbRc((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRV'scC`sQ|jjdkr,|jjidd6�n|jjdkrMtd��ndS(Ns
bsd-syslogRsG'forward_to' is required when creating a new remote-syslog destination.(RTRR!RmRR(R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�-s
cC`s|rtd|�St�S(NR`(R2(R$R`((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRx6s
cC`s|rtd|�St�S(NR`(R1(R$R`((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRe;s
cC`stjS(N(R*R(R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRd@scC`stjS(N(R*R(R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRjCscC`s|rtd|�St�S(NR`(R(R$R`((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�Fs
cC`s|rtd|�St�S(NR`(R*(R$R`((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�Ks
cC`s�dj|jjd|jjdt|jj|jj��}|jjj|�}y|j	�}Wnt
k
rwtSX|jdks�d|kr�|ddkr�tSt
S(NsDhttps://{0}:{1}/mgmt/tm/sys/log-config/destination/remote-syslog/{2}tservertserver_porti�tcode(RRatproviderRRTR#tnametapiR"tjsont
ValueErrorRoRRn(R$turitresptresponse((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�Ps


+cC`s�|jj�}|jj|d<|jj|d<dj|jjd|jjd�}|jjj	|d|�}y|j
�}Wn%tk
r�}tt
|���nXd|kr�|ddkr�d
|kr�t|d
��q�t|j��ndS(NR�R#sAhttps://{0}:{1}/mgmt/tm/sys/log-config/destination/remote-syslog/R�R�R�R�i�i�tmessage(i�i�(Rft
api_paramsRTR�R#RRaR�R�tpostR�R�Rtstrtcontent(R$R`R�R�R�tex((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�_s
cC`s�|jj�}dj|jjd|jjdt|jj|jj��}|jj	j
|d|�}y|j�}Wn%tk
r�}t
t|���nXd|kr�|ddkr�d|kr�t
|d��q�t
|j��ndS(NsDhttps://{0}:{1}/mgmt/tm/sys/log-config/destination/remote-syslog/{2}R�R�R�R�i�R�(RfR�RRaR�RRTR#R�R�tpatchR�R�RR�R�(R$R`R�R�R�R�((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�ss

cC`sjdj|jjd|jjdt|jj|jj��}|jjj|�}|j	dkrft
SdS(NsDhttps://{0}:{1}/mgmt/tm/sys/log-config/destination/remote-syslog/{2}R�R�i�(RRaR�RRTR#R�R�tdeleteRRn(R$R�R�((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.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
��nd|d<td	|�S(
NsDhttps://{0}:{1}/mgmt/tm/sys/log-config/destination/remote-syslog/{2}R�R�R�i�R�s
remote-syslogRR`(RRaR�RRTR#R�R�R"R�R�RR�R�R*(R$R�R�R�R�((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR��s


N(RRRRVR�R!RxReRdRjR�R�R�R�R�R�R�(((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�"s									
t	V2ManagercB`s�eZdZd�Zdd�Zdd�Zd�Zd�Zd�Z	dd�Z
dd�Zd	�Zd
�Z
d�Zd�Zd
�ZRS(s,Manages remote-high-speed-log settings

    cO`sVtt|�j||�|jd|jj�|_|j�|_|j	�|_
dS(NR`(R�R�RVR�R_R`RTR�RUReRf(R$RbRc((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRV�scC`s|rtd|�St�S(NR`(R=(R$R`((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRx�s
cC`s|rtd|�St�S(NR`(R<(R$R`((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRe�s
cC`s}|jjdkr,|jjidd6�n|jjdkrX|jjidd6�n|jjdkrytd��ndS(NttcpR7tadaptiveR6sI'pool' is required when creating a new remote-high-speed-log destination.(RTR7R!RmR6R4R(R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR��scC`stjS(N(R:R(R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRd�scC`stjS(N(R:R(R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRj�scC`s|rtd|�St�S(NR`(R8(R$R`((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR��s
cC`s|rtd|�St�S(NR`(R:(R$R`((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR��s
cC`s�dj|jjd|jjdt|jj|jj��}|jjj|�}y|j	�}Wnt
k
rwtSX|jdks�d|kr�|ddkr�tSt
S(NsLhttps://{0}:{1}/mgmt/tm/sys/log-config/destination/remote-high-speed-log/{2}R�R�i�R�(RRaR�RRTR#R�R�R"R�R�RoRRn(R$R�R�R�((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR��s


+cC`s�|jj�}|jj|d<|jj|d<dj|jjd|jjd�}|jjj	|d|�}y|j
�}Wn%tk
r�}tt
|���nXd|kr�|ddkr�d
|kr�t|d
��q�t|j��ndS(NR�R#sIhttps://{0}:{1}/mgmt/tm/sys/log-config/destination/remote-high-speed-log/R�R�R�R�i�i�R�(i�i�(RfR�RTR�R#RRaR�R�R�R�R�RR�R�(R$R`R�R�R�R�((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR��s
cC`s�|jj�}dj|jjd|jjdt|jj|jj��}|jj	j
|d|�}y|j�}Wn%tk
r�}t
t|���nXd|kr�|ddkr�d|kr�t
|d��q�t
|j��ndS(NsLhttps://{0}:{1}/mgmt/tm/sys/log-config/destination/remote-high-speed-log/{2}R�R�R�R�i�R�(RfR�RRaR�RRTR#R�R�R�R�R�RR�R�(R$R`R�R�R�R�((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR��s

cC`sjdj|jjd|jjdt|jj|jj��}|jjj|�}|j	dkrft
SdS(NsLhttps://{0}:{1}/mgmt/tm/sys/log-config/destination/remote-high-speed-log/{2}R�R�i�(RRaR�RRTR#R�R�R�RRn(R$R�R�((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.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
��nd|d<td	|�S(
NsLhttps://{0}:{1}/mgmt/tm/sys/log-config/destination/remote-high-speed-log/{2}R�R�R�i�R�sremote-high-speed-logRR`(RRaR�RRTR#R�R�R"R�R�RR�R�R:(R$R�R�R�R�((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�s


N(RRRRVR!RxReR�RdRjR�R�R�R�R�R�R�(((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR��s		
						
t	V3ManagercB`s�eZd�Zd
d�Zd
d�Zd�Zd�Zd�Zd
d�Z	d
d�Z
d�Zd	�Zd
�Z
d�Zd�ZRS(cO`sVtt|�j||�|jd|jj�|_|j�|_|j	�|_
dS(NR`(R�R�RVR�R_R`RTR�RUReRf(R$RbRc((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRV)scC`s|rtd|�St�S(NR`(RR(R$R`((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRx/s
cC`s|rtd|�St�S(NR`(RQ(R$R`((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRe4s
cC`s%|jjdkr!td��ndS(NsB'forward_to' is required when creating a new arcsight destination.(RTRR!R(R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�9scC`stjS(N(ROR(R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRd?scC`stjS(N(ROR(R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRjBscC`s|rtd|�St�S(NR`(RL(R$R`((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�Es
cC`s|rtd|�St�S(NR`(RO(R$R`((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�Js
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/sys/log-config/destination/arcsight/{2}R�R�i�R�(RRaR�RRTR#R�R�R"R�R�RoRRn(R$R�R�R�((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�Ps


+cC`s�|jj�}|jj|d<|jj|d<dj|jjd|jjd�}|jjj	|d|�}y|j
�}Wn%tk
r�}tt
|���nXd|kr�|ddkr�d
|kr�t|d
��q�t|j��ndS(NR�R#s<https://{0}:{1}/mgmt/tm/sys/log-config/destination/arcsight/R�R�R�R�i�i�R�(i�i�(RfR�RTR�R#RRaR�R�R�R�R�RR�R�(R$R`R�R�R�R�((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�_s
cC`s�|jj�}dj|jjd|jjdt|jj|jj��}|jj	j
|d|�}y|j�}Wn%tk
r�}t
t|���nXd|kr�|ddkr�d|kr�t
|d��q�t
|j��ndS(Ns?https://{0}:{1}/mgmt/tm/sys/log-config/destination/arcsight/{2}R�R�R�R�i�R�(RfR�RRaR�RRTR#R�R�R�R�R�RR�R�(R$R`R�R�R�R�((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�ss

cC`sjdj|jjd|jjdt|jj|jj��}|jjj|�}|j	dkrft
SdS(Ns?https://{0}:{1}/mgmt/tm/sys/log-config/destination/arcsight/{2}R�R�i�(RRaR�RRTR#R�R�R�RRn(R$R�R�((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.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
��nd|d<td	|�S(
Ns?https://{0}:{1}/mgmt/tm/sys/log-config/destination/arcsight/{2}R�R�R�i�R�tarcsightRR`(RRaR�RRTR#R�R�R"R�R�RR�R�RO(R$R�R�R�R�((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR��s


N(RRRVR!RxReR�RdRjR�R�R�R�R�R�R�(((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�(s								
t	V4ManagercB`s�eZdZd�Zdd�Zdd�Zd�Zd�Zd�Z	dd�Z
dd�Zd	�Zd
�Z
d�Zd�Zd
�ZRS(s#Manager for Splunk

    Do not worry about the usage of V3 classes in this V4 manager.
    In Ansible 2.12, the Parameter classes will undergo a rename
    because of parameters being deprecated.

    The correct Parameter classes to use in this class are the
    V3 Parameter classes.

    cO`sVtt|�j||�|jd|jj�|_|j�|_|j	�|_
dS(NR`(R�R�RVR�R_R`RTR�RUReRf(R$RbRc((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRV�scC`s|rtd|�St�S(NR`(RR(R$R`((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRx�s
cC`s|rtd|�St�S(NR`(RQ(R$R`((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRe�s
cC`s%|jjdkr!td��ndS(Ns@'forward_to' is required when creating a new splunk destination.(RTRR!R(R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR��scC`stjS(N(ROR(R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRd�scC`stjS(N(ROR(R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRj�scC`s|rtd|�St�S(NR`(RL(R$R`((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR��s
cC`s|rtd|�St�S(NR`(RO(R$R`((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.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/sys/log-config/destination/splunk/{2}R�R�i�R�(RRaR�RRTR#R�R�R"R�R�RoRRn(R$R�R�R�((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR��s


+cC`s�|jj�}|jj|d<|jj|d<dj|jjd|jjd�}|jjj	|d|�}y|j
�}Wn%tk
r�}tt
|���nXd|kr�|ddkr�d
|kr�t|d
��q�t|j��ndS(NR�R#s:https://{0}:{1}/mgmt/tm/sys/log-config/destination/splunk/R�R�R�R�i�i�R�(i�i�(RfR�RTR�R#RRaR�R�R�R�R�RR�R�(R$R`R�R�R�R�((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR��s
cC`s�|jj�}dj|jjd|jjdt|jj|jj��}|jj	j
|d|�}y|j�}Wn%tk
r�}t
t|���nXd|kr�|ddkr�d|kr�t
|d��q�t
|j��ndS(Ns=https://{0}:{1}/mgmt/tm/sys/log-config/destination/splunk/{2}R�R�R�R�i�R�(RfR�RRaR�RRTR#R�R�R�R�R�RR�R�(R$R`R�R�R�R�((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR��s

cC`sjdj|jjd|jjdt|jj|jj��}|jjj|�}|j	dkrft
SdS(Ns=https://{0}:{1}/mgmt/tm/sys/log-config/destination/splunk/{2}R�R�i�(RRaR�RRTR#R�R�R�RRn(R$R�R�((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.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
��nd|d<td	|�S(
Ns=https://{0}:{1}/mgmt/tm/sys/log-config/destination/splunk/{2}R�R�R�i�R�tsplunkRR`(RRaR�RRTR#R�R�R"R�R�RR�R�RO(R$R�R�R�R�((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�s


N(RRRRVR!RxReR�RdRjR�R�R�R�R�R�R�(((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR��s
								
t	V5ManagercB`s�eZdZd�Zdd�Zdd�Zd�Zd�Zd�Z	dd�Z
dd�Zd	�Zd
�Z
d�Zd�Zd
�ZRS(s,Manager for Management Port

    Do not worry about the usage of V3 classes in this V5 manager.
    In Ansible 2.12, the Parameter classes will undergo a rename
    because of parameters being deprecated.

    The correct Parameter classes to use in this class are the
    V3 Parameter classes.

    cO`sVtt|�j||�|jd|jj�|_|j�|_|j	�|_
dS(NR`(R�R�RVR�R_R`RTR�RUReRf(R$RbRc((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRV7scC`s|rtd|�St�S(NR`(RR(R$R`((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRx=s
cC`s|rtd|�St�S(NR`(RQ(R$R`((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyReBs
cC`sF|jjdkr!td��n|jjdkrBtd��ndS(NsF'address' is required when creating a new management-port destination.sC'port' is required when creating a new management-port destination.(RTR@R!RRK(R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�GscC`stjS(N(ROR(R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRdQscC`stjS(N(ROR(R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRjTscC`s|rtd|�St�S(NR`(RL(R$R`((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�Ws
cC`s|rtd|�St�S(NR`(RO(R$R`((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�\s
cC`s�dj|jjd|jjdt|jj|jj��}|jjj|�}y|j	�}Wnt
k
rwtSX|jdks�d|kr�|ddkr�tSt
S(NsFhttps://{0}:{1}/mgmt/tm/sys/log-config/destination/management-port/{2}R�R�i�R�(RRaR�RRTR#R�R�R"R�R�RoRRn(R$R�R�R�((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�bs


+cC`s�|jj�}|jj|d<|jj|d<dj|jjd|jjd�}|jjj	|d|�}y|j
�}Wn%tk
r�}tt
|���nXd|kr�|ddkr�d
|kr�t|d
��q�t|j��ndS(NR�R#sChttps://{0}:{1}/mgmt/tm/sys/log-config/destination/management-port/R�R�R�R�i�i�R�(i�i�(RfR�RTR�R#RRaR�R�R�R�R�RR�R�(R$R`R�R�R�R�((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�qs
cC`s�|jj�}dj|jjd|jjdt|jj|jj��}|jj	j
|d|�}y|j�}Wn%tk
r�}t
t|���nXd|kr�|ddkr�d|kr�t
|d��q�t
|j��ndS(NsFhttps://{0}:{1}/mgmt/tm/sys/log-config/destination/management-port/{2}R�R�R�R�i�R�(RfR�RRaR�RRTR#R�R�R�R�R�RR�R�(R$R`R�R�R�R�((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR��s

cC`sjdj|jjd|jjdt|jj|jj��}|jjj|�}|j	dkrft
SdS(NsFhttps://{0}:{1}/mgmt/tm/sys/log-config/destination/management-port/{2}R�R�i�(RRaR�RRTR#R�R�R�RRn(R$R�R�((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.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
��nd|d<td	|�S(
NsFhttps://{0}:{1}/mgmt/tm/sys/log-config/destination/management-port/{2}R�R�R�i�R�smanagement-portRR`(RRaR�RRTR#R�R�R"R�R�RR�R�RO(R$R�R�R�R�((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR��s


N(RRRRVR!RxReR�RdRjR�R�R�R�R�R�R�(((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�,s
		
						
t	V6ManagercB`s�eZdZd�Zdd�Zdd�Zd�Zd�Zd�Z	dd�Z
dd�Zd	�Zd
�Z
d�Zd�Zd
�ZRS(s"Manager for IPFIX

    Do not worry about the usage of V3 classes in this V6 manager.
    In Ansible 2.12, the Parameter classes will undergo a rename
    because of parameters being deprecated.

    The correct Parameter classes to use in this class are the
    V3 Parameter classes.

    cO`sVtt|�j||�|jd|jj�|_|j�|_|j	�|_
dS(NR`(R�R�RVR�R_R`RTR�RUReRf(R$RbRc((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRV�scC`s|rtd|�St�S(NR`(RR(R$R`((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRx�s
cC`s|rtd|�St�S(NR`(RQ(R$R`((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRe�s
cC`sg|jjdkr!td��n|jjdkrBtd��n|jjdkrctd��ndS(Ns='protocol' is required when creating a new ipfix destination.s9'port' is required when creating a new ipfix destination.sF'transport_profile' is required when creating a new ipfix destination.(RTR7R!RR4RG(R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR��scC`stjS(N(ROR(R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRd�scC`stjS(N(ROR(R$((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRj�scC`s|rtd|�St�S(NR`(RL(R$R`((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR��s
cC`s|rtd|�St�S(NR`(RO(R$R`((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.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/sys/log-config/destination/ipfix/{2}R�R�i�R�(RRaR�RRTR#R�R�R"R�R�RoRRn(R$R�R�R�((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR��s


+cC`s�|jj�}|jj|d<|jj|d<dj|jjd|jjd�}|jjj	|d|�}y|j
�}Wn%tk
r�}tt
|���nXd|kr�|ddkr�d
|kr�t|d
��q�t|j��ndS(NR�R#s9https://{0}:{1}/mgmt/tm/sys/log-config/destination/ipfix/R�R�R�R�i�i�R�(i�i�(RfR�RTR�R#RRaR�R�R�R�R�RR�R�(R$R`R�R�R�R�((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�s
cC`s�|jj�}dj|jjd|jjdt|jj|jj��}|jj	j
|d|�}y|j�}Wn%tk
r�}t
t|���nXd|kr�|ddkr�d|kr�t
|d��q�t
|j��ndS(Ns<https://{0}:{1}/mgmt/tm/sys/log-config/destination/ipfix/{2}R�R�R�R�i�R�(RfR�RRaR�RRTR#R�R�R�R�R�RR�R�(R$R`R�R�R�R�((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�s

cC`sjdj|jjd|jjdt|jj|jj��}|jjj|�}|j	dkrft
SdS(Ns<https://{0}:{1}/mgmt/tm/sys/log-config/destination/ipfix/{2}R�R�i�(RRaR�RRTR#R�R�R�RRn(R$R�R�((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.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
��nd|d<td	|�S(
Ns<https://{0}:{1}/mgmt/tm/sys/log-config/destination/ipfix/{2}R�R�R�i�R�tipfixRR`(RRaR�RRTR#R�R�R"R�R�RR�R�RO(R$R�R�R�R�((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�1s


N(RRRRVR!RxReR�RdRjR�R�R�R�R�R�R�(((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR��s
								
t
ModuleManagercB`s#eZd�Zd�Zd�ZRS(cO`s"||_|jdd�|_dS(NR_(RcR"R!R_(R$RbRc((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRVGs	cC`s|jjddkr(|jd�}n�|jjddkrP|jd�}n�|jjddkrx|jd�}n�|jjddkr�|jd	�}n\|jjdd
kr�|jd�}n4|jjddkr�|jd
�}ntd��|j�}|S(NRs
remote-syslogtv1sremote-high-speed-logtv2R�tv3R�tv4smanagement-porttv5R�tv6sUnknown type specified.(R_R`tget_managerRR{(R$tmanagerR%((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR{Ks 	cC`s�|dkrt|j�S|dkr2t|j�S|dkrKt|j�S|dkrdt|j�S|dkr}t|j�S|dkr�t|j�SdS(NR�R�R�R�R�R�(R�RcR�R�R�R�R�(R$R((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�_s




(RRRVR{R�(((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�Fs		tArgumentSpeccB`seZd�ZRS(c1C`s1t|_tdtdt�dtdtdddddd	d
g�dt�dtdd
ddddg�dt�dt�dtdddd
dg�dtddddg�dtdddddg�d tdd!d"td#gf�d$t�d%tdd&�d't�d(t�d)tdd&�d*tdd&�d+tdd,d-tdt�dtdddg�dtddddg��d.d/�d0tdd,d-tdtdd
ddddg�dt��d.d/��}i|_|jjt�|jj|�d0dgd0dgd+dgd+dgd+dgg|_dS(1NR�trequiredRtchoicesR�sremote-high-speed-logs
remote-syslogR�smanagement-portR�tdescriptionRs
bsd-syslogR&slegacy-bigipR'R(RR4R7R�tudps	netflow-9R6R�tbalancedt
replicatedRwtdefaultRuRvR#tCommontfallbacktF5_PARTITIONR@RKtintRGRIRERCR9Rkt
suboptionstremoved_in_versiong�(\��@R(Rntsupports_check_modeRkR	t
argument_specRmRtmutually_exclusive(R$R�((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyRVos�														(RRRV(((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyR�nscC`s�t�}td|jd|jd|j�}y,td|�}|j�}|j|�Wn)tk
r�}|j	dt
|��nXdS(NR�R�R�R_R}(R�RR�R�R�R�R{t	exit_jsonRt	fail_jsonR�(tspecR_tmmtresultsR�((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pytmain�s			t__main__N(:t
__future__RRRRt
__metaclass__tANSIBLE_METADATAt
DOCUMENTATIONtEXAMPLEStRETURNtansible.module_utils.basicRR	t%library.module_utils.network.f5.bigipR
t&library.module_utils.network.f5.commonRRR
RRt'library.module_utils.network.f5.compareRtImportErrort%ansible.module_utils.network.f5.bigipt&ansible.module_utils.network.f5.commont'ansible.module_utils.network.f5.compareRRR*R+R1R2R3R8R:R;R<R=R>RLRORPRQRRtobjectRSR^R�R�R�R�R�R�R�R�R�R(((sT/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_log_destination.pyt<module>sp


�:

!
='%f��}���(e	

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