mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-21 09:35:45 +02:00
Add "interface ppp-client" to API data (#199)
The default values match those of RouterOS 7.11 on a Mikrotik RB924i-2nD-BT5&BG77 ("Knot"). Upstream documentation: https://help.mikrotik.com/docs/display/ROS/PPP Signed-off-by: Michael Hanselmann <public@hansmi.ch>
This commit is contained in:
parent
1aa41ad375
commit
2164261e09
4 changed files with 34 additions and 0 deletions
|
@ -298,6 +298,36 @@ PATHS = {
|
|||
'use-peer-dns': KeyInfo(),
|
||||
},
|
||||
),
|
||||
('interface', 'ppp-client'): APIData(
|
||||
fully_understood=True,
|
||||
primary_keys=('name', ),
|
||||
fields={
|
||||
'add-default-route': KeyInfo(default=True),
|
||||
'allow': KeyInfo(default='pap,chap,mschap1,mschap2'),
|
||||
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||
'data-channel': KeyInfo(default=0),
|
||||
'default-route-distance': KeyInfo(default=1),
|
||||
'dial-command': KeyInfo(default="ATDT"),
|
||||
'dial-on-demand': KeyInfo(default=True),
|
||||
'disabled': KeyInfo(default=True),
|
||||
'info-channel': KeyInfo(default=0),
|
||||
'keepalive-timeout': KeyInfo(default=30),
|
||||
'max-mru': KeyInfo(default=1500),
|
||||
'max-mtu': KeyInfo(default=1500),
|
||||
'modem-init': KeyInfo(default=''),
|
||||
'mrru': KeyInfo(default='disabled'),
|
||||
'name': KeyInfo(),
|
||||
'null-modem': KeyInfo(default=False),
|
||||
'password': KeyInfo(default=''),
|
||||
'phone': KeyInfo(default=''),
|
||||
'pin': KeyInfo(default=''),
|
||||
'port': KeyInfo(),
|
||||
'profile': KeyInfo(default='default'),
|
||||
'running': KeyInfo(default=False),
|
||||
'use-peer-dns': KeyInfo(default=True),
|
||||
'user': KeyInfo(default=''),
|
||||
},
|
||||
),
|
||||
('interface', 'pppoe-client'): APIData(
|
||||
fully_understood=True,
|
||||
primary_keys=('name', ),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue