�
�Udac @` s� d d l m Z m Z m Z e Z i d d 6d g d 6d d 6Z d Z d Z d
Z d d l
m Z d d l m
Z
m Z d d
l m Z d � Z d � Z e d k r� e � n d S( i ( t absolute_importt divisiont print_functions 1.1t metadata_versiont previewt statust networkt supported_bys7
---
module: ios_lldp
version_added: "2.5"
author: "Ganesh Nalawade (@ganeshrn)"
short_description: Manage LLDP configuration on Cisco IOS network devices.
description:
- This module provides declarative management of LLDP service
on Cisco IOS network devices.
notes:
- Tested against IOS 15.2
options:
state:
description:
- State of the LLDP configuration. If value is I(present) lldp will be enabled
else if it is I(absent) it will be disabled.
default: present
choices: ['present', 'absent']
extends_documentation_fragment: ios
sx
- name: Enable LLDP service
ios_lldp:
state: present
- name: Disable LLDP service
ios_lldp:
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:
- lldp run
( t
AnsibleModule( t load_configt run_commands( t ios_argument_specc C` sG t | d g � } t } t | � d k rC d | d k rC t } n | S( Ns show lldpi s LLDP is not enabled( R
t Falset lent True( t modulet outputt is_lldp_enable( ( sH /usr/lib/python2.7/site-packages/ansible/modules/network/ios/ios_lldp.pyt has_lldp<