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

�
�Udac@`ssddlmZmZmZeZidd6dgd6dd6ZdZd	Zd
Z	ddl
mZddl
mZy�dd
l
mZddlmZddlmZddlmZddlmZddlmZddlmZddlmZWn�ek
r�dd
lmZddlmZddlmZddlmZddlmZddlmZddlmZddlmZnXdefd��YZdefd��YZdefd��YZdefd��YZdefd��YZ defd ��YZ!d!e"fd"��YZ#d#e"fd$��YZ$d%e"fd&��YZ%d'�Z&e'd(kroe&�nd)S(*i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontstableinterfacetstatust	certifiedtsupported_bys�
---
module: bigip_vlan
short_description: Manage VLANs on a BIG-IP system
description:
  - Manage VLANs on a BIG-IP system
version_added: 2.2
options:
  description:
    description:
      - The description to give to the VLAN.
    type: str
  tagged_interfaces:
    description:
      - Specifies a list of tagged interfaces and trunks that you want to
        configure for the VLAN. Use tagged interfaces or trunks when
        you want to assign a single interface or trunk to multiple VLANs.
      - This parameter is mutually exclusive with the C(untagged_interfaces)
        and C(interfaces) parameters.
    type: list
    aliases:
      - tagged_interface
  untagged_interfaces:
    description:
      - Specifies a list of untagged interfaces and trunks that you want to
        configure for the VLAN.
      - This parameter is mutually exclusive with the C(tagged_interfaces)
        and C(interfaces) parameters.
    type: list
    aliases:
      - untagged_interface
  name:
    description:
      - The VLAN to manage. If the special VLAN C(ALL) is specified with
        the C(state) value of C(absent) then all VLANs will be removed.
    type: str
    required: True
  state:
    description:
      - The state of the VLAN on the system. When C(present), guarantees
        that the VLAN exists with the provided attributes. When C(absent),
        removes the VLAN from the system.
    type: str
    choices:
      - absent
      - present
    default: present
  tag:
    description:
      - Tag number for the VLAN. The tag number can be any integer between 1
        and 4094. The system automatically assigns a tag number if you do not
        specify a value.
    type: int
  mtu:
    description:
      - Specifies the maximum transmission unit (MTU) for traffic on this VLAN.
        When creating a new VLAN, if this parameter is not specified, the default
        value used will be C(1500).
      - This number must be between 576 to 9198.
    type: int
    version_added: 2.5
  cmp_hash:
    description:
      - Specifies how the traffic on the VLAN will be disaggregated. The value
        selected determines the traffic disaggregation method. You can choose to
        disaggregate traffic based on C(source-address) (the source IP address),
        C(destination-address) (destination IP address), or C(default), which
        specifies that the default CMP hash uses L4 ports.
      - When creating a new VLAN, if this parameter is not specified, the default
        of C(default) is used.
    type: str
    choices:
      - default
      - destination-address
      - source-address
      - dst-ip
      - src-ip
      - dest
      - destination
      - source
      - dst
      - src
    version_added: 2.5
  dag_tunnel:
    description:
      - Specifies how the disaggregator (DAG) distributes received tunnel-encapsulated
        packets to TMM instances. Select C(inner) to distribute packets based on information
        in inner headers. Select C(outer) to distribute packets based on information in
        outer headers without inspecting inner headers.
      - When creating a new VLAN, if this parameter is not specified, the default
        of C(outer) is used.
      - This parameter is not supported on Virtual Editions of BIG-IP.
    type: str
    choices:
      - inner
      - outer
    version_added: 2.5
  dag_round_robin:
    description:
      - Specifies whether some of the stateless traffic on the VLAN should be
        disaggregated in a round-robin order instead of using a static hash. The
        stateless traffic includes non-IP L2 traffic, ICMP, some UDP protocols,
        and so on.
      - When creating a new VLAN, if this parameter is not specified, the default
        of (no) is used.
    type: bool
    version_added: 2.5
  partition:
    description:
      - Device partition to manage resources on.
    type: str
    default: Common
    version_added: 2.5
  source_check:
    description:
      - When C(yes), specifies that the system verifies that the return route to an initial
        packet is the same VLAN from which the packet originated.
      - The system performs this verification only if the C(auto_last_hop) option is C(no).
    type: bool
    version_added: 2.8
  fail_safe:
    description:
      - When C(yes), specifies that the VLAN takes the specified C(fail_safe_action) if the
        system detects a loss of traffic on this VLAN's interfaces.
    type: bool
    version_added: 2.8
  fail_safe_timeout:
    description:
      - Specifies the number of seconds that a system can run without detecting network
        traffic on this VLAN before it takes the C(fail_safe_action).
    type: int
    version_added: 2.8
  fail_safe_action:
    description:
      - Specifies the action that the system takes when it does not detect any traffic on
        this VLAN, and the C(fail_safe_timeout) has expired.
    type: str
    choices:
      - reboot
      - restart-all
      - failover
    version_added: 2.8
  sflow_poll_interval:
    description:
      - Specifies the maximum interval in seconds between two pollings.
    type: int
    version_added: 2.8
  sflow_sampling_rate:
    description:
      - Specifies the ratio of packets observed to the samples generated.
    type: int
    version_added: 2.8
  interfaces:
    description:
      - Interfaces that you want added to the VLAN. This can include both tagged
        and untagged interfaces as the C(tagging) parameter specifies.
      - This parameter is mutually exclusive with the C(untagged_interfaces) and
        C(tagged_interfaces) parameters.
    suboptions:
      interface:
        description:
          - The name of the interface
        type: str
      tagging:
        description:
          - Whether the interface is C(tagged) or C(untagged).
        type: str
        choices:
          - tagged
          - untagged
    type: list
    version_added: 2.8
notes:
  - Requires BIG-IP versions >= 12.0.0
extends_documentation_fragment: f5
author:
  - Tim Rupp (@caphrim007)
  - Wojciech Wypior (@wojtek0806)
s7
- name: Create VLAN
  bigip_vlan:
    name: net1
    provider:
      password: secret
      server: lb.mydomain.com
      user: admin
  delegate_to: localhost

- name: Set VLAN tag
  bigip_vlan:
    name: net1
    tag: 2345
    provider:
      user: admin
      password: secret
      server: lb.mydomain.com
  delegate_to: localhost

- name: Add VLAN 2345 as tagged to interface 1.1
  bigip_vlan:
    tagged_interface: 1.1
    name: net1
    tag: 2345
    provider:
      password: secret
      server: lb.mydomain.com
      user: admin
  delegate_to: localhost

- name: Add VLAN 1234 as tagged to interfaces 1.1 and 1.2
  bigip_vlan:
    tagged_interfaces:
      - 1.1
      - 1.2
    name: net1
    tag: 1234
    provider:
      user: admin
      password: secret
      server: lb.mydomain.com
  delegate_to: localhost
s:
description:
  description: The description set on the VLAN.
  returned: changed
  type: str
  sample: foo VLAN
interfaces:
  description: Interfaces that the VLAN is assigned to.
  returned: changed
  type: list
  sample: ['1.1','1.2']
partition:
  description: The partition that the VLAN was created on.
  returned: changed
  type: str
  sample: Common
tag:
  description: The ID of the VLAN.
  returned: changed
  type: int
  sample: 2345
cmp_hash:
  description: New traffic disaggregation method.
  returned: changed
  type: str
  sample: source-address
dag_tunnel:
  description: The new DAG tunnel setting.
  returned: changed
  type: str
  sample: outer
source_check:
  description: The new Source Check setting.
  returned: changed
  type: bool
  sample: yes
fail_safe:
  description: The new Fail Safe setting.
  returned: changed
  type: bool
  sample: no
fail_safe_timeout:
  description: The new Fail Safe Timeout setting.
  returned: changed
  type: int
  sample: 90
fail_safe_action:
  description: The new Fail Safe Action setting.
  returned: changed
  type: str
  sample: reboot
sflow_poll_interval:
  description: The new sFlow Polling Interval setting.
  returned: changed
  type: int
  sample: 10
sflow_sampling_rate:
  description: The new sFlow Sampling Rate setting.
  returned: changed
  type: int
  sample: 20
(t
AnsibleModule(tenv_fallback(tF5RestClient(t
F5ModuleError(tAnsibleF5Parameters(tfq_name(tf5_argument_spec(ttransform_name(tflatten_boolean(tcompare_complex_listt
ParameterscB`s�eZidd6dd6dd6dd6dd	6d
d6dd
6dd6Zdddddddd	dd
ddgZddddddddddd
dddddgZdddddddddddd
dddddgZed��Zed��ZRS(tcmp_hashtcmpHasht
dag_tunnelt	dagTunneltdag_round_robint
dagRoundRobint
interfacestinterfacesReferencetsource_checktsourceCheckingt	fail_safetfailsafetfail_safe_actiontfailsafeActiontfail_safe_timeouttfailsafeTimeouttdescriptionttagtmtutsflowttagged_interfacestuntagged_interfacestsflow_poll_intervaltsflow_sampling_ratet	partitioncC`st|jd�S(NR(Rt_values(tself((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR�scC`st|jd�S(NR(RR,(R-((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR�s(	t__name__t
__module__tapi_maptapi_attributest
updatablestreturnablestpropertyRR(((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyRFsp
			t
ApiParameterscB`sSeZed��Zed��Zed��Zed��Zed��ZRS(cC`s�|jddkrdSd|jdkr.dSg}x�|jddD]z}|d}d|kr�|d}|jtd|d|��nd|krF|d}|jtd|d|��qFqFW|S(NRtitemstnamettaggedtuntagged(R,tNonetappendtdict(R-tresulttitemR7R8R9((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR�s


#cC`se|jdkrdSg|jD]2}d|kr|dtkrt|d�^q}t|�}|S(NR8R7(RR:tTruetstrtsorted(R-txR=((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR'�s
BcC`se|jdkrdSg|jD]2}d|kr|dtkrt|d�^q}t|�}|S(NR9R7(RR:R?R@RA(R-RBR=((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR(�s
BcC`s2y|jddSWnttfk
r-dSXdS(NR&tpollInterval(R,tKeyErrort	TypeErrorR:(R-((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR)�scC`s2y|jddSWnttfk
r-dSXdS(NR&tsamplingRate(R,RDRER:(R-((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR*�s(R.R/R4RR'R(R)R*(((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR5�s
tModuleParameterscB`sbeZed��Zed��Zed��Zed��Zed��Zed��ZRS(cC`s|jddkrdSt|jd�dkrK|jddd
krKdSg}x�|jdD]�}d|kr�td��nd|kr�td	��nt|d�}|d}|d
kr�|jtd|d
t��q_|jtd|dt��q_W|S(NRiittnonet	interfacesIAn 'interface' key must be provided when specifying a list of interfaces.ttaggingsFA 'tagging' key must be provided when specifying a list of interfaces.R8R7R9(RHRI(R,R:tlenRR@R;R<R?(R-R=R>R7RK((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR�s$0
 cC`s�|jddkrdS|jddkr.dSt|jd�dkrb|jdddkrbdStg|jdD]}t|�^qs�}|S(NR(iiRH(R,R:RLRAR@(R-RBR=((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR(�s0,cC`s�|jddkrdS|jddkr.dSt|jd�dkrb|jdddkrbdStg|jdD]}t|�^qs�}|S(NR'iiRH(R,R:RLRAR@(R-RBR=((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR'�s0,cC`si|jddkrdSt|jd�dksIt|jd�dkrXtd��nt|jd�S(NR%i@i�#s(The mtu value must be between 576 - 9198(R,R:tintR(R-((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR%�s2cC`sM|jddkrdS|jddkr.dS|jdd
krEdSdSdS(NRssource-addresstsrcssrc-iptsourcesdestination-addresstdestsdst-iptdestinationtdsttdefault(ssource-addressRNssrc-ipssource(sdestination-addressRPsdst-ipRQRR(R,R:(R-((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR�scC`s6|jddkrdS|jdtkr.dSdSdS(NRtenabledtdisabled(R,R:R?(R-((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyRs
(	R.R/R4RR(R'R%RR(((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyRG�s
tChangescB`seZd�ZRS(cC`sXi}y:x$|jD]}t||�||<qW|j|�}Wntk
rSnX|S(N(R3tgetattrt_filter_paramst	Exception(R-R=t
returnable((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyt	to_returns
(R.R/R[(((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyRVst
UsableChangescB`s&eZed��Zed��ZRS(cC`s2|jddkrdS|jddkr.dSdS(NRtyesRTRU(R,R:(R-((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyRs
cC`s2|jddkrdS|jddkr.dSdS(NRR]RTRU(R,R:(R-((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR&s
(R.R/R4RR(((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR\stReportableChangescB`sqeZed��Zed��Zed��Zed��Zed��Zed��Zed��Z	RS(cC`se|jdkrdSg|jD]2}d|kr|dtkrt|d�^q}t|�}|S(NR8R7(RR:R?R@RA(R-RBR=((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR'0s
BcC`se|jdkrdSg|jD]2}d|kr|dtkrt|d�^q}t|�}|S(NR9R7(RR:R?R@RA(R-RBR=((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR(8s
BcC`st|jd�S(NR(RR,(R-((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR@scC`st|jd�S(NR(RR,(R-((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyRDscC`sdS(N(R:(R-((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR&HscC`s2y|jddSWnttfk
r-dSXdS(NR&RC(R,RDRER:(R-((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR)LscC`s2y|jddSWnttfk
r-dSXdS(NR&RF(R,RDRER:(R-((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR*Ss(
R.R/R4R'R(RRR&R)R*(((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR^/st
DifferencecB`s�eZd
d�Zd�Zd�Zed��Zed��Zed��Z	d�Z
ed��Zed��Zed	��Z
RS(cC`s||_||_dS(N(twantthave(R-R`Ra((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyt__init__\s	cC`s9yt||�}|SWntk
r4|j|�SXdS(N(RWtAttributeErrort_Difference__default(R-tparamR=((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pytcompare`s

cC`sQt|j|�}y&t|j|�}||kr7|SWntk
rL|SXdS(N(RWR`RaRc(R-Retattr1tattr2((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyt	__defaultgs
cC`s�|jjdkrdS|jjdkr>|jjdkr>dS|jjdk	rf|jjdkrfgS|jjdkr�td|jj�St|jj|jj�S(NRHRIR(RHsnone(RHsnone(R`RR:RaR<R(R-((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyRps$$
cC`s%|j|jj|jjt�}|S(N(tcmp_interfacesR`R(RatFalse(R-R=((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR(~s!cC`s%|j|jj|jjt�}|S(N(RjR`R'RaR?(R-R=((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR'�s!c	C`s�g}|rd}nd}|dkr+dS|dkrG|dkrGdS|dkrht|�dkrhn�|s�tdg|D]}i|d6t|6^q{�}nOt|�t|�kr�tdg|D]}i|d6t|6^q��}ndS|S(NR8R9RHiRR7(R:RLR<R?tset(R-R`RaR8R=ttag_keyRB((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyRj�s$	--cC`s[i}|j}|r%|j|�n|j}|rD|j|�n|rWtd|�SdS(NR&(R)tupdateR*R<(R-R=ts((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR&�s		cC`sE|jjdkrdS|jj|jjkrAtd|jj�SdS(NRC(R`R)R:RaR<(R-((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR)�s
cC`sE|jjdkrdS|jj|jjkrAtd|jj�SdS(NRF(R`R*R:RaR<(R-((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR*�s
N(R.R/R:RbRfRdR4RR(R'RjR&R)R*(((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR_[s					t
ModuleManagercB`s�eZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�Zd
�Zd�ZRS(cO`s^|jdd�|_t|jj�|_td|jj�|_t�|_	t
�|_dS(Ntmoduletparams(tgetR:RqR
RrtclientRGR`R5RaR\tchanges(R-targstkwargs((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyRb�s
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(NRr(R_R`RaRR2R<RfR:t
isinstanceRnR\RuR?Rk(R-tdiffR2tchangedtktchange((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyt_update_changed_options�s		
cC`s�t}t�}|jj}|dkr6|j�}n|dkrQ|j�}ntd|jj��}|j�}|j	|�|j	td|��|j
|�|S(NtpresenttabsentRrRz(RkR<R`tstateR~RR^RuR[Rnt_announce_deprecations(R-RzR=R�t
reportableRu((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pytexec_module�s	

cC`sH|jdg�}x/|D]'}|jjd|dd|d�qWdS(Nt
__warningstmsgtversion(tpopRqt	deprecate(R-R=twarningstwarning((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR��s


cC`s$|j�r|j�S|j�SdS(N(texistsRntcreate(R-((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR~�s
cC`s|j�r|j�StS(N(R�tremoveRk(R-((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR�s
cC`s|j�}|rtStS(N(R}R?Rk(R-R=((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyt
should_update�scC`s=|j�|_|j�stS|jjr/tS|j�tS(N(tread_current_from_deviceRaR�RkRqt
check_modeR?tupdate_on_device(R-((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyRns
cC`s9|jjrtS|j�|j�r5td��ntS(NsFailed to delete the VLAN(RqR�R?tremove_from_deviceR�R(R-((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR�
s
cC`s`t�|_|jjdkr8|jjidd6�n|j�|jjrRt	S|j
�t	S(Ni�R%(R5RaR`R%R:RnR}RqR�R?tcreate_on_device(R-((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.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��n|dS(
NR7R+s https://{0}:{1}/mgmt/tm/net/vlantservertserver_porttjsontcodei�i�tmessagetselfLink(i�i�(Rut
api_paramsR`R7R+tformatRttprovidertapitpostR�t
ValueErrorRR@tcontent(R-Rrturitresptresponsetex((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.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/net/vlan/{2}R�R�R�R�i�R�(RuR�R�RtR�RR`R+R7R�tpatchR�R�RR@R�(R-RrR�R�R�R�((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR�4s

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/net/vlan/{2}R�R�i�R�(R�RtR�RR`R+R7R�RsR�R�RkRR?(R-R�R�R�((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR�Gs


+cC`sjdj|jjd|jjdt|jj|jj��}|jjj|�}|j	dkrft
SdS(Ns$https://{0}:{1}/mgmt/tm/net/vlan/{2}R�R�i�(R�RtR�RR`R+R7R�tdeleteRR?(R-R�R�((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR�Vs

cC`s�dj|jjd|jjdt|jj|jj��}d}|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/net/vlan/{2}R�R�s?expandSubcollections=trueR�i�R�Rr(R�RtR�RR`R+R7R�RsR�R�RR@R�R5(R-R�tqueryR�R�R�((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR�`s

(R.R/RbR}R�R�R~RR�RnR�R�R�R�R�R�R�(((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyRp�s											
				
tArgumentSpeccB`seZd�ZRS(c*C`s�t|_tdtdt�dtddddg�dtdddd	g�d
tdddtdt�d
tdddg���dt�dtdd�dtdd�dtdddddddddddg
�d tdd!d"g�d#tdd$�d%tdd$�d&tdd$�d'tdd�d(tdd)d*d+g�d,tdd�d-tdd�d.tdd/dd/d0g�d1tdd2d3td4gf��}i|_|jjt�|jj|�ddd
gg|_dS(5NR7trequiredR'ttypetlisttaliasesttagged_interfaceR(tuntagged_interfaceRtoptionsRJRKtchoicesR8R9R#R$RMR%RRSsdestination-addressRPsdst-ipRQRRssource-addressRNssrc-ipRORtinnertouterRtboolRRR!Rtrebootsrestart-alltfailoverR)R*R�R~RR+tCommontfallbacktF5_PARTITION(R?tsupports_check_modeR<R	t
argument_specRnRtmutually_exclusive(R-R�((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyRbvsX						(R.R/Rb(((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyR�uscC`s�t�}td|jd|jd|j�}y,td|�}|j�}|j|�Wn)tk
r�}|j	dt
|��nXdS(NR�R�R�RqR�(R�RR�R�R�RpR�t	exit_jsonRt	fail_jsonR@(tspecRqtmmtresultsR�((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pytmain�s			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
RRRt'library.module_utils.network.f5.compareRtImportErrort%ansible.module_utils.network.f5.bigipt&ansible.module_utils.network.f5.commont'ansible.module_utils.network.f5.compareRR5RGRVR\R^tobjectR_RpR�R�R.(((sI/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_vlan.pyt<module>sN


�-?
K1O,f�A	

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