�
�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_bysE
---
module: nxos_lldp
version_added: "2.5"
author: "Ganesh Nalawade (@ganeshrn)"
short_description: Manage LLDP configuration on Cisco NXOS network devices.
description:
- This module provides declarative management of LLDP service
on Cisco NXOS network devices.
notes:
- Tested against NXOSv 7.0(3)I5(1).
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: nxos
sz
- name: Enable LLDP service
nxos_lldp:
state: present
- name: Disable LLDP service
nxos_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:
- feature lldp
( t
AnsibleModule( t
get_configt load_config( t nxos_argument_specc C` s7 t | d g � } t } | r3 d | k r3 t } n | S( Ns | section lldps feature lldp( R t Falset True( t modulet outputt is_lldp_enable( ( sJ /usr/lib/python2.7/site-packages/ansible/modules/network/nxos/nxos_lldp.pyt has_lldp<