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

�
�Udac@`sQddlmZmZmZeZidd6dgd6dd6ZdZd	Zd
Z	ddl
Z
ddlmZdd
l
mZddlmZddlmZy:ddlmZddlmZddlmZeZWnek
r�eZnXyddlmZWn!ek
r)ddlmZnXy4ddlm Z ddlm!Z!ddlm"Z"WnAek
r�ddlm Z ddlm!Z!ddlm"Z"nXdefd��YZ#de$fd��YZ%de%fd��YZ&de%fd��YZ'de!fd ��YZ(d!e(fd"��YZ)d#e)fd$��YZ*d%e)fd&��YZ+d'e)fd(��YZ,d)e%fd*��YZ-d+e'fd,��YZ.d-e&fd.��YZ/d/e%fd0��YZ0d1e'fd2��YZ1d3e&fd4��YZ2d5e&fd6��YZ3d7e$fd8��YZ4d9e$fd:��YZ5d;�Z6e7d<krMe6�ndS(=i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiont
deprecatedtstatust	certifiedtsupported_bys�
---
module: bigip_gtm_facts
short_description: Collect facts from F5 BIG-IP GTM devices
description:
  - Collect facts from F5 BIG-IP GTM devices.
version_added: 2.3
options:
  include:
    description:
      - Fact category to collect.
    required: True
    choices:
      - pool
      - wide_ip
      - server
  filter:
    description:
      - Perform regex filter of response. Filtering is done on the name of
        the resource. Valid filters are anything that can be provided to
        Python's C(re) module.
deprecated:
  removed_in: '2.11'
  alternative: bigip_device_info
  why: >
    The bigip_gtm_facts module is an outlier as all facts are being collected
    in the bigip_device_info module. Additionally, the M(bigip_device_info)
    module is easier to maintain and use.
extends_documentation_fragment: f5
notes:
  - This module is deprecated. Use the C(bigip_device_info) module instead.
author:
  - Tim Rupp (@caphrim007)
s�
- name: Get pool facts
  bigip_gtm_facts:
    server: lb.mydomain.com
    user: admin
    password: secret
    include: pool
    filter: my_pool
  delegate_to: localhost
s�
wide_ip:
  description:
    Contains the lb method for the wide ip and the pools that are within the wide ip.
  returned: changed
  type: list
  sample:
    wide_ip:
      - enabled: True
        failure_rcode: noerror
        failure_rcode_response: disabled
        failure_rcode_ttl: 0
        full_path: /Common/foo.ok.com
        last_resort_pool: ""
        minimal_response: enabled
        name: foo.ok.com
        partition: Common
        persist_cidr_ipv4: 32
        persist_cidr_ipv6: 128
        persistence: disabled
        pool_lb_mode: round-robin
        pools:
          - name: d3qw
            order: 0
            partition: Common
            ratio: 1
        ttl_persistence: 3600
        type: naptr
pool:
  description: Contains the pool object status and enabled status.
  returned: changed
  type: list
  sample:
    pool:
      - alternate_mode: round-robin
        dynamic_ratio: disabled
        enabled: True
        fallback_mode: return-to-dns
        full_path: /Common/d3qw
        load_balancing_mode: round-robin
        manual_resume: disabled
        max_answers_returned: 1
        members:
          - disabled: True
            flags: a
            full_path: ok3.com
            member_order: 0
            name: ok3.com
            order: 10
            preference: 10
            ratio: 1
            service: 80
        name: d3qw
        partition: Common
        qos_hit_ratio: 5
        qos_hops: 0
        qos_kilobytes_second: 3
        qos_lcs: 30
        qos_packet_rate: 1
        qos_rtt: 50
        qos_topology: 0
        qos_vs_capacity: 0
        qos_vs_score: 0
        availability_state: offline
        enabled_state: disabled
        ttl: 30
        type: naptr
        verify_member_availability: disabled
server:
  description:
    Contains the virtual server enabled and availability status, and address.
  returned: changed
  type: list
  sample:
    server:
      - addresses:
          - device_name: /Common/qweqwe
            name: 10.10.10.10
            translation: none
        datacenter: /Common/xfxgh
        enabled: True
        expose_route_domains: no
        full_path: /Common/qweqwe
        iq_allow_path: yes
        iq_allow_service_check: yes
        iq_allow_snmp: yes
        limit_cpu_usage: 0
        limit_cpu_usage_status: disabled
        limit_max_bps: 0
        limit_max_bps_status: disabled
        limit_max_connections: 0
        limit_max_connections_status: disabled
        limit_max_pps: 0
        limit_max_pps_status: disabled
        limit_mem_avail: 0
        limit_mem_avail_status: disabled
        link_discovery: disabled
        monitor: /Common/bigip
        name: qweqwe
        partition: Common
        product: single-bigip
        virtual_server_discovery: disabled
        virtual_servers:
          - destination: 10.10.10.10:0
            enabled: True
            full_path: jsdfhsd
            limit_max_bps: 0
            limit_max_bps_status: disabled
            limit_max_connections: 0
            limit_max_connections_status: disabled
            limit_max_pps: 0
            limit_max_pps_status: disabled
            name: jsdfhsd
            translation_address: none
            translation_port: 0
N(t
AnsibleModule(t	iteritems(t
BOOLEANS_TRUE(tLooseVersion(tManagementRoot(tiControlUnexpectedHTTPError(tStats(tF5BaseClient(t
F5ModuleError(tAnsibleF5Parameters(tf5_argument_spectF5ClientcB`s eZd�Zed��ZRS(cO`s,tt|�j||�|j�|_dS(N(tsuperRt__init__tmerge_provider_paramstprovider(tselftargstkwargs((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR�sc
C`s�|jr|jSy[t|jd|jd|jdd|jdd|jddd	�}||_|jSWnHtk
r�}d
j|jd|jdt|��}t|��nXdS(Ntservertusertpasswordtporttserver_porttverifytvalidate_certsttokenttmossCUnable to connect to {0} on port {1}. The reported error was "{2}".(t_clientRRt	ExceptiontformattstrR(Rtresulttexterror((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pytapi�s 	




		#(t__name__t
__module__RtpropertyR+(((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR�s	tBaseManagercB`s8eZd�Zd�Zd�Zdd�Zd�ZRS(c
O`sg|jdd�|_|jdd�|_||_tddddddd	d
ddd
d�|_dS(Ntmoduletclientta_stataaaastaaaatcnamestcnametmxstmxtnaptrstnaptrtsrvstsrv(tgettNoneR0R1Rtdictttypes(RRR((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR�s	cC`sF|jjdkrtStj|jjt|��}|r>tStSdS(N(twanttfilterR?tTruetretmatchR'tFalse(Rtnametmatches((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pytfilter_matches_name�scC`s3|jjj}t|�td�kr+tStSdS(Ns12.0.0(R1R+ttmos_versionRRDRG(Rtversion((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pytversion_is_less_than_12scC`sRg}xE|D]=}|j|j�s+q
n|j||�}|j|�q
W|S(N(RJRHtformat_factstappend(Rt
collectiontcollection_typetresultstitemtfacts((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pytget_facts_from_collections
cC`st|jj��}|jS(N(Rtstatstloadtstat(RtresourceRV((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pytread_stats_from_devicesN(R,R-RRJRMR?RURZ(((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR/�s
					tUntypedManagercB`seZd�ZRS(cC`s�g}|j�}xp|D]h}|j�}gt|�D]'\}}|j|�r8||f^q8}|r|jt|��qqW|S(N(t
read_factst	to_returnR	RJROR@(RRRRTRStattrstktvtfiltered((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pytexec_modules
:(R,R-Rb(((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR[stTypedManagercB`seZd�ZRS(cC`s�g}x�t|j�D]�\}}|j|�}|s=qnx"|D]}|ji|d6�qDWxp|D]h}|j�}gt|�D]'\}}	|j|�r�||	f^q�}
|
ri|jt|
��qiqiWqW|S(Nttype(R	RAR\tupdateR]RJROR@(RRRRPRdRTtxRSR^R_R`Ra((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyRb&s

:(R,R-Rb(((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyRc%st
ParameterscB`seZed��ZRS(c`sw|jd}ddddg�t�fd�|D��r\tdjdj�����nd|krodgS|SdS(	Ntincludetpooltwide_ipRtallc3`s!|]}|�kr|VqdS(N((t.0Rf(tvalid(sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pys	<genexpr><ss#The valid 'include' choices are {0}s, (t_valuestanyRR&tjoin(Rt	requested((RmsO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyRh7s
(R,R-R.Rh(((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyRg6stBaseParameterscB`s8eZed��Zed��Zd�Zd�ZRS(cC`s6|jddkrdS|jdtkr.tStSdS(Ntenabled(RnR?R
RDRG(R((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyRsHs
cC`s6|jddkrdS|jdtkr.tStSdS(Ntdisabled(RnR?R
RDRG(R((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyRtQs
cC`sT|jdd�|jdd�|jdd�|jdd�|jdd�dS(Ntkindt
generationtselfLinktisSubcollectiontfullPath(tpopR?(RRY((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyt_remove_internal_keywordsZs
cC`s@i}x$|jD]}t||�||<qW|j|�}|S(N(treturnablestgetattrt_filter_params(RR(t
returnable((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR]as
(R,R-R.RsRtR{R](((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyRrGs			tPoolParameterscB`s�eZidd6dd6dd6dd6dd	6d
d6dd
6dd6dd6dd6dd6dd6dd6dd6dd6dd6d d!6d"d#6Zddd$d%ddd
dd"d&d'dddddddddd(d)dd*d+d,gZed-��Zed.��Zed/��Zed0��Zed1��Z	ed2��Z
ed3��Zed4��Zed5��Z
ed6��Zed7��Zed8��Zed9��Zed:��ZRS(;talternate_modet
alternateModet
dynamic_ratiotdynamicRatiot
fallback_modetfallbackModet	full_pathRytload_balancing_modetloadBalancingModet
manual_resumetmanualResumetmax_answers_returnedtmaxAnswersReturnedt
qos_hit_ratiotqosHitRatiotqos_hopstqosHopstqos_kilobytes_secondtqosKilobytesSecondtqos_lcstqosLcstqos_packet_ratet
qosPacketRatetqos_rtttqosRtttqos_topologytqosTopologytqos_vs_capacityt
qosVsCapacitytqos_vs_scoret
qosVsScoretverify_member_availabilitytverifyMemberAvailabilitytmemberstmembersReferenceRsRtRHt	partitiontttlRdtavailability_statet
enabled_statetavailability_statuscC`s(|jddkrdSt|jd�S(NR�(RnR?tint(R((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR��scC`s`g}|jddks,d|jdkr0|Sx)|jddD]}|j|�d|kr�|dtkr~t|d<q�t|d<nd|kr�|dtkr�t|d<q�t|d<nd|kr�|jd�|d<nd|krt|jd��|d<nx=d	d
ddgD])}||krt||�||<qqW|j|�qBW|S(
NR�titemsRtRsRyR�tmemberOrdertmember_ordertordert
preferencetratiotservice(	RnR?R{R
RDRGRzR�RO(RR(RSRf((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR��s,&




cC`s(|jddkrdSt|jd�S(NR�(RnR?R�(R((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR��scC`s(|jddkrdSt|jd�S(NR�(RnR?R�(R((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR��scC`s(|jddkrdSt|jd�S(NR�(RnR?R�(R((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR��scC`s(|jddkrdSt|jd�S(NR�(RnR?R�(R((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR��scC`s(|jddkrdSt|jd�S(NR�(RnR?R�(R((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR��scC`s(|jddkrdSt|jd�S(NR�(RnR?R�(R((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR��scC`s(|jddkrdSt|jd�S(NR�(RnR?R�(R((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR��scC`s(|jddkrdSt|jd�S(NR�(RnR?R�(R((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR��scC`s(|jddkrdSt|jd�S(NR�(RnR?R�(R((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR��scC`sM|jddkrdSy|jdd}|dSWntk
rHdSXdS(NRVtstatus_availabilityStatetdescription(RnR?tAttributeError(RR(((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR��s
cC`sM|jddkrdSy|jdd}|dSWntk
rHdSXdS(NRVtstatus_enabledStateR�(RnR?R�(RR(((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR��s
cC`sW|jdkrO|jdkr"dS|jdkr5dS|jdkrHdSdSnd	SdS(
NRstofflinetredt	availabletgreentunknowntbluetnonetblack(R�R�(R((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR��s(R,R-tapi_mapR|R.R�R�R�R�R�R�R�R�R�R�R�R�R�R�(((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR�isN


tWideIpParameterscB`s�eZi
dd6dd6dd6dd6dd	6d
d6dd
6dd6dd6dd6Zddddddddd
dddddgZed��Zed��Zed��Zed��Zed��Z	RS(R�Rytfailure_return_codetfailureRcodetfailure_return_code_responsetfailureRcodeResponsetfailure_return_code_ttltfailureRcodeTtltlast_resort_pooltlastResortPooltminimal_responsetminimalResponsetpersist_cidr_ipv4tpersistCidrIpv4tpersist_cidr_ipv6tpersistCidrIpv6tpool_lb_modet
poolLbModetttl_persistencetttlPersistenceR�RsRttpoolscC`s�g}|jddkrgSxc|jdD]T}|d=x7ddgD])}||krEt||�||<qEqEW|j|�q+W|S(NR�t
nameReferenceR�R�(RnR?R�RO(RR(RiRf((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR�"scC`s(|jddkrdSt|jd�S(NR�(RnR?R�(R((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR�/scC`s(|jddkrdSt|jd�S(NR�(RnR?R�(R((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR�5scC`s(|jddkrdSt|jd�S(NR�(RnR?R�(R((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR�;scC`s(|jddkrdSt|jd�S(NR�(RnR?R�(R((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR�As(
R,R-R�R|R.R�R�R�R�R�(((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR�
s(
	
tServerParameterscB`speZidd6dd6dd6dd6dd	6d
d6dd
6dd6dd6dd6dd6dd6dd6dd6dd6dd6d d!6d"d#6d$d%6d&d'6d(d)6Zd*d+d,dddddd
ddddddddddd-d.d d"d$d/d&d(gZed0��Zed1��Zed2��Zed3��Zed4��Z	ed5��Z
ed6��Zed7��ZRS(8R�Rytexpose_route_domainstexposeRouteDomainst
iq_allow_pathtiqAllowPathtiq_allow_service_checktiqAllowServiceCheckt
iq_allow_snmptiqAllowSnmptlimit_cpu_usaget
limitCpuUsagetlimit_cpu_usage_statustlimitCpuUsageStatust
limit_max_bpstlimitMaxBpstlimit_max_bps_statustlimitMaxBpsStatustlimit_max_connectionstlimitMaxConnectionstlimit_max_connections_statustlimitMaxConnectionsStatust
limit_max_ppstlimitMaxPpstlimit_max_pps_statustlimitMaxPpsStatustlimit_mem_availablet
limitMemAvailtlimit_mem_available_statustlimitMemAvailStatustlink_discoveryt
linkDiscoverytprober_fallbacktproberFallbacktprober_preferencetproberPreferencetvirtual_server_discoverytvirtualServerDiscoverytdevicestdevicesReferencetvirtual_serverstvirtualServersReferencet
datacenterRsRttmonitortproductt	addressescC`s9|jddkrdS|jddkr.dS|jdS(NR�ssingle-bigipsredundant-bigiptbigip(ssingle-bigipsredundant-bigip(RnR?(R((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR�ks
cC`s�g}|jddks,d|jdkr0|SxU|jddD]B}|j|�d|krw|jd�|d<n|j|�qBW|S(NR�R�RyR�(RnR?R{RzRO(RR(RS((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR�ss&
cC`s g}|jddks,d|jdkr0|Sx�|jddD]�}|j|�d|kr�|dtkr~t|d<q�t|d<nd|kr�|dtkr�t|d<q�t|d<nd|kr�|jd�|d<nd|krt|jd��|d<nd	|kr-|jd	�|d
<nd|krUt|jd��|d<nd
|krw|jd
�|d<nd|kr�t|jd��|d<nd|kr�|jd�|d<nd|kr�|jd�|d<nd|krt|jd��|d<n|j|�qBW|S(NR�R�RtRsRyR�R�R�R�R�R�R�R�R�R�R�R�R�ttranslationAddressttranslation_addressttranslationPortttranslation_port(	RnR?R{R
RDRGRzR�RO(RR(RS((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR�sB&




cC`s(|jddkrdSt|jd�S(NR�(RnR?R�(R((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR��scC`s(|jddkrdSt|jd�S(NR�(RnR?R�(R((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR��scC`s(|jddkrdSt|jd�S(NR�(RnR?R�(R((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR��scC`s(|jddkrdSt|jd�S(NR�(RnR?R�(R((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR��scC`s(|jddkrdSt|jd�S(NR�(RnR?R�(R((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR��s(
R,R-R�R|R.R�R�R�R�R�R�R�R�(((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR�HsJ
			&tPoolFactManagercB`s#eZd�Zd�Zd�ZRS(cO`sM|jdd�|_|jdd�|_tt|�j|�||_dS(NR0R1(R>R?R0R1RRRR(RRR((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR�scC`sL|j�r|jd�}n|jd�}|j�}td|�}|S(NtuntypedttypedRi(RMtget_managerRbR@(RtmanagerRTR(((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyRb�scC`s6|dkrt|j�S|dkr2t|j�SdS(NRR(tTypedPoolFactManagerRtUntypedPoolFactManager(RRd((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR�s
(R,R-RRbR(((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR�s			R
cB`s#eZd�Zd�Zd�ZRS(cO`s\|jdd�|_|jdd�|_tt|�j|�td|jj�|_	dS(NR0R1tparams(
R>R?R0R1RR
RR�RRB(RRR((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR�scC`sbg}|j|�}xF|D]>}|j}|j|�|d<td|�}|j|�qW|S(NRVR(tread_collection_from_deviceR^RZR�RO(RRPRRRYR^R((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR\�s
	cC`sC|jjjjj}t||�}|jdtdd��}|S(Ntrequests_paramsRsexpandSubcollections=true(R1R+ttmtgtmR�R}tget_collectionR@(Rtcollection_nameR�RPR(((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR
�s	(R,R-RR\R
(((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR
�s		
RcB`s#eZd�Zd�Zd�ZRS(cO`s\|jdd�|_|jdd�|_tt|�j|�td|jj�|_	dS(NR1R0R(
R>R?R1R0RRRR�RRB(RRR((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR�scC`s_g}|j�}xF|D]>}|j}|j|�|d<td|�}|j|�qW|S(NRVR(R
R^RZR�RO(RRRRPRYR^R((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR\�s
	cC`s.|jjjjjjdtdd��}|S(NRRsexpandSubcollections=true(R1R+RRR�RR@(RR(((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR
s(R,R-RR\R
(((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR�s		
tWideIpFactManagercB`seZd�Zd�ZRS(cC`sL|j�r|jd�}n|jd�}|j�}td|�}|S(NRRRj(RMRRbR@(RR	RTR(((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyRbscC`s6|dkrt|j�S|dkr2t|j�SdS(NRR(tTypedWideIpFactManagerRtUntypedWideIpFactManager(RRd((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyRs
(R,R-RbR(((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyRs		RcB`s#eZd�Zd�Zd�ZRS(cO`s\|jdd�|_|jdd�|_tt|�j|�td|jj�|_	dS(NR1R0R(
R>R?R1R0RRRR�RRB(RRR((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR#scC`sOg}|j|�}x3|D]+}|j}td|�}|j|�qW|S(NR(R
R^R�RO(RRPRRRYR^R((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR\)s
	cC`sC|jjjjj}t||�}|jdtdd��}|S(NRRsexpandSubcollections=true(R1R+RRtwideipsR}RR@(RRRRPR(((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR
2s	(R,R-RR\R
(((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR"s			RcB`s#eZd�Zd�Zd�ZRS(cO`s\|jdd�|_|jdd�|_tt|�j|�td|jj�|_	dS(NR1R0R(
R>R?R1R0RRRR�RRB(RRR((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR>scC`sLg}|j�}x3|D]+}|j}td|�}|j|�qW|S(NR(R
R^R�RO(RRRRPRYR^R((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR\Ds
	cC`s.|jjjjjjdtdd��}|S(NRRsexpandSubcollections=true(R1R+RRRRR@(RR(((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR
Ms(R,R-RR\R
(((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR=s			tServerFactManagercB`s,eZd�Zd�Zd�Zd�ZRS(cO`s\|jdd�|_|jdd�|_tt|�j|�td|jj�|_	dS(NR1R0R(
R>R?R1R0RRRR�RRB(RRR((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyRWscC`s(tt|�j�}td|�}|S(NR(RRRbR@(RRTR(((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyRb]scC`sLg}|j�}x3|D]+}|j}td|�}|j|�qW|S(NR(R
R^R�RO(RRRRPRYR^R((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR\bs
	cC`s.|jjjjjjdtdd��}|S(NRRsexpandSubcollections=true(R1R+RRtserversRR@(RR(((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR
ks(R,R-RRbR\R
(((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyRVs				t
ModuleManagercB`s>eZd�Zd�Zd�Zd�Zd�Zd�ZRS(cO`sO|jdd�|_|jdd�|_||_td|jj�|_dS(NR0R1R(R>R?R0R1RRgRRB(RRR((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyRus	cC`s�|j�std��nd|jjkr?dddg}n|jj}g|D]}|j|�^qR}|j|�}|r�t|d<n
t|d<|j�|S(Ns+GTM must be provisioned to use this module.RkRiRjRtchanged(	tgtm_provisionedRRBRhRtexecute_managersRDRGt_announce_deprecations(RtnamesRHtmanagersR(((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyRb{s"


cC`sdg}|jr.||jjjdg�7}nx/|D]'}|jjd|dd|d�q5WdS(Nt
__warningstmsgRL(RBRnR>R0t	deprecate(Rtwarningstwarning((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR�s	

cC`s7t�}x'|D]}|j�}|j|�qW|S(N(R@RbRe(RRRRR	R(((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR�s
	
cC`sOd|krt|j�Sd|kr2t|j�Sd|krKt|j�SdS(NRiRjR(RRRR(Rtwhich((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR�s

cC`sA|jjjjjjjdd�}t|j�dkr=t	St
S(NRHsprovisioned.cpu.gtmi(R1R+RtsystdbstdbRWR�tvalueRGRD(RRY((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR�s
	(R,R-RRbRRRR(((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyRts			
		tArgumentSpeccB`seZd�ZRS(c	C`slt|_tdtddddddgdt�d	t��}i|_|jjt�|jj|�dS(
NRhRdtlisttchoicesRiRjRtrequiredRC(RGtsupports_check_modeR@RDt
argument_specReR(RR/((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR�s				(R,R-R(((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyR*�scC`s�t�}td|jd|j�}ts=|jdd�nt|j�}y2td|d|�}|j	�}|j
|�Wn)tk
r�}|jdt|��nXdS(NR/R.R!s$The python f5-sdk module is requiredR0R1(
R*RR/R.t	HAS_F5SDKt	fail_jsonRRRRbt	exit_jsonRR'(tspecR0R1tmmRRR)((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pytmain�s		t__main__(8t
__future__RRRRdt
__metaclass__tANSIBLE_METADATAt
DOCUMENTATIONtEXAMPLEStRETURNREtansible.module_utils.basicRtansible.module_utils.sixR	t)ansible.module_utils.parsing.convert_boolR
tdistutils.versionRtf5.bigipRticontrol.exceptionsR
tf5.utils.responses.handlersRRDR0tImportErrorRGt&library.module_utils.network.f5.commonRt&ansible.module_utils.network.f5.commonRRRRtobjectR/R[RcRgRrR�R�R�RR
RRRRRRR*R5R,(((sO/usr/lib/python2.7/site-packages/ansible/modules/network/f5/_bigip_gtm_facts.pyt<module>sh


#u




-"�;|<	

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