Allow to differ on API paths based on RouterOS version (2/2) (#212)

* Allow to add versioned field for paths.

* The field added in 1aa41ad375 is RouterOS 7.7+.

* The fields added in 2e1159b4c4 are RouterOS 7.5+.
This commit is contained in:
Felix Fontein 2023-09-01 23:17:47 +02:00 committed by GitHub
parent 4b0995135c
commit dcc1cf441d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 79 additions and 17 deletions

View file

@ -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):