mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-26 06:31:23 -07:00
Network module cleanup (#17334)
* Clean up EOS, IOS, IOS-XR, Junos, NX-OS, and OpenSwitch * Cleanup net* files * Re-add NetworkModule import to network module_utils files This will trick modules into importing code from module_utils code, thus including it in the final Ansiballz zipfile. * Give asa a look over, too
This commit is contained in:
parent
9fe4308670
commit
972dc3fc97
9 changed files with 140 additions and 163 deletions
|
@ -19,10 +19,11 @@
|
|||
import re
|
||||
import shlex
|
||||
|
||||
import re
|
||||
from distutils.version import LooseVersion
|
||||
|
||||
from ansible.module_utils.pycompat24 import get_exception
|
||||
from ansible.module_utils.network import NetworkModule, NetworkError
|
||||
from ansible.module_utils.network import NetworkError, NetworkModule
|
||||
from ansible.module_utils.network import register_transport, to_list
|
||||
from ansible.module_utils.shell import CliBase
|
||||
from ansible.module_utils.six import string_types
|
||||
|
@ -307,4 +308,3 @@ def rpc_args(args):
|
|||
else:
|
||||
kwargs[key] = str(value)
|
||||
return (name, kwargs)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue