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