mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Refactor common network shared and platform utils code into package (#33452)
* Refactor common network shared and platform specific code into package (part-1) As per proposal #76 refactor common network shared and platform specific code into sub-package. https://github.com/ansible/proposals/issues/76 * ansible.module_utils.network.common - command shared functions * ansible.module_utils.network.{{ platform }} - where platform is platform specific shared functions * Fix review comments * Fix review comments
This commit is contained in:
@@ -93,9 +93,9 @@ diff.prepared:
|
||||
import collections
|
||||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible.module_utils.junos import junos_argument_spec
|
||||
from ansible.module_utils.junos import load_config, map_params_to_obj, map_obj_to_ele
|
||||
from ansible.module_utils.junos import commit_configuration, discard_changes, locked_config
|
||||
from ansible.module_utils.network.junos.junos import junos_argument_spec
|
||||
from ansible.module_utils.network.junos.junos import load_config, map_params_to_obj, map_obj_to_ele
|
||||
from ansible.module_utils.network.junos.junos import commit_configuration, discard_changes, locked_config
|
||||
|
||||
try:
|
||||
from lxml.etree import tostring
|
||||
|
||||
Reference in New Issue
Block a user