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

�
�Udac@`s�ddlmZmZmZeZidd6dgd6dd6ZdZd	Zd
Z	ddl
Z
ddlmZdd
lm
Z
ddlmZddlmZy�ddlmZddlmZddlmZddlmZddlmZddlmZddlmZddlmZddlmZWn�ek
r�ddlmZddl mZddl mZddl mZddl mZddl mZddl mZddl!mZddl"mZnXdefd��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+�Z-e.d,kr�e-�ndS(-i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontpreviewtstatust	certifiedtsupported_bys4

---
module: bigip_gtm_topology_region
short_description: Manages GTM Topology Regions
description:
  - Manages GTM Topology Regions.
version_added: 2.8
options:
  name:
    description:
      - Specifies the name of the region.
    type: str
    required: True
  region_members:
    description:
      - Specifies the list of region members.
      - This list of members is all or nothing, in order to add or remove a member,
        you must specify the entire list of members.
      - The list will override what is on the device if different.
      - If C(none) value is specified the region members list will be removed.
    suboptions:
      negate:
        description:
          - When set to c(yes) the system selects this topology region, when the request source does not match.
          - Only a single list entry can be specified together with negate.
        type: bool
        default: no
      subnet:
        description:
          - An IP address and network mask in the CIDR format.
        type: str
        version_added: 2.9
      region:
        description:
          - Specifies the name of region already defined in the configuration.
        type: str
      continent:
        description:
          - Specifies one of the seven continents, along with the C(Unknown) setting.
          - Specifying C(Unknown) forces the system to use a default resolution
            if the system cannot determine the location of the local DNS making the request.
          - Full continent names and their abbreviated versions are supported.
        type: str
      country:
        description:
          - The country name, or code to use.
          - In addition to the country full names, you may also specify their abbreviated
            form, such as C(US) instead of C(United States).
          - Valid country codes can be found here https://countrycode.org/.
        type: str
      state:
        description:
          - Specifies a state in a given country.
        type: str
      pool:
        description:
          - Specifies the name of GTM pool already defined in the configuration.
        type: str
      datacenter:
        description:
          - Specifies the name of GTM data center already defined in the configuration.
        type: str
      isp:
        description:
          - Specifies an Internet service provider.
        type: str
        choices:
          - AOL
          - BeijingCNC
          - CNC
          - ChinaEducationNetwork
          - ChinaMobilNetwork
          - ChinaRailwayTelcom
          - ChinaTelecom
          - ChinaUnicom
          - Comcast
          - Earthlink
          - ShanghaiCNC
          - ShanghaiTelecom
      geo_isp:
        description:
          - Specifies a geolocation ISP
        type: str
    type: list
  partition:
    description:
      - Device partition to manage resources on.
      - Partition parameter is also taken into account when used in conjunction with C(pool), C(data_center),
        and C(region) parameters.
    type: str
    default: Common
  state:
    description:
      - When C(state) is C(present), ensures that the region exists.
      - When C(state) is C(absent), ensures that the region is removed.
    type: str
    choices:
      - present
      - absent
    default: present
extends_documentation_fragment: f5
author:
  - Wojciech Wypior (@wojtek0806)
s

- name: Create topology region
  bigip_gtm_topology_region:
    name: foobar
    region_members:
      - country: CN
        negate: yes
      - datacenter: baz
    provider:
      password: secret
      server: lb.mydomain.com
      user: admin
  delegate_to: localhost

- name: Modify topology region
  bigip_gtm_topology_region:
    name: foobar
    region_members:
      - continent: EU
      - country: PL
    provider:
      password: secret
      server: lb.mydomain.com
      user: admin
  delegate_to: localhost
s
name:
  description: The name value of the GTM region.
  returned: changed
  type: str
  sample: foobar
region_members:
  description: The list of members of the GTM region.
  returned: changed
  type: list
  sample: [{"continent": "EU"}, {"country": "PL"}]
N(t
AnsibleModule(tenv_fallback(tstring_types(t	iteritems(tF5RestClient(t
F5ModuleError(tAnsibleF5Parameters(tfq_name(ttransform_name(tf5_argument_spec(tflatten_boolean(tcmp_simple_list(tis_valid_ip_networkt
ParameterscB`s0eZidd6ZdgZdgZdgZRS(tregion_memberst
regionMembers(t__name__t
__module__tapi_maptapi_attributestreturnablest
updatables(((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyR�s

		t
ApiParameterscB`seZed��ZRS(cC`s>|jd}|dkrdSg|D]}|d^q$}|S(NRtname(t_valuestNone(tselftmemberstmembertresult((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyR�s

(RRtpropertyR(((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyR�stModuleParameterscB`s}eZidd6dd6dd6dd6dd	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@dA6dBdC6dDdE6dFdG6dHdI6dJdK6dLdM6dNdO6dPdQ6dRdS6dTdU6dVdW6dXdY6dZd[6d\d]6d^d_6d`da6dbdc6ddde6dfdg6dhdi6djdk6dldm6dndo6dpdq6drds6dtdu6dvdw6dxdy6dzd{6d|d}6d~d6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6dd6dd6dd6dd6dd	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@dA6dBdC6dDdE6dFdG6dHdI6dJdK6dLdM6dNdO6dPdQ6dRdS6dTdU6dVdW6dXdY6dZd[6d\d]6d^d_6d`da6dbdc6ddde6dfdg6dhdi6djdk6dldm6dndo6dpdq6drds6dtdu6dvdw6dxdy6dzd{6d|d}6d~d6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6d�d�6dd6Zid�d6dd6dd6d�d�6d2d6d�d6dd6dd	6Zed
��Zd�Zd�Zd
�ZRS(tAFtAfghanistantAXs
Aland IslandstALtAlbaniatDZtAlgeriatASsAmerican SamoatADtAndorratAOtAngolatAItAnguillatAQt
AntarcticatAGsAntigua and BarbudatARt	ArgentinatAMtArmeniatAWtArubatAUt	AustraliatATtAustriatAZt
AzerbaijantBStBahamastBHtBahraintBDt
BangladeshtBBtBarbadostBYtBelarustBEtBelgiumtBZtBelizetBJtBenintBMtBermudatBTtBhutantBOtBoliviatBQs Bonaire, Sint Eustatius and SabatBAsBosnia and HerzegovinatBWtBotswanatBVs
Bouvet IslandtBRtBraziltIOsBritish Indian Ocean TerritorytBNsBrunei DarussalamtBGtBulgariatBFsBurkina FasotBItBurunditCVs
Cape VerdetKHtCambodiatCMtCameroontCAtCanadatKYsCayman IslandstCFsCentral African RepublictTDtChadtCLtChiletCNtChinatCXsChristmas IslandtCCsCocos (Keeling) IslandstCOtColombiatKMtComorostCGtCongotCDs%Congo, The Democratic Republic of thetCKsCook IslandstCRs
Costa RicatCIs
Cote D'IvoiretHRtCroatiatCUtCubatCWsCuraçaotCYtCyprustCZsCzech RepublictDKtDenmarktDJtDjiboutitDMtDominicatDOsDominican RepublictECtEcuadortEGtEgypttSVsEl SalvadortGQsEquatorial GuineatERtEritreatEEtEstoniatETtEthiopiatFKsFalkland Islands (Malvinas)tFOs
Faroe IslandstFJtFijitFItFinlandtFRtFrancetGFs
French GuianatPFsFrench PolynesiatTFsFrench Southern TerritoriestGAtGabontGMtGambiatGEtGeorgiatDEtGermanytGHtGhanatGIt	GibraltartGRtGreecetGLt	GreenlandtGDtGrenadatGPt
GuadeloupetGUtGuamtGTt	GuatemalatGGtGuernseytGNtGuineatGWs
Guinea-BissautGYtGuyanatHTtHaititHMs!Heard Island and McDonald IslandstVAsHoly See (Vatican City State)tHNtHondurastHKs	Hong KongtHUtHungarytIStIcelandtINtIndiatIDt	IndonesiatIRsIran, Islamic Republic oftIQtIraqtIEtIrelandtIMsIsle of MantILtIsraeltITtItalytJMtJamaicatJPtJapantJEtJerseytJOtJordantKZt
KazakhstantKEtKenyatKItKiribatitKPs&Korea, Democratic People's Republic oftKRsKorea, Republic oftKWtKuwaittKGt
KyrgyzstantLAs Lao People's Democratic RepublictLVtLatviatLBtLebanontLStLesothotLRtLiberiatLYsLibyan Arab JamahiriyatLIt
LiechtensteintLTt	LithuaniatLUt
LuxembourgtMOtMacautMKt	MacedoniatMGt
MadagascartMWtMalawitMYtMalaysiatMVtMaldivestMLtMalitMTtMaltatMHsMarshall IslandstMQt
MartiniquetMRt
MauritaniatMUt	MauritiustYTtMayottetMXtMexicotFMsMicronesia, Federated States oftMDsMoldova, Republic oftMCtMonacotMNtMongoliatMEt
MontenegrotMSt
MontserrattMAtMoroccotMZt
MozambiquetMMtMyanmartNAtNamibiatNRtNaurutNPtNepaltNLtNetherlandstNCs
New CaledoniatNZsNew ZealandtNIt	NicaraguatNEtNigertNGtNigeriatNUtNiuetNFsNorfolk IslandtMPsNorthern Mariana IslandstNOtNorwaytOMtOmantPKtPakistantPWtPalautPSsPalestinian TerritorytPAtPanamatPGsPapua New GuineatPYtParaguaytPEtPerutPHtPhilippinestPNsPitcairn IslandstPLtPolandtPTtPortugaltPRsPuerto RicotQAtQatartREtReuniontROtRomaniatRUsRussian FederationtRWtRwandatBLsSaint BarthelemytSHsSaint HelenatKNsSaint Kitts and NevistLCsSaint LuciatMFsSaint MartintPMsSaint Pierre and MiquelontVCs Saint Vincent and the GrenadinestWStSamoatSMs
San MarinotSTsSao Tome and PrincipetSAsSaudi ArabiatSNtSenegaltRStSerbiatSCt
SeychellestSLsSierra LeonetSGt	SingaporetSXsSint Maarten (Dutch part)tSKtSlovakiatSItSloveniatSBsSolomon IslandstSOtSomaliatZAsSouth AfricatGSs,South Georgia and the South Sandwich IslandstSSsSouth SudantEStSpaintLKs	Sri LankatSDtSudantSRtSurinametSJsSvalbard and Jan MayentSZt	SwazilandtSEtSwedentCHtSwitzerlandtSYsSyrian Arab RepublictTWtTaiwantTJt
TajikistantTZsTanzania, United Republic oftTHtThailandtTLsTimor-LestetTGtTogotTKtTokelautTOtTongatTTsTrinidad and TobagotTNtTunisiatTRtTurkeytTMtTurkmenistantTCsTurks and Caicos IslandstTVtTuvalutUGtUgandatUAtUkrainetAEsUnited Arab EmiratestGBsUnited KingdomtUSs
United StatestUMs$United States Minor Outlying IslandstUYtUruguaytUZt
UzbekistantVUtVanuatutVEt	VenezuelatVNtVietnamtVGsVirgin Islands, BritishtVIsVirgin Islands, U.S.tWFsWallis and FutunatEHsWestern SaharatYEtYementZMtZambiatZWtZimbabwesN/AtUnrecognizedtAPsAsia/Pacific RegiontEUtEuropetANsNetherlands AntillestFXsFrance, MetropolitantA1sAnonymous ProxytA2sSatellite ProvidertO1tOthertAsiatAfricas
North Americas
South AmericatOCtOceanias--tUnknownc	C`s�t�}d}|jddkr&dSt|jdt�rG|jdSt|jdt�sltd��ntj|jd�}x	|D]}|j|�}d|j	�kr�t
|j	��dkr�td��n|j|�}nx�t|�D]�\}}|rM|j
||�}dj||d|d�}|j|�d}q�|j
||�}d	j|d|d�}|j|�q�Wq�W|S(
NRs5Region members must be either type of string or list.tnegateis<You cannot specify negate and more than one option together.s{0} {1} {2}iis{0} {1}(tlistR!R t
isinstanceR
R
tcopytdeepcopyt_filter_paramstkeystlent_flatten_negateRt
_change_valuetformattappend(	R"R%R�R#titemR$tkeytvaluetoutput((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyR�s6	

	cC`s1t|d�}|jd�|dkr-dSdS(NR�tyestnot(RtpopR!(R"R�R%((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyR�s

cC`s�|dkr"|t|j|�fS|dkrA|td|�fS|dkrf||jj||�fS|dkr�||jj||�fS|dkr�d	|fS|d
kr�||j|�fS||fS(Ntregiontpoolt
datacentertisptCommont	continenttcountrytgeo_isps	geoip-isptsubnet(sregionspools
datacenter(Rt	partitiont
continentstgett	countriest_test_subnet(R"R�R�((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyR�s
cC`s0|dkrdSt|�r |Std��dS(Ns)Specified 'subnet' is not a valid subnet.(R!RR
(R"R�((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyR�"s(	RRR�R�R&RR�R�R�(((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyR'�s

#		tChangescB`seZd�ZRS(cC`sXi}y:x$|jD]}t||�||<qW|j|�}Wntk
rSnX|S(N(RtgetattrR�t	Exception(R"R%t
returnable((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyt	to_return-s
(RRR�(((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyR�,st
UsableChangescB`seZed��ZRS(cC`s4|jd}|dkrdS|s'dSdj|�S(NRtnonet (R R!tjoin(R"R#((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyR9s
(RRR&R(((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyR�8stReportableChangescB`seZRS((RR(((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyRCst
DifferencecB`s5eZdd�Zd�Zd�Zed��ZRS(cC`s||_||_dS(N(twantthave(R"RR((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyt__init__Hs	cC`s9yt||�}|SWntk
r4|j|�SXdS(N(R�tAttributeErrort_Difference__default(R"tparamR%((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pytcompareLs

cC`sQt|j|�}y&t|j|�}||kr7|SWntk
rL|SXdS(N(R�RRR(R"R	tattr1tattr2((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyt	__defaultSs
cC`st|jj|jj�S(N(RRRR(R"((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyR\sN(RRR!RR
RR&R(((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyRGs			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(R�R!RRRtclientR'RRRR�tchanges(R"targstkwargs((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyRbs
cC`sji}xBtjD]7}t|j|�dk	rt|j|�||<qqW|rftd|�|_ndS(NR(RRR�RR!R�R(R"tchangedR�((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyt_set_changed_optionsis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(RRRRRtdictR
R!R�tupdateR�RtTruetFalse(R"tdiffRRtktchange((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyt_update_changed_optionsqs		
cC`sK|jdg�}x2|D]*}|jjjd|dd|d�qWdS(Nt
__warningstmsgtversion(R�RRt	deprecate(R"R%twarningstwarning((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyt_announce_deprecations�s


cC`s�t}t�}|jj}|dkr6|j�}n|dkrQ|j�}ntd|jj��}|j�}|j	|�|j	td|��|j
|�|S(NtpresenttabsentRR(RRRtstateR&R'RRR�RR%(R"RR%R(t
reportableR((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pytexec_module�s	

cC`s$|j�r|j�S|j�SdS(N(texistsRtcreate(R"((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyR&�s
cC`s|j�r|j�StS(N(R+tremoveR(R"((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyR'�s
cC`s|j�}|rtStS(N(RRR(R"R%((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyt
should_update�scC`s=|j�|_|j�stS|jjr/tS|j�tS(N(tread_current_from_deviceRR.RRt
check_modeRtupdate_on_device(R"((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyR�s
cC`s9|jjrtS|j�|j�r5td��ntS(NsFailed to delete the resource.(RR0Rtremove_from_deviceR+R
(R"((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyR-�s
cC`s(|j�|jjrtS|j�tS(N(RRR0Rtcreate_on_device(R"((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.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/gtm/region/{2}tservertserver_porti�tcode(R�RtproviderRRR�RtapiR�tjsont
ValueErrorRRR(R"turitresptresponse((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyR+�s


+cC`sf|jjr<djt|jj|jj�|jj�}n$djt|jj|jj��}idd6dj|�d6}dj|jjd|jjd	�}|jj	j
|d
|�}y/|j�}d|kr�t|d��nWn%t
k
r}tt|���nXd|krb|ddkrbd|krPt|d��qbt|j��ntS(Ns8tmsh create gtm region {0} region-members add {{ {1} }} stmsh create gtm region {0}truntcommands-c "{0}"tutilCmdArgss!https://{0}:{1}/mgmt/tm/util/bashR4R5R9t
commandResultR6i�i�tmessage(i�i�(RRR�RRR�RRR7R8tpostR9R
R:tstrtcontentR(R"R?tpayloadR;R<R=tex((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyR3�s0
cC`s�|jj}|rr|dkrHdjt|jj|jj�|�}q�djt|jj|jj�|�}n$djt|jj|jj��}idd6dj|�d6}d	j|jjd
|jjd�}|jj	j
|d|�}y/|j�}d
|kr"t|d
��nWn%t
k
rJ}tt|���nXd|kr�|ddkr�d|kr�t|d��q�t|j��ndS(NR�sEtmsh modify gtm region {0} region-members replace-all-with {{ {1} }} s.tmsh modify gtm region {0} region-members {1} stmsh create gtm region {0}R>R?s-c "{0}"R@s!https://{0}:{1}/mgmt/tm/util/bashR4R5R9RAR6i�i�RB(i�i�(RRR�RRR�RRR7R8RCR9R
R:RDRE(R"R	R?RFR;R<R=RG((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyR1�s8
cC`sydj|jjd|jjdt|jj|jj��}|jjj|�}|j	dkrft
St|j��dS(Ns&https://{0}:{1}/mgmt/tm/gtm/region/{2}R4R5i�(
R�RR7RRR�RR8tdeleteRRR
RE(R"R;R=((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyR2s

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/gtm/region/{2}R4R5R6i�RBR(R�RR7RRR�RR8R�R9R:R
RDRER(R"R;R<R=RG((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyR/'s

(RRRRRR%R*R&R'R.RR-R,R+R3R1R2R/(((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyRas 														 	(	tArgumentSpeccB`seZd�ZRS(c#C`sAt|_ddddddddd	d
ddg|_td
tdt�dtdddddtdt�dt�dt�dt�dt�dt�dt�dtd|j�dt�dtdd d!d"��
�d#td!d$d%td&gf�dtd!d'dd'd(g��}i|_|jjt�|jj|�dS()NtAOLt
BeijingCNCtCNCtChinaEducationNetworktChinaMobilNetworktChinaRailwayTelcomtChinaTelecomtChinaUnicomtComcastt	EarthlinktShanghaiCNCtShanghaiTelecomRtrequiredRttypeR�telementsRtoptionsR�R�R�R�R(R�R�R�tchoicesR�R�tbooltdefaulttnoR�R�tfallbacktF5_PARTITIONR&R'(Rtsupports_check_modeRZRR	t
argument_specRR(R"Ra((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyR<sD												(RRR(((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyRI;scC`s�t�}td|jd|j�}y,td|�}|j�}|j|�Wn)tk
r{}|jdt	|��nXdS(NRaR`RR (
RIRRaR`RR*t	exit_jsonR
t	fail_jsonRD(tspecRtmmtresultsRG((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pytmainks		t__main__(/t
__future__RRRRWt
__metaclass__tANSIBLE_METADATAt
DOCUMENTATIONtEXAMPLEStRETURNR�tansible.module_utils.basicRR	tansible.module_utils.sixR
Rt%library.module_utils.network.f5.bigipRt&library.module_utils.network.f5.commonR
RRRRRt'library.module_utils.network.f5.compareRt)library.module_utils.network.f5.ipaddressRtImportErrort%ansible.module_utils.network.f5.bigipt&ansible.module_utils.network.f5.commont'ansible.module_utils.network.f5.comparet)ansible.module_utils.network.f5.ipaddressRRR'R�R�RtobjectRRRIRgR(((sX/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_topology_region.pyt<module>sZ


i


�T�0	

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