mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-28 20:40:24 +02:00
add l2tp client interface configuration support (#322)
* Update api_modify.py * Update api_info.py * Update _api_data.py * Create 322-add-l2tp-client-interface-configuration.yml * Update api_info.py * Update api_modify.py * Update _api_data.py * Update changelogs/fragments/322-add-l2tp-client-interface-configuration.yml Co-authored-by: Felix Fontein <felix@fontein.de> * Update _api_data.py --------- Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
22ff089787
commit
945e4d4d45
4 changed files with 36 additions and 0 deletions
|
@ -0,0 +1,2 @@
|
||||||
|
minor_changes:
|
||||||
|
- api_info, api_modify - add support ``interface l2tp-client`` configuration (https://github.com/ansible-collections/community.routeros/pull/322).
|
|
@ -1519,6 +1519,38 @@ PATHS = {
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
('interface', 'l2tp-client',): APIData(
|
||||||
|
unversioned=VersionedAPIData(
|
||||||
|
primary_keys=('name', ),
|
||||||
|
single_value=False,
|
||||||
|
fully_understood=True,
|
||||||
|
fields={
|
||||||
|
'add-default-route': KeyInfo(default=False),
|
||||||
|
'allow': KeyInfo(default='pap,chap,mschap1,mschap2'),
|
||||||
|
'allow-fast-path': KeyInfo(default=False),
|
||||||
|
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||||
|
'connect-to': KeyInfo(required=True),
|
||||||
|
'default-route-distance': KeyInfo(default=False),
|
||||||
|
'dial-on-demand': KeyInfo(default=False),
|
||||||
|
'disabled': KeyInfo(default=True),
|
||||||
|
'ipsec-secret': KeyInfo(default=''),
|
||||||
|
'keepalive-timeout': KeyInfo(default=60),
|
||||||
|
'l2tp-proto-version': KeyInfo(default='l2tpv2'),
|
||||||
|
'l2tpv3-cookie-length': KeyInfo(default=0),
|
||||||
|
'l2tpv3-digest-hash': KeyInfo(default='md5'),
|
||||||
|
'max-mru': KeyInfo(default=1450),
|
||||||
|
'max-mtu': KeyInfo(default=1450),
|
||||||
|
'mrru': KeyInfo(default='disabled'),
|
||||||
|
'name': KeyInfo(required=True),
|
||||||
|
'password': KeyInfo(),
|
||||||
|
'profile': KeyInfo(default='default-encryption'),
|
||||||
|
'src-address': KeyInfo(),
|
||||||
|
'use-ipsec': KeyInfo(default=False),
|
||||||
|
'use-peer-dns': KeyInfo(default=False),
|
||||||
|
'user': KeyInfo(required=True),
|
||||||
|
},
|
||||||
|
),
|
||||||
|
),
|
||||||
('interface', 'l2tp-server', 'server'): APIData(
|
('interface', 'l2tp-server', 'server'): APIData(
|
||||||
unversioned=VersionedAPIData(
|
unversioned=VersionedAPIData(
|
||||||
single_value=True,
|
single_value=True,
|
||||||
|
|
|
@ -69,6 +69,7 @@ options:
|
||||||
- interface ethernet switch port
|
- interface ethernet switch port
|
||||||
- interface gre
|
- interface gre
|
||||||
- interface gre6
|
- interface gre6
|
||||||
|
- interface l2tp-client
|
||||||
- interface l2tp-server server
|
- interface l2tp-server server
|
||||||
- interface list
|
- interface list
|
||||||
- interface list member
|
- interface list member
|
||||||
|
|
|
@ -78,6 +78,7 @@ options:
|
||||||
- interface ethernet switch port
|
- interface ethernet switch port
|
||||||
- interface gre
|
- interface gre
|
||||||
- interface gre6
|
- interface gre6
|
||||||
|
- interface l2tp-client
|
||||||
- interface l2tp-server server
|
- interface l2tp-server server
|
||||||
- interface list
|
- interface list
|
||||||
- interface list member
|
- interface list member
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue