mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-07-02 06:14:40 +02:00
Allow to differ on API paths based on RouterOS version (2/2) (#212)
* Allow to add versioned field for paths. * The field added in1aa41ad375
is RouterOS 7.7+. * The fields added in2e1159b4c4
are RouterOS 7.5+.
This commit is contained in:
parent
4b0995135c
commit
dcc1cf441d
4 changed files with 79 additions and 17 deletions
|
@ -9,7 +9,7 @@ __metaclass__ = type
|
|||
from ansible_collections.community.routeros.plugins.module_utils._api_data import PATHS
|
||||
|
||||
|
||||
FAKE_ROS_VERSION = '7.0.0'
|
||||
FAKE_ROS_VERSION = '7.5.0'
|
||||
|
||||
|
||||
class FakeLibRouterosError(Exception):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue