summaryrefslogtreecommitdiff
path: root/plugins/modules
diff options
context:
space:
mode:
authorGomathiselviS <gomathiselvi@gmail.com>2020-08-26 15:49:42 -0400
committerGitHub <noreply@github.com>2020-08-26 19:49:42 +0000
commit1ae2bbffe70e5217536a05250365a4f44292c8ec (patch)
tree15bb2915fc2a59a799500b2f1eee87db01fe61f3 /plugins/modules
parenta69b936ac650fee178a5c07c74db6aeea739267a (diff)
downloadvyos-ansible-old-1ae2bbffe70e5217536a05250365a4f44292c8ec.tar.gz
vyos-ansible-old-1ae2bbffe70e5217536a05250365a4f44292c8ec.zip
Reformatted files with latest version of Black (20.8b1) (#80)
Reformatted files with latest version of Black (20.8b1) Reviewed-by: https://github.com/apps/ansible-zuul
Diffstat (limited to 'plugins/modules')
-rw-r--r--plugins/modules/vyos_banner.py3
-rw-r--r--plugins/modules/vyos_interface.py3
-rw-r--r--plugins/modules/vyos_l3_interface.py3
-rw-r--r--plugins/modules/vyos_linkagg.py3
-rw-r--r--plugins/modules/vyos_lldp.py3
-rw-r--r--plugins/modules/vyos_lldp_interface.py3
-rw-r--r--plugins/modules/vyos_logging.py3
-rw-r--r--plugins/modules/vyos_ping.py3
-rw-r--r--plugins/modules/vyos_static_route.py3
-rw-r--r--plugins/modules/vyos_user.py3
-rw-r--r--plugins/modules/vyos_vlan.py3
11 files changed, 11 insertions, 22 deletions
diff --git a/plugins/modules/vyos_banner.py b/plugins/modules/vyos_banner.py
index 8d1e5ff..9fcaf87 100644
--- a/plugins/modules/vyos_banner.py
+++ b/plugins/modules/vyos_banner.py
@@ -157,8 +157,7 @@ def map_params_to_obj(module):
def main():
- """ main entry point for module execution
- """
+ """main entry point for module execution"""
argument_spec = dict(
banner=dict(required=True, choices=["pre-login", "post-login"]),
text=dict(),
diff --git a/plugins/modules/vyos_interface.py b/plugins/modules/vyos_interface.py
index 21b0dc2..04fd85d 100644
--- a/plugins/modules/vyos_interface.py
+++ b/plugins/modules/vyos_interface.py
@@ -479,8 +479,7 @@ def check_declarative_intent_params(module, want, result):
def main():
- """ main entry point for module execution
- """
+ """main entry point for module execution"""
neighbors_spec = dict(host=dict(), port=dict())
element_spec = dict(
diff --git a/plugins/modules/vyos_l3_interface.py b/plugins/modules/vyos_l3_interface.py
index 25f24a6..88b5a91 100644
--- a/plugins/modules/vyos_l3_interface.py
+++ b/plugins/modules/vyos_l3_interface.py
@@ -302,8 +302,7 @@ def map_params_to_obj(module):
def main():
- """ main entry point for module execution
- """
+ """main entry point for module execution"""
element_spec = dict(
name=dict(),
ipv4=dict(),
diff --git a/plugins/modules/vyos_linkagg.py b/plugins/modules/vyos_linkagg.py
index 766a584..4320dd3 100644
--- a/plugins/modules/vyos_linkagg.py
+++ b/plugins/modules/vyos_linkagg.py
@@ -294,8 +294,7 @@ def map_params_to_obj(module):
def main():
- """ main entry point for module execution
- """
+ """main entry point for module execution"""
element_spec = dict(
name=dict(),
mode=dict(
diff --git a/plugins/modules/vyos_lldp.py b/plugins/modules/vyos_lldp.py
index feaf841..c1aaf5d 100644
--- a/plugins/modules/vyos_lldp.py
+++ b/plugins/modules/vyos_lldp.py
@@ -98,8 +98,7 @@ def has_lldp(module):
def main():
- """ main entry point for module execution
- """
+ """main entry point for module execution"""
argument_spec = dict(
interfaces=dict(type="list", elements="str"),
state=dict(
diff --git a/plugins/modules/vyos_lldp_interface.py b/plugins/modules/vyos_lldp_interface.py
index 911add0..b8bf91c 100644
--- a/plugins/modules/vyos_lldp_interface.py
+++ b/plugins/modules/vyos_lldp_interface.py
@@ -223,8 +223,7 @@ def map_params_to_obj(module):
def main():
- """ main entry point for module execution
- """
+ """main entry point for module execution"""
element_spec = dict(
name=dict(),
state=dict(
diff --git a/plugins/modules/vyos_logging.py b/plugins/modules/vyos_logging.py
index fa2f4c1..c7780d8 100644
--- a/plugins/modules/vyos_logging.py
+++ b/plugins/modules/vyos_logging.py
@@ -277,8 +277,7 @@ def map_params_to_obj(module, required_if=None):
def main():
- """ main entry point for module execution
- """
+ """main entry point for module execution"""
element_spec = dict(
dest=dict(
type="str", choices=["console", "file", "global", "host", "user"]
diff --git a/plugins/modules/vyos_ping.py b/plugins/modules/vyos_ping.py
index 0582c1f..64509fb 100644
--- a/plugins/modules/vyos_ping.py
+++ b/plugins/modules/vyos_ping.py
@@ -145,8 +145,7 @@ import re
def main():
- """ main entry point for module execution
- """
+ """main entry point for module execution"""
argument_spec = dict(
count=dict(type="int", default=5),
dest=dict(type="str", required=True),
diff --git a/plugins/modules/vyos_static_route.py b/plugins/modules/vyos_static_route.py
index 44d8f6b..3a96997 100644
--- a/plugins/modules/vyos_static_route.py
+++ b/plugins/modules/vyos_static_route.py
@@ -273,8 +273,7 @@ def map_params_to_obj(module, required_together=None):
def main():
- """ main entry point for module execution
- """
+ """main entry point for module execution"""
element_spec = dict(
prefix=dict(type="str"),
mask=dict(type="str"),
diff --git a/plugins/modules/vyos_user.py b/plugins/modules/vyos_user.py
index e20f146..4f67529 100644
--- a/plugins/modules/vyos_user.py
+++ b/plugins/modules/vyos_user.py
@@ -339,8 +339,7 @@ def update_objects(want, have):
def main():
- """ main entry point for module execution
- """
+ """main entry point for module execution"""
element_spec = dict(
name=dict(),
full_name=dict(),
diff --git a/plugins/modules/vyos_vlan.py b/plugins/modules/vyos_vlan.py
index 81f4de1..c04ac93 100644
--- a/plugins/modules/vyos_vlan.py
+++ b/plugins/modules/vyos_vlan.py
@@ -347,8 +347,7 @@ def check_declarative_intent_params(want, module, result):
def main():
- """ main entry point for module execution
- """
+ """main entry point for module execution"""
element_spec = dict(
vlan_id=dict(type="int"),
name=dict(),