Update _api_data.py

This commit is contained in:
liquorice-head 2024-10-10 13:07:37 +04:00 committed by GitHub
parent 657c8c33f5
commit f9c09d6baf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1540,6 +1540,37 @@ PATHS = {
}, },
), ),
), ),
('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( ('interface', 'ovpn-client'): APIData(
unversioned=VersionedAPIData( unversioned=VersionedAPIData(
primary_keys=('name', ), primary_keys=('name', ),