mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-22 18:03:34 +02:00
Add '/interface ovpn-client' path (#244)
* Fixes #242: Add '/interface ovpn-client' path * Add changelog fragment * Update changelogs/fragments/244-add-interface-ovpn-client-path.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Johannes Münch <git@washiza.eu> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
a1492b4405
commit
4fff1f1bbb
4 changed files with 33 additions and 0 deletions
|
@ -0,0 +1,2 @@
|
||||||
|
minor_changes:
|
||||||
|
- api_info, api_modify - add ``interface ovpn-client`` path (https://github.com/ansible-collections/community.routeros/issues/242, https://github.com/ansible-collections/community.routeros/pull/244).
|
|
@ -1413,6 +1413,35 @@ PATHS = {
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
('interface', 'ovpn-client'): APIData(
|
||||||
|
unversioned=VersionedAPIData(
|
||||||
|
primary_keys=('name', ),
|
||||||
|
fully_understood=True,
|
||||||
|
fields={
|
||||||
|
'add-default-route': KeyInfo(default=False),
|
||||||
|
'auth': KeyInfo(default='sha1'),
|
||||||
|
'certificate': KeyInfo(),
|
||||||
|
'cipher': KeyInfo(default='blowfish128'),
|
||||||
|
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||||
|
'connect-to': KeyInfo(),
|
||||||
|
'disabled': KeyInfo(default=True),
|
||||||
|
'disconnect-notify': KeyInfo(),
|
||||||
|
'mac-address': KeyInfo(),
|
||||||
|
'max-mtu': KeyInfo(default=1500),
|
||||||
|
'mode': KeyInfo(default='ip'),
|
||||||
|
'name': KeyInfo(),
|
||||||
|
'password': KeyInfo(),
|
||||||
|
'port': KeyInfo(default=1194),
|
||||||
|
'profile': KeyInfo(default='default'),
|
||||||
|
'protocol': KeyInfo(default='tcp'),
|
||||||
|
'route-nopull': KeyInfo(default=False),
|
||||||
|
'tls-version': KeyInfo(default='any'),
|
||||||
|
'use-peer-dns': KeyInfo(default=True),
|
||||||
|
'user': KeyInfo(),
|
||||||
|
'verify-server-certificate': KeyInfo(default=False),
|
||||||
|
},
|
||||||
|
),
|
||||||
|
),
|
||||||
('interface', 'ovpn-server', 'server'): APIData(
|
('interface', 'ovpn-server', 'server'): APIData(
|
||||||
unversioned=VersionedAPIData(
|
unversioned=VersionedAPIData(
|
||||||
single_value=True,
|
single_value=True,
|
||||||
|
|
|
@ -71,6 +71,7 @@ options:
|
||||||
- interface l2tp-server server
|
- interface l2tp-server server
|
||||||
- interface list
|
- interface list
|
||||||
- interface list member
|
- interface list member
|
||||||
|
- interface ovpn-client
|
||||||
- interface ovpn-server server
|
- interface ovpn-server server
|
||||||
- interface ppp-client
|
- interface ppp-client
|
||||||
- interface pppoe-client
|
- interface pppoe-client
|
||||||
|
|
|
@ -80,6 +80,7 @@ options:
|
||||||
- interface l2tp-server server
|
- interface l2tp-server server
|
||||||
- interface list
|
- interface list
|
||||||
- interface list member
|
- interface list member
|
||||||
|
- interface ovpn-client
|
||||||
- interface ovpn-server server
|
- interface ovpn-server server
|
||||||
- interface ppp-client
|
- interface ppp-client
|
||||||
- interface pppoe-client
|
- interface pppoe-client
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue