mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-21 09:35:45 +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
|
@ -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(
|
||||
unversioned=VersionedAPIData(
|
||||
single_value=True,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue