From 5c6a97ae5052684aed513427f81dc1da96c094e3 Mon Sep 17 00:00:00 2001 From: Kate Case Date: Thu, 13 Oct 2022 13:11:19 -0400 Subject: Remove deprecated modules and provider (#277) * Remove deprecated modules and provider * Remove tests for removed modules * Remove references to vyos_argument_spec --- plugins/module_utils/network/vyos/vyos.py | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'plugins/module_utils') diff --git a/plugins/module_utils/network/vyos/vyos.py b/plugins/module_utils/network/vyos/vyos.py index 4ab36b9a..42fc57cc 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"): -- cgit v1.2.3