mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-21 09:35:45 +02:00
Allow to differ on API paths based on RouterOS version (1/2) (#209)
* Allow to provide definition for path based on API version.
* The paths added in 343c4883c0
are RouterOS 7+.
This commit is contained in:
parent
1ed4690240
commit
4b0995135c
7 changed files with 3158 additions and 2710 deletions
|
@ -9,7 +9,12 @@
|
|||
Updates DOCUMENTATION of modules using module_utils._api_data with the correct list of supported paths.
|
||||
'''
|
||||
|
||||
from plugins.module_utils._api_data import (
|
||||
import sys
|
||||
|
||||
# Ensure that we can import things from ansible_collections
|
||||
sys.path.append('../../..')
|
||||
|
||||
from ansible_collections.community.routeros.plugins.module_utils._api_data import (
|
||||
PATHS,
|
||||
join_path,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue