Rename Wireguard peer "is-responder" to "responder" for RouterOS 7.17 (#364)

RouterOS 7.17 renamed the `is-responder` property in
`/interface/wireguard/peers` to `responder`.
This commit is contained in:
hansmi 2025-04-20 21:48:26 +02:00 committed by GitHub
parent 4b9925ac23
commit 770e4d2c8d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- api_info, api_modify - rename ``is-responder`` property in ``interface wireguard peers`` to ``responder`` for RouterOS 7.17 and newer (https://github.com/ansible-collections/community.routeros/pull/364).

View file

@ -2441,7 +2441,8 @@ PATHS = {
},
versioned_fields=[
([('7.15', '>=')], 'name', KeyInfo()),
([('7.15', '>=')], 'is-responder', KeyInfo()),
([('7.15', '>='), ('7.17', '<')], 'is-responder', KeyInfo()),
([('7.17', '>=')], 'responder', KeyInfo()),
],
),
),