Skip to content

Commit

Permalink
Update _api_data.py
Browse files Browse the repository at this point in the history
  • Loading branch information
liquorice-head authored Oct 10, 2024
1 parent 657c8c3 commit f9c09d6
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions plugins/module_utils/_api_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -1540,6 +1540,37 @@ def join_path(path):
},
),
),
('interface', 'l2tp-client',): APIData(
unversioned=VersionedAPIData(
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(),
'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(),
'password': KeyInfo(),
'profile': KeyInfo(default='default-encryption'),
'src-address': KeyInfo(),
'use-ipsec': KeyInfo(default=False),
'use-peer-dns': KeyInfo(default=False),
'user': KeyInfo(),
},
),
),
('interface', 'ovpn-client'): APIData(
unversioned=VersionedAPIData(
primary_keys=('name', ),
Expand Down

0 comments on commit f9c09d6

Please sign in to comment.