summaryrefslogtreecommitdiff
path: root/plugins/modules/vyos_vlan.py
diff options
context:
space:
mode:
authorPaul Belanger <pabelanger@redhat.com>2019-08-09 14:03:18 -0400
committerPaul Belanger <pabelanger@redhat.com>2019-08-09 15:16:14 -0400
commitc841cad0ea6013aab5a0c5620d3b40d72ef5afc0 (patch)
tree71378646561c136f5a8ab5da4edfc064b23f51eb /plugins/modules/vyos_vlan.py
parent66a01fb3cdcedff9205b2295870a7e1629bbae69 (diff)
downloadvyos.vyos-c841cad0ea6013aab5a0c5620d3b40d72ef5afc0.tar.gz
vyos.vyos-c841cad0ea6013aab5a0c5620d3b40d72ef5afc0.zip
Add tox.ini file
Create a tox.ini file with linters entry point for developers to run linters locally. Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Diffstat (limited to 'plugins/modules/vyos_vlan.py')
-rw-r--r--plugins/modules/vyos_vlan.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/modules/vyos_vlan.py b/plugins/modules/vyos_vlan.py
index 7c3fa69..6c0fad8 100644
--- a/plugins/modules/vyos_vlan.py
+++ b/plugins/modules/vyos_vlan.py
@@ -153,7 +153,6 @@ def map_obj_to_commands(updates, module):
name = w["name"]
address = w["address"]
state = w["state"]
- interfaces = w["interfaces"]
obj_in_have = search_obj_in_list(vlan_id, have)
@@ -236,7 +235,6 @@ def map_params_to_obj(module):
def map_config_to_obj(module):
objs = []
- interfaces = list()
output = run_commands(module, "show interfaces")
lines = output[0].strip().splitlines()[3:]