Cleaned up the module imports
This commit is contained in:
parent
cda78382b6
commit
fed23d2f31
2 changed files with 5 additions and 3 deletions
|
@ -131,9 +131,11 @@ warnings:
|
||||||
type: list
|
type: list
|
||||||
sample: ['...', '...']
|
sample: ['...', '...']
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from ansible.module_utils.basic import get_exception
|
from ansible.module_utils.basic import get_exception
|
||||||
from ansible.module_utils.netcli import CommandRunner, FailedConditionsError
|
from ansible.module_utils.netcli import CommandRunner, FailedConditionsError
|
||||||
from ansible.module_utils.dnos10 import NetworkModule, NetworkError
|
from ansible.module_utils.network import NetworkModule, NetworkError
|
||||||
|
import ansible.module_utils.dnos10
|
||||||
|
|
||||||
def to_lines(stdout):
|
def to_lines(stdout):
|
||||||
for item in stdout:
|
for item in stdout:
|
||||||
|
|
|
@ -188,8 +188,8 @@ saved:
|
||||||
sample: True
|
sample: True
|
||||||
|
|
||||||
"""
|
"""
|
||||||
from ansible.module_utils.netcfg import NetworkConfig, dumps, ConfigLine
|
from ansible.module_utils.netcfg import NetworkConfig, dumps
|
||||||
from ansible.module_utils.dnos10 import NetworkModule
|
from ansible.module_utils.network import NetworkModule
|
||||||
from ansible.module_utils.dnos10 import get_config, get_sublevel_config
|
from ansible.module_utils.dnos10 import get_config, get_sublevel_config
|
||||||
|
|
||||||
def get_candidate(module):
|
def get_candidate(module):
|
||||||
|
|
Loading…
Reference in a new issue