summaryrefslogtreecommitdiff
path: root/plugins/modules/vyos_lldp.py
diff options
context:
space:
mode:
authorBradley A. Thornton <bthornto@thethorntons.net>2019-08-09 10:42:04 -0700
committerBradley A. Thornton <bthornto@thethorntons.net>2019-08-09 10:42:04 -0700
commit7b9a33a29007ed302c3001566061e22c514cde64 (patch)
tree7c4e4b0b740538d7e3953c377cba432d58805022 /plugins/modules/vyos_lldp.py
parent8a50be4b9309387624e92a154366b34fa512cd8b (diff)
downloadvyos.vyos-7b9a33a29007ed302c3001566061e22c514cde64.tar.gz
vyos.vyos-7b9a33a29007ed302c3001566061e22c514cde64.zip
bt_yapfed
Diffstat (limited to 'plugins/modules/vyos_lldp.py')
-rw-r--r--plugins/modules/vyos_lldp.py14
1 files changed, 6 insertions, 8 deletions
diff --git a/plugins/modules/vyos_lldp.py b/plugins/modules/vyos_lldp.py
index fa1ac03a..5e330008 100644
--- a/plugins/modules/vyos_lldp.py
+++ b/plugins/modules/vyos_lldp.py
@@ -19,10 +19,11 @@
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
#
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['preview'],
- 'supported_by': 'network'}
-
+ANSIBLE_METADATA = {
+ 'metadata_version': '1.1',
+ 'status': ['preview'],
+ 'supported_by': 'network'
+}
DOCUMENTATION = """
---
@@ -70,7 +71,6 @@ from ansible_collections.vyos.vyos.plugins.module_utils.network. \
vyos.vyos import vyos_argument_spec
-
def has_lldp(module):
config = get_config(module).splitlines()
@@ -86,9 +86,7 @@ def main():
argument_spec = dict(
interfaces=dict(type='list'),
state=dict(default='present',
- choices=['present', 'absent',
- 'enabled', 'disabled'])
- )
+ choices=['present', 'absent', 'enabled', 'disabled']))
argument_spec.update(vyos_argument_spec)