summaryrefslogtreecommitdiff
path: root/plugins/module_utils
diff options
context:
space:
mode:
authorKate Case <kcase@redhat.com>2022-10-13 13:11:19 -0400
committerGitHub <noreply@github.com>2022-10-13 13:11:19 -0400
commit5c6a97ae5052684aed513427f81dc1da96c094e3 (patch)
tree62cf80483b7f46551fec0bbcc7f5c5b50db1b2a5 /plugins/module_utils
parent7712afd90de9a2b4f6d91f3fbea77de20d6ed40e (diff)
downloadvyos.vyos-5c6a97ae5052684aed513427f81dc1da96c094e3.tar.gz
vyos.vyos-5c6a97ae5052684aed513427f81dc1da96c094e3.zip
Remove deprecated modules and provider (#277)
* Remove deprecated modules and provider * Remove tests for removed modules * Remove references to vyos_argument_spec
Diffstat (limited to 'plugins/module_utils')
-rw-r--r--plugins/module_utils/network/vyos/vyos.py26
1 files changed, 0 insertions, 26 deletions
diff --git a/plugins/module_utils/network/vyos/vyos.py b/plugins/module_utils/network/vyos/vyos.py
index 4ab36b9..42fc57c 100644
--- a/plugins/module_utils/network/vyos/vyos.py
+++ b/plugins/module_utils/network/vyos/vyos.py
@@ -31,36 +31,10 @@ __metaclass__ = type
import json
from ansible.module_utils._text import to_text
-from ansible.module_utils.basic import env_fallback
from ansible.module_utils.connection import Connection, ConnectionError
_DEVICE_CONFIGS = {}
-vyos_provider_spec = {
- "host": dict(),
- "port": dict(type="int"),
- "username": dict(fallback=(env_fallback, ["ANSIBLE_NET_USERNAME"])),
- "password": dict(
- fallback=(env_fallback, ["ANSIBLE_NET_PASSWORD"]), no_log=True
- ),
- "ssh_keyfile": dict(
- fallback=(env_fallback, ["ANSIBLE_NET_SSH_KEYFILE"]), type="path"
- ),
- "timeout": dict(type="int"),
-}
-vyos_argument_spec = {
- "provider": dict(
- type="dict",
- options=vyos_provider_spec,
- removed_at_date="2022-06-01",
- removed_from_collection="vyos.vyos",
- )
-}
-
-
-def get_provider_argspec():
- return vyos_provider_spec
-
def get_connection(module):
if hasattr(module, "_vyos_connection"):