Anons79 Mini Shell

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

�
�Udac@`sVddlmZmZmZeZidd6dgd6dd6ZdZd	Zd
Z	dS(i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiont
deprecatedtstatustnetworktsupported_bys�
---
module: net_l2_interface
version_added: "2.4"
author: "Ganesh Nalawade (@ganeshrn)"
short_description: Manage Layer-2 interface on network devices
description:
  - This module provides declarative management of Layer-2 interface
    on network devices.
deprecated:
    removed_in: "2.13"
    alternative: Use platform-specific "[netos]_l2_interfaces" module
    why: Updated modules released with more functionality
extends_documentation_fragment: network_agnostic
options:
  name:
    description:
      - Name of the interface excluding any logical unit number.
  aggregate:
    description:
      - List of Layer-2 interface definitions.
  mode:
    description:
      - Mode in which interface needs to be configured.
    default: access
    choices: ['access', 'trunk']
  access_vlan:
    description:
      - Configure given VLAN in access port.
  trunk_vlans:
    description:
      - List of VLANs to be configured in trunk port.
  native_vlan:
    description:
      - Native VLAN to be configured in trunk port.
  trunk_allowed_vlans:
    description:
      - List of allowed VLAN's in a given trunk port.
  state:
    description:
      - State of the Layer-2 Interface configuration.
    default: present
    choices: ['present', 'absent',]
s�
- name: configure Layer-2 interface
  net_l2_interface:
    name: gigabitethernet0/0/1
    mode: access
    access_vlan: 30

- name: remove Layer-2 interface configuration
  net_l2_interface:
    name: gigabitethernet0/0/1
    state: absent
s/
commands:
  description: The list of configuration mode commands to send to the device
  returned: always, except for the platforms that use Netconf transport to manage the device.
  type: list
  sample:
    - interface gigabitethernet0/0/1
    - switchport mode access
    - switchport access vlan 30
N(
t
__future__RRRttypet
__metaclass__tANSIBLE_METADATAt
DOCUMENTATIONtEXAMPLEStRETURN(((sT/usr/lib/python2.7/site-packages/ansible/modules/network/layer2/_net_l2_interface.pyt<module>s


-


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