mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-07-10 18:24:36 +02:00
Support name and is-responder properties on Wireguard peers (#304)
From the RouterOS 7.15 changelog: ``` *) wireguard - added option to mark peer as responder only; *) wireguard - added peer "name" field and display it in logs; ```
This commit is contained in:
parent
64ee613a0d
commit
6986e2fc25
2 changed files with 6 additions and 0 deletions
2
changelogs/fragments/304-wireguard-name-responder.yml
Normal file
2
changelogs/fragments/304-wireguard-name-responder.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
minor_changes:
|
||||||
|
- api_info, api_modify - add support for the ``name`` and ``is-responder`` properties under the ``interface wireguard peers`` path introduced in RouterOS 7.15 (https://github.com/ansible-collections/community.routeros/pull/304).
|
|
@ -2340,6 +2340,10 @@ PATHS = {
|
||||||
'preshared-key': KeyInfo(can_disable=True, remove_value=''),
|
'preshared-key': KeyInfo(can_disable=True, remove_value=''),
|
||||||
'public-key': KeyInfo(),
|
'public-key': KeyInfo(),
|
||||||
},
|
},
|
||||||
|
versioned_fields=[
|
||||||
|
([('7.15', '>=')], 'name', KeyInfo()),
|
||||||
|
([('7.15', '>=')], 'is-responder', KeyInfo()),
|
||||||
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
('interface', 'wireless'): APIData(
|
('interface', 'wireless'): APIData(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue