summaryrefslogtreecommitdiff
path: root/plugins/modules/vyos_lldp_interface.py
diff options
context:
space:
mode:
authorRohit <rohitthakur2590@outlook.com>2020-06-01 13:05:52 +0530
committerGitHub <noreply@github.com>2020-06-01 07:35:52 +0000
commit06235439435396c852535c2569542939bf65ef43 (patch)
treeff9facb3636f13b205bea0d14c7b0c9b12e3f18a /plugins/modules/vyos_lldp_interface.py
parent24a6864db07e5f61cdd952a528d4fd6c147d8db4 (diff)
downloadvyos.vyos-06235439435396c852535c2569542939bf65ef43.tar.gz
vyos.vyos-06235439435396c852535c2569542939bf65ef43.zip
[VyOS: ]all modules updated with FQCN and new doc changes (#33)
[VyOS: ]all modules updated with FQCN and new doc changes Reviewed-by: https://github.com/apps/ansible-zuul
Diffstat (limited to 'plugins/modules/vyos_lldp_interface.py')
-rw-r--r--plugins/modules/vyos_lldp_interface.py23
1 files changed, 10 insertions, 13 deletions
diff --git a/plugins/modules/vyos_lldp_interface.py b/plugins/modules/vyos_lldp_interface.py
index 402facf..80d4dbf 100644
--- a/plugins/modules/vyos_lldp_interface.py
+++ b/plugins/modules/vyos_lldp_interface.py
@@ -20,19 +20,15 @@
#
-ANSIBLE_METADATA = {
- "metadata_version": "1.1",
- "status": ["deprecated"],
- "supported_by": "network",
-}
-
-
-DOCUMENTATION = """module: vyos_lldp_interface
+DOCUMENTATION = """
+module: vyos_lldp_interface
author: Ricardo Carrillo Cruz (@rcarrillocruz)
-short_description: Manage LLDP interfaces configuration on VyOS network devices
+short_description: (deprecated) Manage LLDP interfaces configuration on VyOS network
+ devices
description:
- This module provides declarative management of LLDP interfaces configuration on
VyOS network devices.
+version_added: 1.0.0
deprecated:
removed_in: '2.13'
alternative: vyos_lldp_interfaces
@@ -59,6 +55,7 @@ options:
type: str
extends_documentation_fragment:
- vyos.vyos.vyos
+
"""
EXAMPLES = """
@@ -69,8 +66,8 @@ EXAMPLES = """
- name: Enable LLDP on specific interfaces
net_lldp_interface:
interfaces:
- - eth1
- - eth2
+ - eth1
+ - eth2
state: present
- name: Disable LLDP globally
@@ -78,14 +75,14 @@ EXAMPLES = """
state: disabled
- name: Create aggregate of LLDP interface configurations
- vyos_lldp_interface:
+ vyos.vyos.vyos_lldp_interface:
aggregate:
- name: eth1
- name: eth2
state: present
- name: Delete aggregate of LLDP interface configurations
- vyos_lldp_interface:
+ vyos.vyos.vyos_lldp_interface:
aggregate:
- name: eth1
- name: eth2